Wikidata Scraper avatar

Wikidata Scraper

Pricing

$0.80 / 1,000 entity record produceds

Go to Apify Store
Wikidata Scraper

Wikidata Scraper

Wikidata Scraper: Search Wikidata by keyword or entity ID: entity ID, label, description, aliases and Wikipedia links for each match, ready for data enrichment. Export to CSV, JSON or Excel, schedule runs or use the API.

Pricing

$0.80 / 1,000 entity record produceds

Rating

0.0

(0)

Developer

Automly

Automly

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

a day ago

Last modified

Share

Wikidata Scraper - Entities, Labels & Descriptions

What is Wikidata Scraper?

Wikidata Scraper is a tool that lets you scrape entities from Wikidata: Q-ID, label, description, Wikidata link, aliases, sitelink count, English Wikipedia link and how each search result matched your words. Search by keyword or paste Wikidata IDs such as Q42, click Start, and download the entities as Excel, CSV or JSON.

  • 🔎 Search or look up: search Wikidata by keyword, look up a list of Q-IDs, or both in one run
  • 🌍 Any language: search labels and descriptions in English, Japanese, German, French, Spanish and more
  • 🔓 No login: no Wikidata account or API key needed
  • 💸 Free to try: the $5 of free usage every Apify account gets each month covers about 6,200 entities

What can Wikidata Scraper do?

  • Search Wikidata by keyword
  • Find the Wikidata ID (Q-ID) of a company, person, place or topic
  • Look up Wikidata entities by ID, such as Q42,Q76,Q95
  • Get Wikidata labels and descriptions in another language
  • Get the aliases (other names) of a Wikidata entity
  • Get the English Wikipedia link and sitelink count of an entity
  • Export Wikidata entities to Excel, CSV, JSON, HTML or XML

What data can you extract from Wikidata?

🆔 Entity ID (Q-ID)🏷️ Label📝 Description
🔗 Wikidata URL🌐 Concept URI📄 Page ID
🎯 Match type, language and text🔁 Alias count and sample🔗 Sitelink count
📖 English Wikipedia URL🧾 Claim count🔎 Your search query

How to scrape Wikidata entities

  1. Create a free Apify account (no credit card needed).
  2. Open Wikidata Scraper.
  3. Choose a Mode: search, entity or both.
  4. Type a Search query, or paste Entity IDs separated by commas, pick a Language and click Start.
  5. When the run finishes, download your entities as Excel, CSV, JSON, HTML or XML.

How much does it cost to scrape Wikidata?

You pay $0.80 per 1,000 entities (each search result or looked-up entity is one record). Apify platform usage is included in this price, so there is nothing else to pay for the run.

For example, 1,000 entities cost $0.80 on the Free plan, and a run that returns 50 entities costs $0.04.

Every Apify account gets $5 of free usage each month. See the Pricing tab for details.

⬇️ Input

SettingWhat it does
Modesearch (default), entity (look up IDs) or both
Search queryWords to search for, such as OpenAI, climate change or Tesla
Entity IDsWikidata IDs to look up, separated by commas, e.g. Q42,Q76,Q95
LanguageLanguage for search labels and descriptions, such as en, ja, de, fr or es (default en)
Maximum resultsHow many records to return (up to 50, which is the default)
Include aliasesAdd a short sample of other names when entity details are looked up (on by default)
Include sitelinksAdd the sitelink count and English Wikipedia link when available (off by default)

Example: search for an entity.

{
"mode": "search",
"query": "OpenAI",
"maxResults": 20,
"language": "en"
}

Example: look up three entities by ID, with aliases and Wikipedia links.

{
"mode": "entity",
"entityIds": "Q95,Q76,Q42",
"includeAliases": true,
"includeSitelinks": true
}

⬆️ Output

You get one row per search result or looked-up entity. recordType tells you which one it is. You can view the rows as a table in Apify Console or download them as Excel, CSV, JSON, HTML or XML.

A search result row:

{
"recordType": "search-result",
"query": "OpenAI",
"entityId": "Q21708200",
"title": "OpenAI",
"label": "OpenAI",
"description": "American artificial intelligence research organization",
"conceptUri": "http://www.wikidata.org/entity/Q21708200",
"wikidataUrl": "https://www.wikidata.org/wiki/Q21708200",
"pageId": 23747017,
"repository": "wikidata",
"matchType": "label",
"matchLanguage": "en",
"matchText": "OpenAI",
"entityType": "",
"aliasesCount": 0,
"aliasSample": "",
"sitelinksCount": 0,
"englishWikipediaUrl": "",
"claimsCount": 0,
"language": "en"
}

Search results carry the label, description and match details. The alias, sitelink and claim fields belong to entity lookups (Mode entity with Include aliases and Include sitelinks), so in search results they show as empty or 0, as above.

How can I use Wikidata data?

  • Entity resolution: match company, person and topic names in your data to one canonical Wikidata ID
  • Knowledge graphs: build or enrich a graph with labels, descriptions and IDs
  • Data enrichment: add descriptions and Wikipedia links to a list of names
  • Alias mapping: collect other names for the same thing to improve search and matching
  • Search and AI apps: give your own pipelines canonical IDs and short descriptions for the things they mention

Scrape more research and knowledge data

ActorWhat it gets
arXiv Scraper - Papers, Abstracts & AuthorsarXiv papers with abstracts, authors, categories and PDF links
Google News Scraper - Full Article Text, Alerts & RSSGoogle News articles by keyword with full text
Hacker News Scraper - Stories, Comments & TrendsHacker News stories and discussions by keyword, points and date
Federal Register Scraper - Notices, Rules & AgenciesFederal Register notices with dates, agencies and PDF links
TMDB Scraper - Movies, TV Shows, Ratings & TrendingMovies, TV shows and people from The Movie Database

❓FAQ

How much does Wikidata Scraper cost?

$0.80 per 1,000 entities, platform usage included. See the cost section above and the Pricing tab.

Do I need a Wikidata account or API key?

No. Wikidata is public, so you need no account, login or API key.

How many entities can I get per run?

Up to 50 per run. Search results are ranked by relevance, so very broad queries work better with tighter wording. For more, run several searches or split your list of IDs.

Can I search in another language?

Yes. Set Language to the language code you want, such as de or ja. Some entities have no label or description in that language.

When you already know the Q-IDs. Looking up IDs gives you the details of exactly those entities, while search returns the best matches for your words.

What if my run charge limit is reached?

The actor stops after the last record your limit covers and keeps every record it already produced.

Can I connect Wikidata Scraper to other tools or AI agents?

Yes. Start runs and download results with the Apify API or the Python and JavaScript clients, send results to Make, Zapier, n8n, Google Sheets or Slack with Apify integrations and webhooks, or let AI assistants and agents run it through the Apify MCP server at mcp.apify.com.

This actor only collects public Wikidata entries, which are shared under a free license. Entries about people can still contain personal data, which may be protected by laws such as GDPR, so only use it for a legitimate reason and ask a lawyer if you are unsure. You can read more in Is web scraping legal?

Wikidata Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Wikidata or the Wikimedia Foundation.

Something isn't working?

Open the Issues tab and tell us your input and what you expected.

⭐ Your feedback

Have an idea or found a problem? Tell us on the Issues tab. If Wikidata Scraper saved you time, a short review on the Reviews tab helps other people find it.