Notion logo

Notion

SandBaseapi

Published June 20, 2026

About

Access the full Notion API through OAuth. Search pages, create databases, manage blocks, and automate your knowledge base — powered by Nango Connector Gateway.

Documentation

Notion Connector

Access the full Notion API through OAuth. Search pages, query databases, create content, and manage your workspace programmatically.

Pricing

OperationPrice
Successful API call (2xx)$0.001
Failed call (4xx/5xx)Free

Quick Test (curl)

# Search pages and databases
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"notion","endpoint":"/v1/search","method":"POST","body":{"query":"meeting notes"}}'

# Get current user
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"notion","endpoint":"/v1/users/me","method":"GET"}'

# Get a database
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"notion","endpoint":"/v1/databases/your-database-id","method":"GET"}'

# Create a page in a database
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"notion","endpoint":"/v1/pages","method":"POST","body":{"parent":{"database_id":"your-db-id"},"properties":{"Name":{"title":[{"text":{"content":"New Page"}}]}}}}'

Request Format

POST /v1/run
{
  "model": "notion",
  "endpoint": "/v1/search",
  "method": "POST",
  "params": {},
  "headers": {},
  "body": {"query": "search term"},
  "retries": 0
}

Common Endpoints

MethodEndpointDescription
POST/v1/searchSearch pages and databases
GET/v1/users/meCurrent user info
GET/v1/databases/{id}Get database schema
POST/v1/databases/{id}/queryQuery database rows
POST/v1/pagesCreate a page
PATCH/v1/pages/{id}Update page properties
GET/v1/blocks/{id}/childrenGet block children

📖 Full API reference: Notion API Reference

Technical Specs

SpecValue
AuthOAuth 2.0 (integration-level)
ProxyNango (auto token refresh)
ExecutionSync
Rate limitInherits Notion's 3 req/sec per integration

Try Notion

Test this model in the Sandbase Playground with your own prompts.

Open in Playground