Generated by API Evangelist
Written by API Evangelist tooling for Wikidata's API. It is a proposal applied on top of the contract, not a document Wikidata publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Wikidata REST API & MediaWiki Items API
version: 1.0.0
extends: openapi/wikidata-items-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/entities/items/{item_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a Wikidata item
effect: read
questions:
- What labels, descriptions and statements does a Wikidata item have?
- Can I fetch a Q-entity by its item ID?
instructions:
- text: Get Wikidata item {item_id}.
slots:
item_id: path.item_id
- text: Show the statements and sitelinks on item {item_id}.
slots:
item_id: path.item_id
method: generated
generated: '2026-11-19'
- target: $.paths['/entities/items/{item_id}'].patch
update:
x-apievangelist-phrasing:
intent: Edit a Wikidata item
effect: write
questions:
- How do I add a statement to an existing Wikidata item?
- Can I edit a Q-entity with a JSON patch?
instructions:
- text: Apply JSON patch {patch} to Wikidata item {item_id}.
slots:
patch: requestBody.patch
item_id: path.item_id
- text: Add a statement to item {item_id} with comment {comment}.
slots:
item_id: path.item_id
comment: requestBody.comment
method: generated
generated: '2026-11-19'
- target: $.paths['/entities/items'].post
update:
x-apievangelist-phrasing:
intent: Create a Wikidata item
effect: write
questions:
- How do I create a new Wikidata item for a new entity?
- Can I set labels, descriptions and statements when creating a Q-entity?
instructions:
- text: Create Wikidata item {labels}.
slots:
labels: requestBody.labels
- text: Create a new Q-entity with labels {labels} and statements {statements}.
slots:
labels: requestBody.labels
statements: requestBody.statements
method: generated
generated: '2026-11-19'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.