Wikidata Entity Lookup & Knowledge Graph Scraper (Free)
Pricing
Pay per usage
Wikidata Entity Lookup & Knowledge Graph Scraper (Free)
Search Wikidata and export entities as clean JSON: Q-ID, label, description, aliases, instance of, country, coordinates, population, dates and Wikipedia links. Free knowledge graph enrichment.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
D N
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Turn any name into a structured knowledge graph record. This actor searches Wikidata — the free knowledge base behind Wikipedia — and returns clean JSON for each entity: Q-ID, label, description, aliases, instance of, country, coordinates, population, inception, birth/death dates, occupation, official website, image and the Wikipedia link.
Linked items are resolved to human-readable labels, so you get "country": "France" instead of a bare Q142. Accepts plain search terms or exact Q-IDs. Available in any language. This actor is 100% free — you only pay your own Apify platform usage.
Input
| Field | Type | Default | Description |
|---|---|---|---|
queries | array of strings | (required) | Search terms (Paris) or exact Q-IDs (Q90). One item per entry. |
language | string | en | Language for labels, descriptions and the Wikipedia sitelink. |
resolveLabels | boolean | true | Resolve referenced Q-IDs to readable labels. |
Output
One dataset item per query, always with an explicit status field (found, not_found or error) — the actor never crashes on an unknown name.
{"status": "found","query": "Paris","qid": "Q90","label": "Paris","description": "capital and most populous city in France","aliases": ["City of Light", "City of Love", "Lutetia"],"sitelinkCount": 312,"wikipediaTitle": "Paris","wikipediaUrl": "https://en.wikipedia.org/wiki/Paris","wikidataUrl": "https://www.wikidata.org/wiki/Q90","instanceOf": [{ "type": "item", "id": "Q484170", "label": "commune of France" }],"country": [{ "type": "item", "id": "Q142", "label": "France" }],"coordinates": [{ "type": "coordinates", "latitude": 48.8566, "longitude": 2.3522 }],"population": [{ "type": "quantity", "amount": 2145906, "unit": null }],"inception": [{ "type": "time", "value": "-300 BCE" }],"officialWebsite": [{ "type": "string", "value": "https://www.paris.fr/" }],"error": null}
Mapped properties: instanceOf (P31), subclassOf (P279), country (P17), locatedIn (P131), coordinates (P625), inception (P571), dateOfBirth (P569), dateOfDeath (P570), population (P1082), officialWebsite (P856), image (P18), occupation (P106), countryOfCitizenship (P27).
Use cases
- Entity resolution & enrichment — map messy names (cities, companies, people) to stable Q-IDs.
- Feed a RAG / LLM pipeline with trustworthy, citable facts and Wikipedia links.
- Build a gazetteer or dataset with coordinates, populations and countries in one run.
- Cross-language lookup — get the same entity's label and Wikipedia article in any language.
Limitations & fair use
- Uses the public Wikidata
wbsearchentities/wbgetentitiesAPI. Search returns the best single match; pass an exact Q-ID when precision matters. - Only the properties listed above are surfaced as fields — Wikidata entities can have hundreds of properties. Deprecated-rank statements are dropped.
- Dates use Wikidata's precision model and can be partial (year only, or BCE) — the
valuestring reflects that faithfully. - Wikidata content is CC0 (public domain), so it is free to reuse; attribution is appreciated.
- A polite delay is applied between requests; label lookups are batched (50 per request). Calls retry up to 3 times with backoff; failures become an
erroritem rather than crashing the run.
More actors by this developer
Browse the full collection of free data and enrichment actors: apify.com/fit_melon