EdgeChat Graph API
The Graph API from EdgeChat — 2 operation(s) for graph.
The Graph API from EdgeChat — 2 operation(s) for graph.
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-graph-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 Graph 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: Graph
paths:
/graph/{slug}:
get:
operationId: getGraph
summary: An article's neighborhood subgraph
description: 'Nodes and the links among them. `complete: false` means the route''s time budget cut the answer short; such an answer is cached for a minute only.'
parameters:
- name: slug
in: path
required: true
description: The article address, such as koala.
schema:
type: string
example: koala
- name: depth
in: query
required: false
description: ''
schema:
type: integer
enum:
- 1
- 2
- name: limit
in: query
required: false
description: ''
schema:
type: integer
minimum: 2
maximum: 200
example: '10'
- name: format
in: query
required: false
description: json (default) or mermaid.
schema:
type: string
enum:
- json
- mermaid
- $ref: '#/components/parameters/fields'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GetGraphResponse'
examples:
live:
summary: GET https://www.edgechat.ai/api/v1/graph/koala?limit=10
description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis.'
value:
id: ep7rbwcy0a
slug: koala
title: Koala
depth: 1
limit: 10
neighbors: 7
complete: true
nodes:
- id: ep7rbwcy0a
slug: koala
title: Koala
topic: Life and health
depth: 0
url: https://www.edgechat.ai/koala
- 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 1859, it is nicknamed the Sunshine State.
node: places.overviews.regions.geography_of_first_level_subnational_units.australian_state_territory_geography
url: https://www.edgechat.ai/queensland
api_url: https://www.edgechat.ai/api/v1/articles/queensland
depth: 1
edges:
- from: ep7rbwcy0a
to: epgyp0jyge
anchor: Queensland
- from: ep7rbwcy0a
to: epaqq8e08s
anchor: South Australia
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 license separately.
text/plain:
schema:
type: string
description: 'format=mermaid: a Mermaid diagram as text.'
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'
'404':
$ref: '#/components/responses/Error'
'503':
$ref: '#/components/responses/Error'
tags:
- Graph
/graph:
get:
operationId: getGraphById
summary: An article's neighborhood subgraph (by id)
description: Nodes and the links among them.
parameters:
- name: id
in: query
schema:
type: string
description: The article's id (ep…), an older id, its address, or its title.
required: true
example: ep7rbwcy0a
- name: depth
in: query
required: false
description: ''
schema:
type: integer
enum:
- 1
- 2
- name: limit
in: query
required: false
description: ''
schema:
type: integer
minimum: 2
maximum: 200
example: '10'
- name: format
in: query
required: false
description: json (default) or mermaid.
schema:
type: string
enum:
- json
- mermaid
- $ref: '#/components/parameters/fields'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GetGraphResponse'
examples:
live:
summary: GET https://www.edgechat.ai/api/v1/graph/koala?limit=10
description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis. The same answer as ?id= with the article''s id.'
value:
id: ep7rbwcy0a
slug: koala
title: Koala
depth: 1
limit: 10
neighbors: 7
complete: true
nodes:
- id: ep7rbwcy0a
slug: koala
title: Koala
topic: Life and health
depth: 0
url: https://www.edgechat.ai/koala
- 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 1859, it is nicknamed the Sunshine State.
node: places.overviews.regions.geography_of_first_level_subnational_units.australian_state_territory_geography
url: https://www.edgechat.ai/queensland
api_url: https://www.edgechat.ai/api/v1/articles/queensland
depth: 1
edges:
- from: ep7rbwcy0a
to: epgyp0jyge
anchor: Queensland
- from: ep7rbwcy0a
to: epaqq8e08s
anchor: South Australia
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 license separately.
text/plain:
schema:
type: string
description: 'format=mermaid: a Mermaid diagram as text.'
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'
'404':
$ref: '#/components/responses/Error'
'503':
$ref: '#/components/responses/Error'
tags:
- Graph
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:
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
GetGraphResponse:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
depth:
type: integer
limit:
type: integer
neighbors:
type: integer
complete:
type: boolean
description: 'false when the route''s time budget (about a second) cut the answer short: fewer results or edges, or importance by in-degree alone. Such an answer is cached for a minute only.'
nodes:
type: array
items:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
topic:
type: string
depth:
type: integer
url:
type: string
excerpt:
type: string
node:
type: string
api_url:
type: string
edges:
type: array
items:
type: object
properties:
from:
type: string
to:
type: string
anchor:
type: string
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.'
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