Wikidata · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Wikidata REST API & MediaWiki Statements API

5 actions 5 updates phrasing extends openapi/wikidata-statements-api-openapi.yml
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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/entities/items/{item_id}/statements'].get
$.paths['/entities/items/{item_id}/statements'].post
$.paths['/statements/{statement_id}'].get
$.paths['/statements/{statement_id}'].delete

OpenAPI Overlay

Raw ↑
# 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 Statements API
  version: 1.0.0
extends: openapi/wikidata-statements-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: 4
- target: $.paths['/entities/items/{item_id}/statements'].get
  update:
    x-apievangelist-phrasing:
      intent: Get all statements for a Wikidata item
      effect: read
      questions:
      - What claims does a Wikidata item have?
      - Can I see only the statements on an item for one property?
      instructions:
      - text: Get all statements for item {item_id}.
        slots:
          item_id: path.item_id
      - text: Show statements on {item_id} for property {property}.
        slots:
          item_id: path.item_id
          property: query.property
      method: generated
      generated: '2026-11-19'
- target: $.paths['/entities/items/{item_id}/statements'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a claim to a Wikidata item
      effect: write
      questions:
      - How do I add a new fact to a Wikidata item?
      - Can I add qualifiers and references to a claim?
      instructions:
      - text: Add a {property} claim with value {value} to item {item_id}.
        slots:
          property: requestBody.property
          value: requestBody.value
          item_id: path.item_id
      - text: Add {value} as a {property} claim on {item_id} with rank {rank}.
        slots:
          value: requestBody.value
          property: requestBody.property
          item_id: path.item_id
          rank: requestBody.rank
      method: generated
      generated: '2026-11-19'
- target: $.paths['/statements/{statement_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one statement by its ID
      effect: read
      questions:
      - What does a specific Wikidata statement say?
      - Can I fetch a single claim by its statement ID?
      instructions:
      - text: Get statement {statement_id}.
        slots:
          statement_id: path.statement_id
      - text: Show the claim {statement_id}.
        slots:
          statement_id: path.statement_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/statements/{statement_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a statement from an item
      effect: destructive
      questions:
      - How do I remove a fact from a Wikidata item?
      - Can I leave an edit comment when deleting a statement?
      instructions:
      - text: Delete statement {statement_id}.
        slots:
          statement_id: path.statement_id
      - text: Remove claim {statement_id} with comment {comment}.
        slots:
          statement_id: path.statement_id
          comment: requestBody.comment
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/wikidata-statements-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.