EdgeChat Random API
The Random API from EdgeChat — 1 operation(s) for random.
The Random API from EdgeChat — 1 operation(s) for random.
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-random-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 Random 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: Random
paths:
/random:
get:
operationId: randomArticle
summary: One random article
parameters:
- name: new
in: query
description: 1 = pick from the newest articles only.
schema:
type: string
enum:
- '1'
- name: topic
in: query
schema:
type: string
description: Only an article under this topic id.
- name: geo
in: query
schema:
type: string
description: Only an article on this geography node.
- $ref: '#/components/parameters/fields'
responses:
'200':
description: A random article
content:
application/json:
schema:
$ref: '#/components/schemas/RandomArticleResponse'
examples:
live:
summary: GET https://www.edgechat.ai/api/v1/random
description: 'A live answer of 2026-10-07: arrays cut to two items, long text cut with an ellipsis.'
value:
result:
id: epfecpn56z
slug: sikorsky-ch-53e-super-stallion
title: Sikorsky CH-53E Super Stallion
topic: Technology and the built world
excerpt: The Sikorsky CH-53E Super Stallion, company designation S-80, is a three-engine heavy-lift helicopter serving the US Marine Corps since 1981, carrying up to 55 troops.
snippet: The Sikorsky CH-53E Super Stallion, company designation S-80, is a three-engine heavy-lift helicopter serving the US Marine Corps since 1981, carrying up to 55 troops.
node: technology.transport.air.aircraft.helicopter-types.sikorsky-helicopters
url: https://www.edgechat.ai/sikorsky-ch-53e-super-stallion
markdown_url: https://www.edgechat.ai/sikorsky-ch-53e-super-stallion.md
api_url: https://www.edgechat.ai/api/v1/articles/sikorsky-ch-53e-super-stallion
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/UnknownParameter'
'405':
$ref: '#/components/responses/MethodNotAllowed'
'429':
description: An error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
RateLimit:
$ref: '#/components/headers/RateLimit'
Retry-After:
description: Seconds to wait before the next request.
schema:
type: integer
'503':
description: Briefly unavailable; try again
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
tags:
- Random
components:
responses:
MethodNotAllowed:
description: '`method_not_allowed`: the API is read-only; use GET or HEAD (OPTIONS answers CORS preflights). The `Allow` header lists the methods.'
headers:
Allow:
schema:
type: string
description: GET, HEAD, OPTIONS
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
UnknownParameter:
description: '`unknown_parameter`: the request carries a query parameter this route does not read (or one given twice). Each route reads only the parameters listed for it.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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'
RateLimit:
description: 'On a 429 only: the window that was exceeded, no requests remaining (r=0), and the seconds until it resets (t).'
schema:
type: string
example: '"minute";r=0;t=42'
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
schemas:
RandomArticleResponse:
type: object
properties:
result:
$ref: '#/components/schemas/ArticleSummary'
license:
$ref: '#/components/schemas/License'
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
License:
type: object
properties:
name:
type: string
url:
type: string
format: uri
summary:
type: string
spdx:
type: string
example: LicenseRef-Edgepedia-Community-1.0
required:
- name
- url
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