provider Databases POST /v1/databases/{id}/query
@utdk/notion /v1/databases/{id}/query
Query a database
Query a database
id path required
string
Notion-Version header
string

Try it

Authentication
Configure credentials for Notion API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

queryadatabase
POST/v1/databases/{id}/query
Query a database

Parameters

required

Input

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import notion from '@utdk/notion';

await notion.queryadatabase()