Wikidata
Referencewww.wikidata.org
Structured facts about anything with a Wikidata item: identifiers, dates, relationships and cross-wiki links.
Capabilities (26)
GET /v1/data/wikidata/backlinks1 creditLists the Wikidata pages that link to a given entity page, which in practice is the set of items that use it as a statement value, plus project pages that mention it.
GET /v1/data/wikidata/claims1 creditReturns just the statements of one entity - every property with its value, qualifiers, references and rank - without labels, descriptions or sitelinks.
GET /v1/data/wikidata/constraint-check1 creditRuns Wikidata's own property-constraint checks over an entity and returns, per statement, which constraints pass, which are violated and with what severity.
GET /v1/data/wikidata/content-languages1 creditReturns every language code Wikidata accepts for labels, descriptions and aliases, optionally with each one's autonym and English name.
GET /v1/data/wikidata/entities1 creditReturns the full Wikidata record for one or more entities: labels, descriptions and aliases in every language, all statements with qualifiers and references, and sitelinks to Wikipedia and sister projects.
GET /v1/data/wikidata/entity-by-sitelink1 creditResolves a Wikipedia (or sister project) page title to its Wikidata entity and returns that entity's full record.
GET /v1/data/wikidata/entity-revision1 creditReturns the complete stored JSON of one entity exactly as it was at a given revision id, in the same shape as the entities capability.
GET /v1/data/wikidata/external-url-usage1 creditLists Wikidata pages that contain an external link matching a URL pattern, with the exact URL found on each - in practice the items whose statements or references cite that site.
GET /v1/data/wikidata/fulltext-search1 creditRuns the Elasticsearch-backed wiki search over Wikidata pages and returns matching Q-numbers with a total hit count and snippets; supports the haswbstatement: operator to find items by statement value.
GET /v1/data/wikidata/geosearch1 creditReturns Wikidata items whose coordinate location (P625) falls within a radius of a point, each with its Q-number, latitude, longitude and distance in metres, nearest first.
GET /v1/data/wikidata/item-aliases1 creditReturns every alternative name recorded for the item, as a map of language code to an array of strings - pen names, abbreviations, former names, transliterations.
GET /v1/data/wikidata/item-descriptions1 creditReturns a flat map of language code to the item's one-line disambiguating description, such as 'British science fiction writer and humorist (1952-2001)'.
GET /v1/data/wikidata/item-label1 creditReturns the item's label in a single language as a bare JSON string, nothing else - the whole response for Q937 is 17 bytes.
GET /v1/data/wikidata/item-labels1 creditReturns a flat map of language code to label for one item - 5 KB for Q42 against the 314 KB the full record costs.
GET /v1/data/wikidata/item-sitelink1 creditReturns the title, badges and URL of the item's page on a single named wiki - a 100-byte answer instead of the 18 KB full sitelink set.
GET /v1/data/wikidata/item-sitelinks1 creditReturns every wiki page connected to the item, keyed by site id, each with the page title, its badges and a ready-built URL.
GET /v1/data/wikidata/parse-value1 creditParses human-written strings into the canonical Wikidata value objects - a date into a time value with precision and calendar model, a coordinate into a globecoordinate, a number into a quantity.
GET /v1/data/wikidata/property1 creditReturns a P-number's definition: its value data type, its labels, descriptions and aliases in every language, and its own statements including formatter URLs and constraint declarations.
GET /v1/data/wikidata/property-data-types1 creditReturns the complete map of Wikibase property data types to the value types they serialise as, e.g. wikibase-item to wikibase-entityid and globe-coordinate to globecoordinate.
GET /v1/data/wikidata/property-label1 creditReturns a P-number's label in one language as a bare JSON string - 15 bytes to learn that P569 means 'date of birth'.
GET /v1/data/wikidata/recent-changes1 creditReturns the site-wide stream of recent edits, creations and deletions with timestamps, revision ids and the affected Q-numbers, newest first.
GET /v1/data/wikidata/revisions1 creditReturns the revision list for an entity page - revision id, parent id, timestamp, editor and edit comment - newest first, and optionally the stored entity JSON of each revision.
GET /v1/data/wikidata/search1 creditSearches entity labels, aliases and descriptions and returns ranked candidates with their Q-number, label, description and concept URI.
GET /v1/data/wikidata/site-matrix1 creditReturns every Wikimedia wiki grouped by language, each with its database name, URL, project and closed flag - the authoritative list of the site ids sitelinks use.
GET /v1/data/wikidata/sparql1 creditRuns a SPARQL 1.1 SELECT or ASK against the Wikidata Query Service and returns the standard SPARQL JSON results object with a head.vars list and a results.bindings array.
GET /v1/data/wikidata/statement1 creditReturns one statement on its own - property, value, data type, rank, qualifiers and references - addressed by the statement GUID that appears in every claims or statements response.
Licence
Wikidata statement data is released into the public domain under CC0 1.0, as stated in the project's copyright policy.
https://www.wikidata.org/wiki/Wikidata:LicensingAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Wikidata (CC0)
Cache: up to 86400s
