Home
Providers
Wikidata
Wikidata
Wikidata is a free, collaborative, multilingual knowledge graph hosted by the Wikimedia Foundation. It provides structured linked data for Wikipedia and other Wikimedia projects, as well as a public platform for anyone to read and edit. Wikidata exposes several APIs including a Wikibase REST API for entity read/write operations, the MediaWiki Action API for batch entity retrieval and editing, a SPARQL endpoint for complex graph queries, Linked Data URIs for individual entity access in multiple RDF formats, a real-time Server-Sent Events stream for change monitoring, and full database dumps for bulk data processing.
Wikidata publishes 5 APIs on the APIs.io network, including Descriptions API, Items API, Labels API, and 2 more. Tagged areas include Knowledge Graph, Linked Data, Open Data, Semantic Web, and SPARQL.
The Wikidata catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.
Wikidata’s developer surface includes authentication, developer portal, documentation, support, engineering blog, and 16 more developer resources.
9 APIs
8 Features
7 Use Cases
Knowledge Graph Linked Data Open Data Semantic Web SPARQL Wikipedia
On this page
Kin Score
APIs 9
Postman 5
Open Collections 1
Pricing Plans 1
Rate Limits 1
FinOps 1
Features 8
Vocabularies 1
Spectral Rules 2
JSON Schema 9
JSON Structure 9
Examples 9
Security Posture 3
Scopes 1
Agentic Access 1
Use Cases 7
Integrations 7
Resources 21
apis.yml
53 Operational Transparency
Composite quality — 62.3/100 · strong
Contract Quality
19.6 / 25
Developer Ergonomics
7.8 / 20
Commercial Clarity
10.0 / 20
Operational Transparency
6.8 / 13
Agent readiness — 37/100 · agent ready
Machine-Readable Contract
18 / 18
Agentic Access Contract
10 / 10
MCP Server
0 / 12
Machine-Readable Auth
10 / 10
Idempotency
0 / 9
Stable Error Semantics
0 / 8
Request/Response Examples
7 / 7
Rate-Limit Signaling
7 / 7
Typed Event Surface
0 / 6
Agent Skills
0 / 5
Well-Known Catalog
0 / 4
Consent & Bot Identity
0 / 3
A2A Agent Card
0 / 8
Dry-Run / Simulate Mode
0 / 4
Individual APIs this provider publishes, each with its own machine-readable definition.
Scroll for all 9
Ready-to-run Postman collections for exercising this provider's APIs.
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
Published pricing tiers and plan structures.
Documented rate limits and quota policies.
Cost, billing, and metering signals for API financial operations.
Notable capabilities this provider offers.
Scroll for all 8
JSON-LD contexts and semantic vocabularies used across these APIs.
Spectral governance rulesets for linting and validating these APIs.
Standalone JSON Schema definitions for this provider's data models.
Scroll for all 9
JSON Structure definitions describing this provider's data shapes.
Scroll for all 9
Example request and response payloads for these APIs.
Scroll for all 9
Authentication, domain security, vulnerability disclosure, and trust-center signals.
OAuth scopes governing access to this provider's APIs.
Recommended x-agentic-access execution contracts for AI agents.
What developers build with this provider.
Scroll for all 7
Pre-built integrations with other platforms and tools.
Scroll for all 7
Get Started 1
Portal, sign-up, and the first successful call
Documentation 1
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 2
Pagination, idempotency, versioning, errors, and events
Build 3
SDKs, sample code, and the tooling you integrate with
Access & Security 5
Authentication, authorization, and security posture
Operate 3
Status, limits, changes, and where to get help
Commercial 2
Pricing, plans, and the legal terms of use
Company 3
The organization behind the API
Source (apis.yml)
aid: wikidata
name: Wikidata
description: Wikidata is a free, collaborative, multilingual knowledge graph hosted by the Wikimedia Foundation. It provides
structured linked data for Wikipedia and other Wikimedia projects, as well as a public platform for anyone to read and edit.
Wikidata exposes several APIs including a Wikibase REST API for entity read/write operations, the MediaWiki Action API for
batch entity retrieval and editing, a SPARQL endpoint for complex graph queries, Linked Data URIs for individual entity
access in multiple RDF formats, a real-time Server-Sent Events stream for change monitoring, and full database dumps for
bulk data processing.
type: Index
accessModel:
pricing: freemium
onboarding: self-serve
trial: false
try_now: true
public: false
label: Freemium · Self-serve signup
confidence: high
source:
- plans
- authentication
generated: '2026-07-22'
method: derived
position: Consumer
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/wikidata.png
tags:
- Knowledge Graph
- Linked Data
- Open Data
- Semantic Web
- SPARQL
- Wikipedia
created: '2025-01-01'
modified: '2026-05-19'
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/apis.yml
specificationVersion: '0.19'
apis:
- aid: wikidata:mediawiki-action-api
name: MediaWiki Action API
description: The MediaWiki Action API provides batch entity retrieval, editing, and search for Wikidata via wbgetentities,
wbsearchentities, wbeditentity, and other actions. Supports up to 50 entities per request. Accessible at wikidata.org/w/api.php.
humanURL: https://www.mediawiki.org/wiki/Wikibase/API
baseURL: https://www.wikidata.org/w/api.php
tags:
- MediaWiki
- Batch Operations
- Entity Retrieval
- Search
properties:
- type: Documentation
url: https://www.mediawiki.org/wiki/Wikibase/API
- type: SDKs
url: https://pypi.org/project/pywikibot/
title: Pywikibot (Python)
- type: SDKs
url: https://www.npmjs.com/package/wikibase-sdk
title: wikibase-sdk (JavaScript)
- type: SDKs
url: https://www.wikidata.org/wiki/Wikidata:Tools/Wikidata_Toolkit
title: Wikidata Toolkit (Java)
- aid: wikidata:sparql-query-service
name: SPARQL Query Service
description: The Wikidata Query Service provides a SPARQL 1.1 endpoint at query.wikidata.org for running complex graph queries
over the full Wikidata knowledge base. Supports federated queries, GeoSPARQL, and time-aware queries. Data is CC0 licensed.
humanURL: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service
baseURL: https://query.wikidata.org/sparql
tags:
- SPARQL
- Graph Query
- Linked Data
- Open Data
properties:
- type: Documentation
url: https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual
- type: APIReference
url: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples
- aid: wikidata:linked-data-interface
name: Linked Data Interface
description: The Wikidata Linked Data Interface provides individual entity data via content negotiation at http://www.wikidata.org/entity/{QID}.
Supports JSON, JSON-LD, RDF/XML, Turtle, and N-Triples output formats. No authentication required.
humanURL: https://www.wikidata.org/wiki/Wikidata:Data_access#Linked_Data_Interface
baseURL: https://www.wikidata.org/entity
tags:
- Linked Data
- RDF
- JSON-LD
- Content Negotiation
properties:
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:Data_access#Linked_Data_Interface
- aid: wikidata:event-stream
name: Recent Changes Event Stream
description: The Wikimedia Event Stream provides real-time Server-Sent Events (SSE) for Wikidata changes, revision creations,
and page events. Available at stream.wikimedia.org. Ideal for monitoring Wikidata edits in near-real-time.
humanURL: https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams
baseURL: https://stream.wikimedia.org/v2/stream
tags:
- Event Streaming
- Real-time
- Server-Sent Events
- Change Detection
properties:
- type: Documentation
url: https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams
- aid: wikidata:wikidata-descriptions-api
name: Wikidata Descriptions API
description: Description management
humanURL: https://www.wikidata.org/wiki/Wikidata:REST_API
baseURL: https://www.wikidata.org/w/rest.php/wikibase/v0
tags:
- Descriptions
properties:
- type: OpenAPI
url: openapi/wikidata-descriptions-api-openapi.yml
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:REST_API
- type: JSONSchema
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-entity-schema.json
- type: JSONLD
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-ld/wikidata-context.jsonld
- aid: wikidata:wikidata-items-api
name: Wikidata Items API
description: Wikidata item (Q-entity) operations
humanURL: https://www.wikidata.org/wiki/Wikidata:REST_API
baseURL: https://www.wikidata.org/w/rest.php/wikibase/v0
tags:
- Items
properties:
- type: OpenAPI
url: openapi/wikidata-items-api-openapi.yml
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:REST_API
- type: JSONSchema
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-entity-schema.json
- type: JSONLD
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-ld/wikidata-context.jsonld
- aid: wikidata:wikidata-labels-api
name: Wikidata Labels API
description: Label management
humanURL: https://www.wikidata.org/wiki/Wikidata:REST_API
baseURL: https://www.wikidata.org/w/rest.php/wikibase/v0
tags:
- Labels
properties:
- type: OpenAPI
url: openapi/wikidata-labels-api-openapi.yml
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:REST_API
- type: JSONSchema
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-entity-schema.json
- type: JSONLD
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-ld/wikidata-context.jsonld
- aid: wikidata:wikidata-properties-api
name: Wikidata Properties API
description: Wikidata property (P-entity) operations
humanURL: https://www.wikidata.org/wiki/Wikidata:REST_API
baseURL: https://www.wikidata.org/w/rest.php/wikibase/v0
tags:
- Properties
properties:
- type: OpenAPI
url: openapi/wikidata-properties-api-openapi.yml
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:REST_API
- type: JSONSchema
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-entity-schema.json
- type: JSONLD
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-ld/wikidata-context.jsonld
- aid: wikidata:wikidata-statements-api
name: Wikidata Statements API
description: Statement (claim) operations
humanURL: https://www.wikidata.org/wiki/Wikidata:REST_API
baseURL: https://www.wikidata.org/w/rest.php/wikibase/v0
tags:
- Statements
properties:
- type: OpenAPI
url: openapi/wikidata-statements-api-openapi.yml
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:REST_API
- type: JSONSchema
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-entity-schema.json
- type: JSONLD
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-ld/wikidata-context.jsonld
common:
- type: PostmanWorkspace
url: https://www.postman.com/kinlaneapi/wikidata/overview
- type: AgenticAccess
url: agentic-access/wikidata-agentic-access.yml
- type: VulnerabilityDisclosure
url: security/wikidata-vulnerability-disclosure.yml
- type: DomainSecurity
url: security/wikidata-domain-security.yml
- type: Authentication
url: authentication/wikidata-authentication.yml
- type: OAuthScopes
url: scopes/wikidata-scopes.yml
- type: LinkedIn
url: https://www.linkedin.com/company/wikidata-wf
- type: Website
url: https://www.wikidata.org/
- type: Portal
url: https://www.wikidata.org/wiki/Wikidata:Data_access
- type: Documentation
url: https://www.wikidata.org/wiki/Wikidata:Data_access
- type: GitHubOrganization
url: https://github.com/wikimedia
- type: GitHubRepository
url: https://github.com/wikimedia/mediawiki
- type: TermsOfService
url: https://foundation.wikimedia.org/wiki/Terms_of_Use
- type: PrivacyPolicy
url: https://foundation.wikimedia.org/wiki/Privacy_policy
- type: Support
url: https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team
- type: Blog
url: https://blog.wikimedia.org/
- type: StatusPage
url: https://www.wikimediastatus.net/
- type: RateLimits
url: https://www.mediawiki.org/wiki/API:Etiquette
- type: Authentication
url: https://www.mediawiki.org/wiki/OAuth/For_Developers
- type: SpectralRules
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/rules/wikidata-spectral-rules.yml
- type: Vocabulary
url: https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/vocabulary/wikidata-vocabulary.yaml
- type: Features
data:
- name: Multilingual Support
description: All entities support labels, descriptions, and aliases in hundreds of languages via BCP 47 language codes.
- name: Structured Statements
description: Every claim is modeled as a statement with property, value, rank, qualifiers, and references for full provenance.
- name: Open License
description: All Wikidata content is released under CC0 1.0 Universal (Public Domain) — no attribution required.
- name: SPARQL Graph Queries
description: Complex multi-hop queries over 100M+ entities via SPARQL 1.1 at query.wikidata.org with GeoSPARQL and time
extensions.
- name: Real-Time Event Streaming
description: Server-Sent Events at stream.wikimedia.org deliver real-time change notifications for Wikidata edits.
- name: Multiple Serialization Formats
description: Entities available as JSON, JSON-LD, RDF/XML, Turtle, and N-Triples via content negotiation on Linked Data
URIs.
- name: Wikibase Federation
description: Wikidata is an instance of Wikibase; federated SPARQL queries can cross Wikibase instances including Wikimedia
Commons.
- name: Database Dumps
description: Full JSON and RDF/TTL database dumps refreshed weekly at dumps.wikimedia.org for local bulk processing.
- type: UseCases
data:
- name: Knowledge Graph Augmentation
description: Enrich private datasets with structured Wikidata facts — entities, dates, relationships — via item and SPARQL
queries.
- name: Fact-Checking and Verification
description: Retrieve canonical statements with references to verify biographical, geographic, or scientific claims in
text.
- name: Wikipedia Infobox Data
description: Power Wikipedia infoboxes and sister-project templates with live Wikidata entity data via the MediaWiki Action
API.
- name: NLP Entity Linking
description: Resolve named entities from natural language to Wikidata Q-IDs using wbsearchentities and SPARQL label lookups.
- name: Semantic Search
description: Build ontology-aware search systems using Wikidata's P31 (instance of) and P279 (subclass of) property hierarchies.
- name: Change Monitoring
description: Track real-time edits to Wikidata entities relevant to a domain using the SSE event stream.
- name: Linked Open Data Publishing
description: Publish organizational data as Linked Open Data by aligning custom schemas to Wikidata properties and Q-IDs.
- type: Integrations
data:
- name: Wikipedia
description: Wikidata powers structured data for all Wikipedia language editions via Lua modules and infobox templates.
- name: Wikimedia Commons
description: Media files on Wikimedia Commons are described using Wikidata items via structured data on Commons.
- name: OpenStreetMap
description: OSM features are linked to Wikidata via the wikidata=* tag, enabling geographic entity cross-referencing.
- name: Scholia
description: Scholia is a Wikidata-based scholarly profile service that visualizes publications, authors, and institutions.
- name: Reasonator
description: Reasonator renders human-readable pages for Wikidata items, integrating maps, timelines, and media.
- name: Mix'n'match
description: Mix'n'match links Wikidata items to external databases (VIAF, ORCID, GND, etc.) for authority control.
- name: OpenRefine
description: OpenRefine has a Wikidata reconciliation service and can batch-upload tabular data as Wikidata statements.
maintainers:
- FN: Kin Lane
email: kin@apievangelist.com