Alle gratis API-er
Gratis APIKunnskapIngen nøkkelOffisiell

Wikidata Query Service & REST API

Query the world's largest open knowledge graph with SPARQL, no key

Wikidata is the structured-data backbone behind Wikipedia: a free, collaborative knowledge graph of people, places, organizations and concepts with stable Q-identifiers. The public SPARQL endpoint runs arbitrary graph queries, and the Wikibase REST API returns labels, descriptions and statements for any entity. Both are open and keyless.

Gratisnivå

Free, no key

Hastighetsgrenser

SPARQL public endpoint: 60-second query timeout, generous concurrency but throttled on abuse. REST API governed by Wikimedia etiquette; send a User-Agent

Autentisering

Ingen nøkkel

Base-URL

https://query.wikidata.org

Hva du kan bygge med det

  • Build an entity-resolution tool that maps text mentions to canonical Q-IDs
  • Pull structured facts (birth dates, coordinates, relationships) for enrichment
  • Power a SPARQL-backed reasoning step inside an AI automation
  • Join Wikidata IDs to Wikipedia articles and external databases

Sentrale endepunkter

  • GET/sparql?query={sparql}Run a SPARQL query against the full Wikidata graph
  • GET/bigdata/namespace/wdq/sparqlCanonical SPARQL endpoint alias
  • GET/w/rest.php/wikibase/v1/entities/items/{id}Fetch an item's full structured data (REST)
  • GET/w/rest.php/wikibase/v1/entities/items/{id}/labelsGet an item's labels in all languages (REST)
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tagger

knowledgegraphsparqlreferencelinked-data