Wikidata Scraper - Entity Search, IDs and Claims
Give your AI facts with an ID attached.
Wikidata scraper for a name search, or a list of Q-ids turned into full records: the label, description and aliases, what the thing is an instance of, occupation, citizenship, a flattened summary of every other claim, and the English Wikipedia link. No API key, no login.
The awkward part first, because it changes how you use it. Facts in Wikidata point at other Wikidata items, so occupation comes back as Q36180, not as the word "writer". If you want words, you resolve those IDs in a second pass.
| Input | A search term, or a list of Q-ids |
| Output | One row per entity: Q-id, label, description, aliases, link. Resolved IDs add instance of, occupation, citizenship, a claims summary and the English Wikipedia article |
| Ceiling | 1,000 entities per run resolving IDs, 50 per search |
| Account needed | None, and no API key |
What Wikidata Scraper does
search mode runs one free-text lookup against Wikidata and returns matching items with their Q-id, label, description and the alias that matched. Wikidata caps this at 50 results, so maxItems above 50 in search mode gets you 50.
entities mode takes Q-ids and resolves them properly, 50 IDs at a time, as many rounds as your list needs. This is the mode with the real detail in it.
Labels are fetched in your language, and in Wikidata's multilingual mul bucket as well. That matters more than it sounds: Q42's label lives under mul, not under en, so asking for English alone would come back blank.
What data you get from each Wikidata entity
| What you get | Field |
|---|---|
| The Q-id and its Wikidata page | id, url |
| Label and short description, in your language | label, description |
| Other names it goes by | aliases |
| What kind of thing it is (P31) | instanceOf |
| Occupation (P106) and country of citizenship (P27) | occupation, countryOfCitizenship |
| Every other property, flattened to plain values | claimsSummary |
| The English Wikipedia article | enwikiTitle, enwikiUrl |
Everything below aliases comes from entities mode. A search row stops at the first four lines.
What it does not do
- Search stops at 50 results. That is Wikidata's cap, and no
maxItemsraises it. Resolve IDs when you need volume. - Items only. Property pages and lexemes are rejected rather than returned.
- Referenced items stay as Q-ids. Nothing resolves
Q36180to "writer" for you. - Claims are flattened. Qualifiers, references and rank are dropped, and the summary is capped at 60 properties with 20 values each.
- Only the English Wikipedia link comes back, even when the entity has articles in other languages.
- No SPARQL. This is entity search and entity lookup, not the query service.
- If a batch fails partway through a long ID list, the run ends with a diagnostic row and the entities already fetched do not land. Split very long lists across runs.
- It is not an official Wikidata tool. Dami's Studio is independent and is not affiliated with or endorsed by Wikidata or the Wikimedia Foundation, or by any other company named on this page.
How it works
- 1Open it on Apify
The Open on Apify button takes you there. Nothing to install.
- 2Set the inputs
The form opens with an example in Search query and Wikidata Q-ids. Put in your own and check the other settings.
- 3Click Run
It runs on Apify's servers, on your own Apify account.
- 4Export the results
Download them from the run, or read them over Apify's API.
Pricing
$0.0002 per item = $0.20 per 1,000
Live price on Apify's Free plan, read on 5 November 2026. Paid plans pay a little less. You are billed on your own Apify account. The full price list is on the Apify page.
Use it from your AI chat
Add Apify's connector to your AI chat once (setup steps), then paste this:
Use the Wikidata Scraper (dami_studio/wikidata-scraper) to look up "Q42" and "Q5" on Wikidata, and return one row per entity: Q-id, label, description, aliases, link.Some apps ask for a server address instead. This one loads just this tool:
https://mcp.apify.com?tools=dami_studio/wikidata-scraperEvery run your AI chat starts goes on your own Apify account, at the prices on this tool's Apify page.
Inputs
| Field | What it does | Type |
|---|---|---|
mode | What to do. "search" runs a free-text entity search and returns matching Q-ids with their label/description. "entities" takes a list of Q-ids and returns full records (aliases, claims, Wikipedia link). | string |
query | Free-text term to search Wikidata for, e.g. "douglas adams" or "eiffel tower". Used only in "search" mode. Leave empty when using "entities" mode. | string |
ids | List of Wikidata item ids to resolve, e.g. ["Q42", "Q5"]. Used only in "entities" mode. Up to 50 ids are fetched per API request automatically. | array |
language | Language code for labels, descriptions and aliases, e.g. en, fr, de, es, ja. Falls back to the multilingual (mul) value when a term isn't available in this language. | string |
maxItems | Maximum number of entities to return. In search mode the API caps results at 50 per query. | integer |
notionConnector | Optional. Write each item as a page into your Notion when the run finishes. Authorize a Notion connector once in Settings → API & Integrations → MCP connectors, then pick it here. Leave empty to skip (default), results are always saved to the dataset regardless. | string |
notionParentId | Optional. The Notion data source ID of the database to write into (only used if a Notion connector is set). Leave empty to create the pages privately in your workspace instead. | string |
The full input form is on the Apify page.
Questions people ask
How much does Wikidata Scraper cost?
$0.0002 per item ($0.20 per 1,000) on Apify's Free plan. Paid plans pay a little less. It is billed on your own Apify account.
Can I run Wikidata Scraper from my AI chat?
Yes, from any app that supports MCP connectors. Add Apify's connector (https://mcp.apify.com/), sign in with your Apify account, and ask for dami_studio/wikidata-scraper. The steps are on the Use with AI page. Each run goes on your own Apify account, at the prices on its Apify page.
Do I need to write code to use Wikidata Scraper?
No. Open it on Apify, fill in the form, click Run and download the results.