Verified Handles Creating entries API
Making an entry live, from a Wikidata item or by hand, with no review step.
Making an entry live, from a Wikidata item or by hand, with no review step.
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-creating-entries-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 Creating entries 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: Creating entries
description: Making an entry live, from a Wikidata item or by hand, with no review step.
paths:
/console/wikidata.json:
get:
operationId: consoleWikidataSearch
tags:
- Creating entries
summary: Search Wikidata by name, with what Verified Handles already has
description: 'The Search Wikidata page’s hits: each item, the item Wikidata merged it into if it was, and the entry already on Verified Handles for it. The search spends the account’s share of the Wikidata lookups, as the page’s does, and is kept ten minutes. `status` is `unavailable` when Wikidata could not be searched, null with no `q`. Any signed-in account.'
parameters:
- name: q
in: query
required: false
description: 'A name, or a QID, as the page’s search box takes it (at most 200 characters). None: no search, no rows.'
schema:
type: string
example: Q42
responses:
'200':
description: The hits.
content:
application/json:
schema:
type: object
properties:
filters:
type: object
propertyNames:
type: string
additionalProperties:
type: string
description: The filters in use.
status:
anyOf:
- type: string
enum:
- ok
- unavailable
- type: 'null'
can_create:
type: boolean
description: This account may create an entry from an item (POST …/from-qid); else it proposes one.
rows:
type: array
items:
type: object
properties:
qid:
type: string
label:
description: The item’s English label (for a merged item, the label of the item it went into).
type:
- string
- 'null'
description:
type:
- string
- 'null'
merged_into:
description: 'The item Wikidata merged this one into: nothing is made from this one.'
type:
- string
- 'null'
entry_vhid:
description: The entry already on Verified Handles for the item (for a merged item, for the item Wikidata kept).
type:
- string
- 'null'
entry_short:
type:
- string
- 'null'
entry_title:
type:
- string
- 'null'
entry_deleted:
description: That entry is deleted (it may be restored on …/deleted).
type:
- boolean
- 'null'
entry_merged_from:
description: The VHID on the item that was merged into that entry, where that is how it is found.
type:
- string
- 'null'
required:
- qid
- label
- description
- merged_into
- entry_vhid
- entry_short
- entry_title
- entry_deleted
- entry_merged_from
additionalProperties: false
required:
- filters
- status
- can_create
- rows
additionalProperties: false
'302':
description: 'No key was sent: the console sends a browser to sign in. A script should send its key.'
headers:
Location:
description: /auth/login?next=<the path asked for>
schema:
type: string
'400':
description: 'The request sent a key and a session cookie together (`bearer_with_cookie`): send one.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'401':
description: 'The key was refused: unknown, revoked or expired, its holder may no longer use keys, or this instance takes none. Carries `WWW-Authenticate: Bearer`.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'403':
description: 'The key’s account lacks the capability, or is blocked: the body is the word `Forbidden`.'
content:
text/plain:
schema:
type: string
const: Forbidden
'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: required
x-rate-limit:
bucket: json
max: 120
window_seconds: 60
per: IP address
x-cache:
cache-control: no-store
etag: false
notes: 'Never cached: it is about the caller. An answer to a key also carries `Vary: Authorization`.'
x-cors: false
/console/wikidata/export.json:
get:
operationId: consoleWikidataSearchExportJson
tags:
- Creating entries
summary: A Wikidata search, as a JSON file
description: 'The hits of one search, …/wikidata.json’s rows. The search spends the account’s share of the Wikidata lookups, as the page’s does, and is kept ten minutes. Nothing about a person: any signed-in account may export a search, a key included. A download (`verified-handles-wikidata-search-.`), no-store, written as it is read, up to 50,000 rows; where that cap stops it, the file says so and names where the next export goes on (`offset`). `complete` is false where the cap stopped it, with `next` where to go on and a `note` that says so.'
parameters:
- name: q
in: query
required: false
description: 'A name, or a QID, as the page’s search box takes it (at most 200 characters). None: no search, no rows.'
schema:
type: string
example: Q42
- name: offset
in: query
required: false
description: 'Rows to skip: the `next` of an export that stopped at its cap.'
schema:
type: string
responses:
'200':
description: The rows.
content:
application/json:
schema:
type: object
properties:
exported_at:
type: string
format: date-time
filters:
type: object
propertyNames:
type: string
additionalProperties:
type: string
description: The filters in use.
max:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: The most rows one export holds.
rows:
type: array
items:
type: object
properties:
qid:
type: string
label:
description: The item’s English label (for a merged item, the label of the item it went into).
type:
- string
- 'null'
description:
type:
- string
- 'null'
merged_into:
description: 'The item Wikidata merged this one into: nothing is made from this one.'
type:
- string
- 'null'
entry_vhid:
description: The entry already on Verified Handles for the item (for a merged item, for the item Wikidata kept).
type:
- string
- 'null'
entry_short:
type:
- string
- 'null'
entry_title:
type:
- string
- 'null'
entry_deleted:
description: That entry is deleted (it may be restored on …/deleted).
type:
- boolean
- 'null'
entry_merged_from:
description: The VHID on the item that was merged into that entry, where that is how it is found.
type:
- string
- 'null'
required:
- qid
- label
- description
- merged_into
- entry_vhid
- entry_short
- entry_title
- entry_deleted
- entry_merged_from
additionalProperties: false
count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
complete:
type: boolean
description: False when the export stopped at `max`.
next:
description: 'Where it stopped: pass as `offset` for the rest.'
type:
- string
- 'null'
note:
description: Where it stopped, in words.
type: string
required:
- exported_at
- filters
- max
- rows
- count
- complete
- next
additionalProperties: false
'302':
description: 'No key was sent: the console sends a browser to sign in. A script should send its key.'
headers:
Location:
description: /auth/login?next=<the path asked for>
schema:
type: string
'400':
description: 'The request sent a key and a session cookie together (`bearer_with_cookie`): send one.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'401':
description: 'The key was refused: unknown, revoked or expired, its holder may no longer use keys, or this instance takes none. Carries `WWW-Authenticate: Bearer`.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyRefusal'
'403':
description: 'The key’s account lacks the capability, or is blocked: the body is the word `Forbidden`.'
content:
text/plain:
schema:
type: string
const: Forbidden
'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: required
x-rate-limit:
bucket: json
max: 120
window_seconds: 60
per: IP address
x-cache:
cache-control: no-store
etag: false
notes: 'Never cached: it is about the caller. An answer to a key also carries `Vary: Authorization`.'
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.'
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 (196 KB total) ---
# Full source: https://artifacts.apis.io/verifiedhandles-org/openapi/verifiedhandles-org-creating-entries-api-openapi.yml