Skip to main content
GET
TypeScript SDK
Retrieves a database object — a container for one or more data sources — for a provided database ID. The response adheres to any limits to a connection’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 32-character alphanumeric string between the slash following the workspace name (if applicable) and the question mark.
Notion database ID
Refer to the Working with databases guide for more details.

Errors

Returns a 404 HTTP response if the database doesn’t exist or if the connection doesn’t have access to it. 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 2026-03-11.

Available options:
2026-03-11

Path Parameters

database_id
string
required

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

Response

object
string
required

The database object type name.

Allowed value: "database"
id
string<uuid>
required

The ID of the database.