Skip to main content
The Notion replica implements 19 endpoints of the Notion API, version 2025-09-03, for an internal integration: it sees only the pages shared with it, as Notion does. Its key is notion. It was tested with @notionhq/client.

Connect

Node
This is what ancha connect notion --lang ts prints. Send Notion-Version: 2025-09-03, as the current client does; requests with an older version are coverage gaps, because databases are served as data sources.

Endpoints

Anything else returns HTTP 501 with Notion’s error shape and x-ancha-gap: 1.

Starter data

The notion-starter dataset is the workspace Acme, with the integration Ancha and eight users: Ben Carter, Ellen Price, Greg Wilson, Rachel Moore, Laura Kim, Mike Turner, Tom Hughes and Victor Lane. ancha sandbox configuration --tools notion --json prints every block and row.

Checks

Notion has no state checks. Use trace checks, for example { called: "POST /v1/pages" } or { not_called: "DELETE /v1/blocks/*" }.

Limits

  • An internal integration: it sees only pages shared with it, as Notion does.
  • Text, heading, list, to-do, toggle, quote, callout, code, divider and bookmark blocks; images, files, tables, synced blocks, relations, rollups, formulas and markdown endpoints are gaps.
  • Requests with a Notion-Version before 2025-09-03 are coverage gaps: databases are served as data sources.