Asendar™ developer and agent access
The Gap Between publishes one cited fact per page about the time between therapy sessions. The same facts are available read-only for apps and AI agents: free, no key, no sign-up, CORS open. Every fact links to its page and its study DOI. Please cite the page.
Endpoints
/openapi.json: OpenAPI 3.1 spec/api/gap/facts: List or search facts/api/gap/facts/{id}: One fact by id/gap/facts.json: Whole fact sheet (static)/gap/facts.md: Fact sheet as Markdown/mcp: MCP server (Streamable HTTP)/.well-known/mcp.json: MCP discovery card/llms.txt: Site guide for language models/llms-full.txt: Full site text
Examples
curl https://www.asendar.com/api/gap/facts?q=sleep&limit=3
curl https://www.asendar.com/api/gap/facts/why-does-progress-feel-slower-between-sessions
curl -X POST https://www.asendar.com/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Any page also answers in Markdown when you send Accept: text/markdown, or add .md to the path.
MCP tools
search_gap_facts: search by words and pillar.get_gap_fact: one fact by id, with citation and DOI.list_gap_pillars: topic pillars with counts.
Errors
Errors are JSON in the RFC 9457 application/problem+json shape, with a stable code such as fact_not_found, invalid_pillar or not_found.
Product documentation
Clinic and user guides live at /docs.