Wikidata Entity Scraper - Q-IDs, Labels & Claims API avatar

Wikidata Entity Scraper - Q-IDs, Labels & Claims API

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Wikidata Entity Scraper - Q-IDs, Labels & Claims API

Wikidata Entity Scraper - Q-IDs, Labels & Claims API

$0.5/1K ๐Ÿ”ฅ Fast Wikidata scraper! Entities โ€” labels, descriptions, aliases & claims in any language. No key. JSON, CSV, Excel or API in seconds. Search or list Q-IDs & pull thousands for knowledge graphs & AI enrichment โšก

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Wikidata Entity Scraper ๐ŸŒ

Scrape Wikidata at scale โ€” search the world's largest free knowledge graph or fetch structured entity data (labels, descriptions, aliases, "instance of" types and claim counts) for any Q-ID. Clean JSON output, no API key, ready for AI training pipelines, data enrichment and research.

Wikidata is the structured-data backbone behind Wikipedia, Google's Knowledge Graph, Siri, Alexa and thousands of apps. This actor turns it into a simple, paginated, machine-readable feed.


โœจ What it does

Two modes, one actor:

ModeInputOutput
searchA text query (e.g. albert einstein)Matching entities: id, label, description, url
entitiesA list of Q-IDs (e.g. ["Q42","Q64"])Full records: label, description, aliases, instance_of (P31), claim_count, url

Every item is timestamped (scraped_at) and links straight to wikidata.org.


๐Ÿš€ Example input

Search mode:

{
"mode": "search",
"query": "albert einstein",
"language": "en",
"maxItems": 50
}

Entities mode:

{
"mode": "entities",
"entityIds": ["Q42", "Q64", "Q937"],
"language": "en",
"maxItems": 100
}

๐Ÿ“ฆ Example output

Search result:

{
"id": "Q937",
"label": "Albert Einstein",
"description": "German-born theoretical physicist (1879โ€“1955)",
"url": "http://www.wikidata.org/entity/Q937",
"scraped_at": "2026-07-03T00:00:00Z"
}

Entity result:

{
"id": "Q42",
"label": "Douglas Adams",
"description": "English writer and humorist (1952โ€“2001)",
"aliases": ["Douglas Noel Adams", "Douglas Noรซl Adams"],
"instance_of": ["Q5"],
"claim_count": 305,
"url": "https://www.wikidata.org/wiki/Q42",
"scraped_at": "2026-07-03T00:00:00Z"
}

๐ŸŽฏ Use cases

  • Knowledge graphs โ€” build or enrich your own graph with canonical entity IDs, types and relationships.
  • AI / LLM training โ€” harvest clean, licensed, structured facts for grounding, RAG and fine-tuning datasets.
  • Data enrichment โ€” resolve messy names to stable Q-IDs, then attach descriptions, aliases and categories.
  • Research & journalism โ€” pull structured facts about people, places, organisations and works at scale.

๐Ÿ’ธ Pricing & cost

This actor is lightweight and runs on 512 MB. Wikidata's API is free, so your only cost is compute.

  • ~$1 per 1,000 items (search results or entities) as a rough guide.
  • Fetching entities is batched 50 per request, keeping runs fast and cheap.
  • No proxies required โ€” the Wikidata API is datacenter-friendly.

Actual cost depends on maxItems and the Apify plan you run on.


โš™๏ธ Input reference

FieldTypeDefaultDescription
modeselectsearchsearch or entities
querystringalbert einsteinText query (search mode)
languagestringenLanguage code for labels/descriptions/aliases
entityIdsarrayโ€“List of Q-IDs (entities mode)
maxItemsinteger100Max items to return (1โ€“500)

๐Ÿ†š How it compares

  • vs. raw SPARQL / Query Service โ€” no query language to learn, no timeouts on big result sets, and output lands directly in an Apify dataset you can export to JSON/CSV/Excel.
  • vs. writing your own client โ€” pagination, batching, retries, curl_cffi impersonation and schema-validated output are handled for you.
  • vs. generic scrapers โ€” purpose-built for Wikidata's entity model (Q-IDs, P31, claims), not brittle HTML parsing.


๐Ÿ›Ÿ Support

Questions, feature requests or a bug? Open an issue on the actor page and we'll respond quickly. Custom fields, extra properties or bulk plans are available on request.


Keywords: wikidata scraper, knowledge graph api, wikidata entities, q-id lookup, structured data, entity extraction, ai training data, semantic web, wikibase, linked data