Verified Handles History API
Every revision of an entry: the history kept from the old wiki and each edit made since.
Every revision of an entry: the history kept from the old wiki and each edit made since.
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/verifiedhandles-org:verifiedhandles-org-history-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Verified Handles History API
version: 1.6.0
description: 'Verified Handles as data: every public entry, its handles and images, its history, and search. It answers with the same data as the pages, built by the same code. Entry text is CC0, except a description taken from Wikipedia, which is CC BY-SA 4.0 (`description_license`): where you show it, show the article (`description_source.url`), the licence by name with a link (CC BY-SA 4.0), and “adapted from” when `description_source.adapted` is true, and share alike. Images are licensed by their owners, and each says how (`image_rights`). Email addresses are never published as data.
**Keys.** An entry answers to its VHID (11 digits, permanent), its short name, or an old name.
**Paging.** Lists page by `limit` and `offset`; follow `next_offset` until it is null. Offsets stop at 10,000: past that they are clamped, silently.
**Caching.** Responses say how long they may be kept (`Cache-Control`, and `x-cache` on each operation). An entry carries a strong ETag: send it back as `If-None-Match` and an unchanged entry answers 304.
**Cross-origin.** `/api/v1` answers any origin (`Access-Control-Allow-Origin: *`, GET only, no credentials). The `.json` addresses beside the pages are same-origin.
**Rate limit.** 120 requests a minute per IP address across the JSON reads; past it, a 429 with `Retry-After`.
**Errors** are JSON: `{"error": ""}`, with a field or two more where they help.'
license:
name: CC0 1.0 (entry text, except a description taken from Wikipedia, which is CC BY-SA 4.0; images are licensed separately)
identifier: CC0-1.0
servers:
- url: https://verifiedhandles.org
tags:
- name: History
description: 'Every revision of an entry: the history kept from the old wiki and each edit made since.'
paths:
/api/v1/entities/{vhid}/history:
get:
operationId: getEntityHistory
tags:
- History
summary: Get an entry’s revision history
description: 'The entry’s public revision history, newest first, a page at a time: the history kept from the old wiki and every edit made since. Hidden and deleted revisions are never listed, and an editor is named only if they chose to be. A merged entry’s key answers with that entry’s own history, and `merged_into` names the entry it became. An entry whose history has been hidden answers 404.
Any origin may read it: `Access-Control-Allow-Origin: *`, methods GET and OPTIONS, no credentials. An `OPTIONS` preflight answers 204. No key is needed. A request that sends one (`Authorization: Bearer`) has it checked, so a wrong, revoked or expired key is refused 401, and is counted against the key’s read limit; it gets the same answer, marked `no-store`.'
parameters:
- name: vhid
in: path
required: true
description: The entry’s VHID (11 digits), its short name, or one of its old names. Short names are matched exactly.
schema:
type: string
minLength: 1
maxLength: 255
example: '53500361835'
- name: limit
in: query
required: false
description: How many revisions a page holds. Out of range is clamped; anything else non-numeric reads as the default.
schema:
default: 100
type: integer
minimum: 1
maximum: 200
- name: offset
in: query
required: false
description: How many revisions to skip. Clamped to 0–10,000.
schema:
default: 0
type: integer
minimum: 0
maximum: 10000
responses:
'200':
description: A page of the history.
content:
application/json:
schema:
$ref: '#/components/schemas/EntityHistory'
examples:
firstPage:
summary: The first page, two revisions to a page
description: GET /api/v1/entities/james/history?limit=2
value:
vhid: '53500361835'
limit: 2
offset: 0
next_offset: null
history:
- ref_id: r1
kind: forward
ts: '2026-09-19T12:00:00.000Z'
actor: null
summary: null
is_bot: true
source: import
hidden: false
deleted: false
proposer: null
actor_id: null
proposer_id: null
'404':
description: No public entry answers to that key, or its history is hidden.
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
'429':
description: Too many requests from this IP address in the last minute (an admin key’s are counted per key instead, at the limits set on Console → Rate limits). Wait the number of seconds `retry_after` gives, which `Retry-After` also gives. Never cached.
headers:
Retry-After:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
type: object
properties:
error:
type: string
const: rate_limited
retry_after:
type: integer
minimum: 0
maximum: 9007199254740991
description: Seconds until the window resets.
required:
- error
- retry_after
additionalProperties: false
'503':
description: 'The site is down for maintenance. The body is the maintenance page, as HTML. Try again later: `Retry-After` gives the seconds.'
content:
text/html: {}
security: []
x-audience: public
x-capability: null
x-read-only-key: true
x-auth: ignored
x-rate-limit:
bucket: json
max: 120
window_seconds: 60
per: IP address
x-cache:
cache-control: public, max-age=0, s-maxage=300, stale-while-revalidate=300
surrogate-keys:
- entity:<vhid>
- entity:<merged_into>
etag: false
notes: Shared caches keep it for 5 minutes, and an edit purges it at once. Browsers revalidate on every request. A merged entry’s history also carries the surrogate key of the entry it was merged into.
x-cors: true
/api/v1/entities/{vhid}/history/{ref_id}:
get:
operationId: getEntityRevision
tags:
- History
summary: Get one revision, with what it changed
description: 'One revision of the entry’s public history: its row in the history, and `changes`, each field, handle and image it changed, in the shape of a review item’s `changes`. A revision kept from the old wiki changed wikitext, not fields: it says `legacy: true`, with no changes. The same rules as the history: a hidden or deleted revision, or one of an entry whose history has been hidden, answers 404, an editor is named only if they chose to be, and a merged entry’s key answers with that entry’s own revision, `merged_into` naming the entry it became. `changes` names an image by its media id; `image_urls` gives each one’s picture, as the site’s revision page draws it.
Any origin may read it: `Access-Control-Allow-Origin: *`, methods GET and OPTIONS, no credentials. An `OPTIONS` preflight answers 204. No key is needed. A request that sends one (`Authorization: Bearer`) has it checked, so a wrong, revoked or expired key is refused 401, and is counted against the key’s read limit; it gets the same answer, marked `no-store`.'
parameters:
- name: vhid
in: path
required: true
description: The entry’s VHID (11 digits), its short name, or one of its old names. Short names are matched exactly.
schema:
type: string
minLength: 1
maxLength: 255
example: '53500361835'
- name: ref_id
in: path
required: true
description: 'The revision’s `ref_id` from the history: `a<n>` kept from the old wiki, `r<n>` made since.'
schema:
type: string
pattern: ^[ar]\d{1,18}$
example: r9000000101
responses:
'200':
description: The revision.
headers:
ETag:
description: The version of this representation.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/EntityRevision'
examples:
forward:
summary: An edit that set a field
description: GET /api/v1/entities/netflix/history/r9000000101
value:
vhid: '10000000002'
ref_id: r9000000101
kind: forward
ts: '2026-10-05T12:00:00.000Z'
actor: null
summary: Added the subtitle
is_bot: false
source: admin
hidden: false
deleted: false
proposer: null
actor_id: null
proposer_id: null
legacy: false
changes:
- field: subtitle
op: set
before: null
after: Streaming service
image_urls: {}
'304':
description: Unchanged since the ETag sent in `If-None-Match`. No body.
'404':
description: No public entry answers to that key, its history is hidden, or it has no such public revision.
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
examples:
notFound:
summary: A revision the entry has not got, or not in public
description: GET /api/v1/entities/netflix/history/r0
value:
error: not_found
'429':
description: Too many requests from this IP address in the last minute (an admin key’s are counted per key instead, at the limits set on Console → Rate limits). Wait the number of seconds `retry_after` gives, which `Retry-After` also gives. Never cached.
headers:
Retry-After:
description: Seconds until the window resets.
schema:
type: string
content:
application/json:
schema:
type: object
properties:
error:
type: string
const: rate_limited
retry_after:
type: integer
minimum: 0
maximum: 9007199254740991
description: Seconds until the window resets.
required:
- error
- retry_after
additionalProperties: false
'503':
description: 'The site is down for maintenance. The body is the maintenance page, as HTML. Try again later: `Retry-After` gives the seconds.'
content:
text/html: {}
security: []
x-audience: public
x-capability: null
x-read-only-key: true
x-auth: ignored
x-rate-limit:
bucket: json
max: 120
window_seconds: 60
per: IP address
x-cache:
cache-control: public, max-age=86400, s-maxage=86400
surrogate-keys:
- entity:<vhid>
- entity:<merged_into>
etag: true
notes: 'A revision never changes, so caches may keep it for a day; hiding it, or the history, purges it at once. A strong ETag: send it back as `If-None-Match` and it answers 304, with no body.'
x-cors: true
/{key}/history.json:
get:
operationId: getEntityHistoryJson
tags:
- History
summary: Get an entry’s history, at its history page’s address
description: 'The entry’s public revision history as its history page shows it: newest first, 50 to a page, by page number. `GET /api/v1/entities/{vhid}/history` gives the same revisions with `limit` and `offset` instead. An old name redirects (301) to the same address under the entry’s canonical key, query kept. A merged entry’s key answers with that entry’s own history, and `merged_into` names the entry it became. An entry whose history has been hidden answers 403 `history_hidden`, saying how to ask for it through the contact page.
Same-origin only: it sends no CORS headers. A key is not needed. One that is sent is checked: a bad one is refused (400 or 401) before the route runs, and a good one makes the answer private (`Cache-Control: no-store`, `Vary: Authorization`).'
parameters:
- name: key
in: path
required: true
description: The entry’s VHID (11 digits), its short name, or one of its old names. Short names are matched exactly.
schema:
type: string
minLength: 1
maxLength: 255
example: james
- name: p
in: query
required: false
description: 'The page, from 1 to 201: the list reads no further than its first 10,000 revisions, as `GET /api/v1/entities/{vhid}/history` does. Anything below 1 or non-numeric reads as 1; a page past 201 answers as page 202, with an empty `history` and `hasMore` false.'
schema:
default: 1
type: integer
minimum: 1
maximum: 201
responses:
'200':
description: A page of the history.
content:
application/json:
schema:
$ref: '#/components/schemas/EntityHistoryPage'
examples:
firstPage:
summary: The first page
description: GET /james/history.json
value:
vhid: '53500361835'
key: james
page: 1
hasMore: false
history:
- ref_id: r1
kind: forward
ts: '2026-09-19T12:00:00.000Z'
actor: null
summary: null
is_bot: true
source: import
hidden: false
deleted: false
proposer: null
actor_id: null
proposer_id: null
'301':
description: 'The key is an old name: the same request under the entry’s canonical key.'
headers:
Location:
description: The canonical address, query kept.
schema:
type: string
'400':
description: A key and a session cookie were both sent.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'401':
description: The key sent was refused.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'403':
description: 'The entry’s history is hidden: not public, and how to ask for it.'
content:
application/json:
schema:
$ref: '#/components/schemas/HistoryHidden'
'404':
description: No public entry answers to that key.
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
'429':
description: Too many requests from this IP address in the last minute (at a route that takes a key, an admin key’s are counted per key instead, at the limits set on Console → Rate limits). Wait the number of seconds `Retry-After` gives.
headers:
Retry-After:
description: Seconds until the window resets.
schema:
type: string
content:
text/plain:
schema:
type: string
const: Too Many Requests
'503':
description: 'The site is down for maintenance. The body is the maintenance page, as HTML. Try again later: `Retry-After` gives the seconds.'
content:
text/html: {}
security:
- {}
- bearerAuth: []
x-audience: public
x-capability: null
x-read-only-key: true
x-auth: optional
x-rate-limit:
bucket: json
max: 120
window_seconds: 60
per: IP address
x-cache:
cache-control: public, max-age=0, s-maxage=300, stale-while-revalidate=300
surrogate-keys:
- entity:<vhid>
- entity:<merged_into>
etag: false
notes: 'Shared caches keep it for 5 minutes, and an edit purges it at once. Browsers revalidate on every request. `Vary: Accept`; the representation is chosen by the address, never by `Accept`.'
x-cors: false
components:
schemas:
ApiKeyRefusal:
type: object
properties:
error:
type: string
enum:
- api_keys_disabled
- app_sessions_disabled
- app_scope
- session_required
- bearer_with_cookie
- bearer_not_accepted_here
- invalid_api_key
- invalid_token
- api_key_revoked
- api_key_expired
- api_key_not_permitted
- read_only_key
- authorization_not_bearer
description: '`invalid_api_key`: the key is malformed or unknown. `api_key_revoked` / `api_key_expired`: it no longer works. `api_key_not_permitted`: its holder may no longer use keys. `bearer_with_cookie`: a request sent both a key and a session cookie (send one). `read_only_key`: a read-only key tried to write. `api_keys_disabled`: this instance accepts no keys. `bearer_not_accepted_here`: the sign-in routes refuse keys. `invalid_token`: an OAuth access token (`vho_…`) is malformed, unknown, superseded or past its hour, or was sent somewhere other than the MCP address it was issued for (then `error_description` names that address), or the Verified Handles app''s access token (`vha_…`) is unknown, past its hour (refresh it), or its sign-in has ended. `app_sessions_disabled`: this instance accepts no app sign-ins. `app_scope` (403): an app token was sent to an operation outside the app''s contract. `session_required` (403): only a signed-in browser may do this. `authorization_not_bearer`: a read sent an `Authorization` header that is not `Bearer` (send a key as `Authorization: Bearer`, or no header).'
error_description:
description: 'With `invalid_token` for a token sent to the wrong address: which address it is for. With `authorization_not_bearer`: what to send instead.'
type: string
required:
- error
additionalProperties: false
description: 'A request whose `Authorization` header the key check refused: a `Bearer` key or token that does not work, or, on a read, another scheme. Nothing ran.'
Revision:
type: object
properties:
ref_id:
type: string
pattern: ^[ar]\d+$
description: 'The revision’s id: `a<n>` for the history kept from the old wiki, `r<n>` for an edit made since.'
kind:
type: string
enum:
- archive
- forward
description: '`archive`: from the old wiki. `forward`: made on Verified Handles.'
ts:
anyOf:
- type: string
format: date-time
- type: 'null'
description: When it was made.
actor:
description: Who made it, as they chose to be named in public; null when they keep their name private.
type:
- string
- 'null'
summary:
description: The edit summary.
type:
- string
- 'null'
is_bot:
description: 'Made by an automated process: the Wikidata sync, an import, or an account an administrator has marked as automation (a script or agent). A legacy (archive) revision keeps the old wiki’s own flag.'
type:
- boolean
- 'null'
source:
type: string
enum:
- import
- mediawiki
- sync
- admin
- trusted
- submission
- claim
description: How the edit was made.
hidden:
type: boolean
const: false
description: 'Always false here: a hidden revision is never in the public history.'
deleted:
type: boolean
const: false
description: 'Always false here: a deleted revision is never in the public history.'
proposer:
description: For an approved proposal, who proposed it, as they chose to be named; null otherwise.
type:
- string
- 'null'
actor_id:
description: An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.
type:
- string
- 'null'
proposer_id:
description: An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.
type:
- string
- 'null'
required:
- ref_id
- kind
- ts
- actor
- summary
- is_bot
- source
- hidden
- deleted
- proposer
- actor_id
- proposer_id
additionalProperties: false
description: One revision in an entry’s public history.
EntityHistoryPage:
type: object
properties:
vhid:
type: string
pattern: ^\d{11}$
description: 'The entry’s VHID: 11 digits, permanent.'
key:
type: string
description: 'The entry’s canonical key: its short name, or its VHID when it has none.'
merged_into:
description: 'Present when the entry was merged into another: that entry’s VHID. The history is still the merged entry’s own.'
type: string
pattern: ^\d{11}$
page:
type: integer
minimum: 1
maximum: 9007199254740991
description: The page, 50 revisions each.
hasMore:
type: boolean
description: There is a next page (`?p=` one more).
history:
type: array
items:
$ref: '#/components/schemas/Revision'
description: Newest first.
required:
- vhid
- key
- page
- hasMore
- history
additionalProperties: false
description: 'A page of an entry’s public history, as its history page shows it: 50 a page, by page number.'
NotFound:
type: object
properties:
error:
type: string
const: not_found
required:
- error
additionalProperties: false
description: Nothing public answers to that key, or the part asked for is not public.
EntityHistory:
type: object
properties:
vhid:
type: string
pattern: ^\d{11}$
description: 'The entry’s VHID: 11 digits, permanent.'
merged_into:
description: 'Present when the entry was merged into another: that entry’s VHID. The history is still the merged entry’s own.'
type: string
pattern: ^\d{11}$
limit:
type: integer
minimum: 1
maximum: 9007199254740991
description: 'The page size used: the `limit` asked for, clamped to the endpoint’s range.'
offset:
type: integer
minimum: 0
maximum: 10000
description: 'The offset used: the `offset` asked for, clamped to 0–10,000.'
next_offset:
anyOf:
- type: integer
minimum: 1
maximum: 9007199254740991
- type: 'null'
description: The `offset` of the next page, or null when this is the last one. Follow it rather than computing it.
history:
type: array
items:
$ref: '#/components/schemas/Revision'
description: Newest first.
required:
- vhid
- limit
- offset
- next_offset
- history
additionalProperties: false
description: A page of an entry’s public revision history, newest first.
RevisionChange:
type: object
properties:
field:
type: string
description: 'What it changed: a field (`title`, `subtitle`, `description`, …), `handles` or `gallery`.'
op:
type: string
enum:
- set
- change
- clear
- add
- remove
- reorder
description: A field set, changed or cleared; a handle or image added or removed; the handles or the gallery reordered.
before:
description: The value before, as text; null for `set`, `add` and `reorder`.
type:
- string
- 'null'
after:
description: The value after, as text; null for `clear`, `remove` and `reorder`.
type:
- string
- 'null'
required:
- field
- op
- before
- after
additionalProperties: false
description: 'One change a revision made, in the shape of a review item’s `changes`: a handle reads `<platform>: <value>`, an image is its media id.'
HistoryHidden:
type: object
properties:
error:
type: string
const: history_hidden
message:
type: string
description: 'What the history page says: the history isn’t public, and how to ask for it.'
contact:
type: string
description: The contact page, where a request for the history goes.
subject:
type: string
description: 'The subject to give the request, naming the entry: `History request: <title> (<vhid>)`.'
required:
- error
- message
- contact
- subject
additionalProperties: false
description: The entry is public but its history has been hidden.
EntityRevision:
type: object
properties:
vhid:
type: string
pattern: ^\d{11}$
description: 'The entry’s VHID: 11 digits, permanent.'
merged_into:
description: 'Present when the entry was merged into another: that entry’s VHID. The history is still the merged entry’s own.'
type: string
pattern: ^\d{11}$
ref_id:
type: string
pattern: ^[ar]\d+$
description: 'The revision’s id: `a<n>` for the history kept from the old wiki, `r<n>` for an edit made since.'
kind:
type: string
enum:
- archive
- forward
description: '`archive`: from the old wiki. `forward`: made on Verified Handles.'
ts:
anyOf:
- type: string
format: date-time
- type: 'null'
description: When it was made.
actor:
description: Who made it, as they chose to be named in public; null when they keep their name private.
type:
- string
- 'null'
summary:
description: The edit summary.
type:
- string
- 'null'
is_bot:
description: 'Made by an automated process: the Wikidata sync, an import, or an account an administrator has marked as automation (a script or agent). A legacy (archive) revision keeps the old wiki’s own flag.'
type:
- boolean
- 'null'
source:
type: string
enum:
- import
- mediawiki
- sync
- admin
- trusted
- submission
- claim
description: How the edit was made.
hidden:
type: boolean
const: false
description: 'Always false here: a hidden revision is never in the public history.'
deleted:
type: boolean
const: false
description: 'Always false here: a deleted revision is never in the public history.'
proposer:
description: For an approved proposal, who proposed it, as they chose to be named; null otherwise.
type:
- string
- 'null'
actor_id:
description: An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.
type:
- string
- 'null'
proposer_id:
description: An opaque id for this person, the same wherever they are named, for blocking; null whenever their name isn’t shown to you. Not an account id and can’t be turned into one; may change if the site’s keys are rotated.
type:
- string
- 'null'
legacy:
type: boolean
description: 'True for a revision kept from the old wiki: its change was to wikitext, not to fields, so `changes` is empty.'
changes:
type: array
items:
$ref: '#/components/schemas/RevisionChange'
description: 'What it changed: each field, then each handle, then each gallery image.'
image_urls:
type: object
propertyNames:
type: string
pattern: ^\d+$
additionalProperties:
type: string
description: Each media id `changes` names (the lead image’s `image_id` before and after, each `gallery` image added or removed) → the picture the site’s revision page draws for it, a path on the site (`/img/w/200q75/<id>`). `{}` when it names none, and always for a legacy revision.
required:
- vhid
- ref_id
- kind
- ts
- actor
- summary
- is_bot
- source
- hidden
- deleted
- proposer
- actor_id
- proposer_id
- legacy
- changes
- image_urls
additionalProperties: false
description: One revision in an entry’s public history, with what it changed.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: vhk_<prefix>_<secret>
description: 'An API key, made in the console, sent as `Authorization: Bearer vhk_<prefix>_<secret>`. It acts as its holder, never above the role it was made with; a read-only key may only GET. Never send a session cookie with it, and never put it in a query string.'
x-mcp-tools:
endpoint: https://verifiedhandles.org/mcp
transport: streamable-http
authentication: 'An API key, as `Authorization: Bearer`: the tools listed are the ones the key may use. With no `Authorization` header at all, only the tools marked `keyless: true`, as a signed-out visitor.'
docs: https://verifiedhandles.org/developers/mcp
contract: 'A tool that changes something (`write: true`) writes nothing unless called with `dry_run: false`: by default it answers what it would change and the exact request it would send. A tool with `confirm: true` also needs `confirm` set to the exact target its dry run names. A read-only key is shown no write tool. Every call goes through the site’s own routes as the key’s account, and every change is audited with the key and the tool.'
tools:
# --- truncated at 32 KB (210 KB total) ---
# Full source: https://artifacts.apis.io/verifiedhandles-org/openapi/verifiedhandles-org-history-api-openapi.yml