EdgeChat Context API
The Context API from EdgeChat — 1 operation(s) for context.
The Context API from EdgeChat — 1 operation(s) for context.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/edgechat-ai:edgechat-ai-context-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Edgepedia Context API
version: '1'
description: Read-only JSON access to the Edgepedia encyclopedia articles. Keyless. 600 requests a minute and 100,000 a day per IP address (429 with Retry-After past that). Free with credit under the Edgepedia Community License 1.0; AI training is open to everyone.
license:
name: Edgepedia Community License 1.0
url: https://www.edgechat.ai/edgepedia/license
contact:
url: https://www.edgechat.ai/developers
name: EdgeChat
email: olivia.jin@biostate.ai
x-logo:
url: https://www.edgechat.ai/assets/edgechat-chestnut-orange-logo-v2.png
altText: EdgeChat
backgroundColor: '#FFFFFF'
href: https://www.edgechat.ai/developers
x-origin:
- format: openapi
version: '3.1'
url: https://www.edgechat.ai/openapi.json
servers:
- url: https://www.edgechat.ai/api/v1
tags:
- name: Context
paths:
/context:
post:
operationId: postContext
summary: The structure among up to 50 articles
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ids:
type: array
maxItems: 50
items:
type: string
required:
- ids
example:
ids:
- ep7rbwcy0a
- epp06ktpsd
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PostContextResponse'
examples:
live:
summary: POST https://www.edgechat.ai/api/v1/context
description: 'A live answer of 2026-10-07 to {"ids": ["ep7rbwcy0a", "epp06ktpsd"]} (Koala, Kangaroo): arrays cut to two items, long text cut with an ellipsis. Addresses ("koala") are read as their articles'' ids.'
value:
asked: 2
found: 2
missing: []
complete: true
links: []
shared_neighbors:
- id: epgyp0jyge
slug: queensland
title: Queensland
topic: Places and geography
excerpt: Queensland is a state in northeastern Australia, the second-largest and third-most populous, with its capital at Brisbane. Separated from New South Wales in…
node: places.overviews.regions.geography_of_first_level_subnational_units.australian_state_territory_geography
linked_with: 2
url: https://www.edgechat.ai/queensland
api_url: https://www.edgechat.ai/api/v1/articles/queensland
- id: epaqq8e08s
slug: south-australia
title: South Australia
topic: Places and geography
excerpt: South Australia is a state in southern central Australia, with its capital at Adelaide, a population of about 1.9 million, and an area comparable to Egypt.
node: places.administrative.first.asian_provinces_other.east-asian-and-pacific-subdivisions
linked_with: 2
url: https://www.edgechat.ai/south-australia
api_url: https://www.edgechat.ai/api/v1/articles/south-australia
common_topic:
id: life.animals.mammals.monotremes-marsupials
label: Monotremes and marsupials
depth: 5
common_geo:
id: geo.other.nodate.life.animals.mammals.monotremes-marsupials
label: Monotremes and marsupials
depth: 7
leads:
- id: ep7rbwcy0a
slug: koala
title: Koala
topic: Life and health
excerpt: The koala (Phascolarctos cinereus), sometimes inaccurately called the koala bear, is an arboreal herbivorous marsupial native to eastern and southern…
node: life.animals.mammals.monotremes-marsupials
url: https://www.edgechat.ai/koala
api_url: https://www.edgechat.ai/api/v1/articles/koala
- id: epp06ktpsd
slug: kangaroo
title: Kangaroo
topic: Life and health
excerpt: A kangaroo is a large marsupial of the family Macropodidae, native to Australia and New Guinea. The four largest species include the red kangaroo, the largest…
node: life.animals.mammals.monotremes-marsupials
url: https://www.edgechat.ai/kangaroo
api_url: https://www.edgechat.ai/api/v1/articles/kangaroo
license:
name: Edgepedia Community License 1.0
url: https://www.edgechat.ai/edgepedia/license
summary: Free with credit, commercial use included. AI training is open to everyone. For other uses, organizations over USD 100M in revenue or 100M monthly users…
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
ETag:
$ref: '#/components/headers/ETag'
Last-Modified:
$ref: '#/components/headers/Last-Modified'
Content-Digest:
$ref: '#/components/headers/Content-Digest'
Edgepedia-Corpus-Version:
$ref: '#/components/headers/Edgepedia-Corpus-Version'
'400':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
parameters:
- $ref: '#/components/parameters/fields'
tags:
- Context
components:
headers:
RateLimit-Policy:
description: 'The limiter''s two windows, per IP address and per server instance (IETF RateLimit header fields): 600 requests a minute and 100,000 a day.'
schema:
type: string
example: '"minute";q=600;w=60, "day";q=100000;w=86400'
Content-Digest:
description: sha-256 of the body (RFC 9530).
schema:
type: string
Edgepedia-Corpus-Version:
description: The corpus release that answered.
schema:
type: string
Last-Modified:
description: The corpus release date (informational; only the ETag validates).
schema:
type: string
ETag:
description: A hash of the body; send it back as If-None-Match for a 304.
schema:
type: string
responses:
Error:
description: 'An error: { error: { code, message } }'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
PostContextResponse:
type: object
properties:
asked:
type: integer
found:
type: integer
missing:
type: array
items:
type: string
complete:
type: boolean
description: false when the time budget cut the link count short.
links:
type: array
items:
type: object
properties:
from:
type: string
to:
type: string
shared_neighbors:
type: array
items:
allOf:
- $ref: '#/components/schemas/ArticleSummary'
- type: object
properties:
linked_with:
type: integer
common_topic:
type:
- object
- 'null'
properties:
id:
type: string
label:
type: string
depth:
type: integer
description: The deepest topic every found article sits under; null when they share none.
common_geo:
type:
- object
- 'null'
properties:
id:
type: string
label:
type: string
depth:
type: integer
description: The deepest geography node every placed article sits on; null when none.
leads:
type: array
items:
$ref: '#/components/schemas/ArticleSummary'
license:
type: object
properties:
name:
type: string
url:
type: string
summary:
type: string
description: 'Shape read from a live answer of 2026-10-07; fields may be added, never renamed or removed. Every field is optional: an answer carries the fields of its own branch.'
ArticleSummary:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
topic:
type:
- string
- 'null'
description: The top-level branch of the topic tree the article is under. Its own topic is the last entry of the article's `topic_path`.
excerpt:
type: string
description: The corpus snippet when available, otherwise the article opening as plain text. Older listing excerpts may end in an ellipsis (…).
url:
type: string
format: uri
markdown_url:
type: string
format: uri
api_url:
type: string
format: uri
snippet:
type: string
description: Optional corpus-authored summary, separate from the article opening. Present on corpus-v1.5 articles and their preview results.
node:
type: string
description: Current concept-tree node of the article, when available. May change when the corpus tree is revised.
required:
- id
- slug
- title
- excerpt
- url
- markdown_url
- api_url
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
hint:
type: string
next:
type: string
format: uri
did_you_mean:
type: array
items:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
api_url:
type: string
required:
- code
- message
required:
- error
parameters:
fields:
name: fields
in: query
required: false
description: 'Comma-separated keys: each result (or the answer, when it has no results) keeps only these.'
schema:
type: string