EdgeChat Compare API
The Compare API from EdgeChat — 1 operation(s) for compare.
The Compare API from EdgeChat — 1 operation(s) for compare.
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-compare-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 Compare 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: Compare
paths:
/compare:
get:
operationId: getCompare
summary: Two articles side by side
description: Leads, topic paths, shared topic, the chain between them, shared and distinct links, Key facts tables.
parameters:
- name: a
in: query
required: true
description: ''
schema:
type: string
example: koala
- name: b
in: query
required: true
description: ''
schema:
type: string
example: kangaroo
- $ref: '#/components/parameters/fields'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GetCompareResponse'
examples:
live:
summary: GET https://www.edgechat.ai/api/v1/compare?a=koala&b=kangaroo
description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis.'
value:
a:
id: ep7rbwcy0a
slug: koala
title: Koala
excerpt: The koala (Phascolarctos cinereus), sometimes inaccurately called the koala bear, is an arboreal herbivorous marsupial native to eastern and southern Australia that eats almost nothing but eucalypt leaves.
topic_path:
- id: life
label: Life and health
- id: life.animals
label: Animals
facts: []
url: https://www.edgechat.ai/koala
b:
id: epp06ktpsd
slug: kangaroo
title: Kangaroo
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 surviving marsupial in the world.
topic_path:
- id: life
label: Life and health
- id: life.animals
label: Animals
facts: []
url: https://www.edgechat.ai/kangaroo
common_topic:
id: life.animals.mammals.monotremes-marsupials
label: Monotremes and marsupials
path:
found: false
reason: none
links:
shared:
- id: epgyp0jyge
slug: queensland
title: Queensland
url: https://www.edgechat.ai/queensland
- id: epaqq8e08s
slug: south-australia
title: South Australia
url: https://www.edgechat.ai/south-australia
only_a:
- id: ep0mbqwp7d
slug: diprotodontia
title: Diprotodontia
url: https://www.edgechat.ai/diprotodontia
- id: epbre3y00r
slug: eucalyptus
title: Eucalyptus
url: https://www.edgechat.ai/eucalyptus
only_b:
- id: ep8sefdw73
slug: macropodidae
title: Macropodidae
url: https://www.edgechat.ai/macropodidae
- id: epjbj76f92
slug: new-guinea
title: New Guinea
url: https://www.edgechat.ai/new-guinea
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.
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:
- Compare
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
GetCompareResponse:
type: object
properties:
a:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
excerpt:
type: string
topic_path:
type: array
items:
type: object
properties:
id:
type: string
label:
type: string
facts:
type: array
items: {}
url:
type: string
b:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
excerpt:
type: string
topic_path:
type: array
items:
type: object
properties:
id:
type: string
label:
type: string
facts:
type: array
items: {}
url:
type: string
common_topic:
type: object
properties:
id:
type: string
label:
type: string
path:
type: object
properties:
found:
type: boolean
reason:
type: string
links:
type: object
properties:
shared:
type: array
items:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
url:
type: string
only_a:
type: array
items:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
url:
type: string
only_b:
type: array
items:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
url:
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