Skip to main content
GET
/
v1
/
databases
/
{database_id}
Retrieve a database
curl --request GET \
  --url https://api.notion.com/v1/databases/{database_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Notion-Version: <notion-version>'
{
  "object": "<unknown>",
  "message": "<string>",
  "code": "invalid_json",
  "status": "<unknown>",
  "additional_data": {}
}
Retrieves a database object — a container for one or more data sources — for a provided database ID. The response adheres to any limits to an integration’s capabilities. The most important fields in the database object response to highlight: To find a database ID, navigate to the database URL in your Notion workspace. The ID is the string of characters in the URL that is between the slash following the workspace name (if applicable) and the question mark. The ID is a 32 characters alphanumeric string.
Notion database ID
Refer to the Build your first integration guide for more details.

Errors

Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.

Additional resources

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The API version to use for this request. The latest version is 2025-09-03.

Available options:
2025-09-03

Path Parameters

database_id
string
required

ID of a Notion database, a container for one or more data sources.

Response

object
any
required
message
string
required
code
enum<string>
required
Available options:
invalid_json,
invalid_request_url,
invalid_request,
missing_version,
validation_error
status
any
required
additional_data
object