Wikidata Entities & Knowledge Graph Scraper avatar

Wikidata Entities & Knowledge Graph Scraper

Pricing

from $12.75 / 1,000 results

Go to Apify Store
Wikidata Entities & Knowledge Graph Scraper

Wikidata Entities & Knowledge Graph Scraper

Search Wikidata and export matching entities as clean structured data. Get each entity's label, description, aliases, type, country, official website, inception date and industry, plus the Wikidata URL. Great for research and KYB enrichment. Export to JSON, CSV or Excel.

Pricing

from $12.75 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 hours ago

Last modified

Share

Wikidata Entities & Knowledge Graph Scraper

Wikidata Entities & Knowledge Graph Scraper

Here is one real result, with every field the actor returns:

{
"qid": "Q95",
"label": "Google",
"description": "American multinational technology company, a subsidiary of Alphabet Inc.",
"aliases": [],
"instanceOf": "business",
"country": "United States",
"industry": "Internet industry",
"headquarters": "Mountain View",
"website": "https://about.google/",
"inception": "1998-09-04",
"email": "opensource@google.com",
"phone": null,
"twitter": "https://twitter.com/Google",
"facebook": "https://www.facebook.com/google",
"instagram": "https://www.instagram.com/google",
"youtube": "https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA",
"linkedin": "https://www.linkedin.com/company/google",
"github": "https://github.com/google",
"crunchbase": "https://www.crunchbase.com/organization/google",
"ceo": "Larry Page",
"founders": ["Sergey Brin", "Larry Page"],
"parentOrganization": "Alphabet Inc.",
"legalForm": "corporation",
"stockExchange": "Nasdaq",
"employees": 47756,
"officialName": "Google LLC",
"logo": "https://commons.wikimedia.org/wiki/Special:FilePath/Google_2026_logo.svg",
"image": "https://commons.wikimedia.org/wiki/Special:FilePath/Googleplex_HQ_(cropped).jpg",
"latitude": null,
"longitude": null,
"url": "https://www.wikidata.org/wiki/Q95",
"source": "Wikidata",
"observedAt": "2026-08-10T14:29:22.011Z"
}

The most complete Wikidata entity scraper available. It searches the Wikidata knowledge graph by keyword and returns a flat, enriched record per entity, resolving item references into human-readable values and pulling out contact, social, corporate and geo fields so you can use the data without writing SPARQL.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor searches Wikidata for the keyword you pass, opens each matching entity, resolves its statements (turning item Q-ids into readable labels), and writes one normalized record per entity to the run's dataset. It pulls out contact fields (email, phone), social profiles (Twitter, Facebook, Instagram, YouTube, LinkedIn, GitHub, Crunchbase), corporate fields (CEO, founders, parent organization, legal form, stock exchange, employees) and geo coordinates when present. Missing source values are returned as null.

Data covers any entity in Wikidata: companies, people, places, organizations, works and more. Fields that do not apply to a given entity type are returned as null.

Quickstart

Open the actor, paste this into the input, and press Run. It returns the 10 top Wikidata entities matching Google.

{
"maxEntities": 10,
"searchQuery": "Google"
}

Change searchQuery to any name or keyword (for example Albert Einstein, Paris, Tesla). Both fields are optional; maxEntities defaults to 10.

Input reference

FieldTypeRequiredDefaultDescription
maxEntitiesintegerno10Maximum number of entities to collect.
searchQuerystringnoGoogleThe keyword or entity name to search for on Wikidata, for example Google, Albert Einstein, Paris.

Output reference

One dataset item per entity. Types: string, integer, number, string[], or null when the source value is absent or does not apply to the entity type.

FieldTypeDescription
qidstringWikidata entity ID (Q-number), for example Q95.
labelstringPrimary English label of the entity.
descriptionstringShort English description from Wikidata.
aliasesstring[]Alternative names/aliases. Empty array when none.
instanceOfstringWhat the entity is (resolved instance of), for example business.
countrystringCountry associated with the entity.
industrystringIndustry, for company entities.
headquartersstringHeadquarters location.
websitestringOfficial website URL.
inceptionstringFounding/inception date (YYYY-MM-DD when known).
emailstringPublic contact email when present, else null.
phonestringPublic phone when present, else null.
twitterstringTwitter/X profile URL, or null.
facebookstringFacebook profile URL, or null.
instagramstringInstagram profile URL, or null.
youtubestringYouTube channel URL, or null.
linkedinstringLinkedIn company/person URL, or null.
githubstringGitHub profile/organization URL, or null.
crunchbasestringCrunchbase organization URL, or null.
ceostringChief executive officer name, for companies.
foundersstring[]Founder names. Empty array when none.
parentOrganizationstringParent organization name, or null.
legalFormstringLegal form, for example corporation.
stockExchangestringStock exchange the entity is listed on.
employeesintegerNumber of employees when published, else null.
officialNamestringOfficial/legal name, for example Google LLC.
logostringLogo image URL (Wikimedia Commons).
imagestringRepresentative image URL (Wikimedia Commons).
latitudenumberLatitude when the entity has coordinates, else null.
longitudenumberLongitude when the entity has coordinates, else null.
urlstringWikidata entity page URL.
sourcestringConstant Wikidata.
observedAtstringISO 8601 timestamp of when the record was collected.

Example output record

Real record from a live run (input {"maxEntities": 10, "searchQuery": "Google"}):

{
"qid": "Q95",
"label": "Google",
"description": "American multinational technology company, a subsidiary of Alphabet Inc.",
"aliases": [],
"instanceOf": "business",
"country": "United States",
"industry": "Internet industry",
"headquarters": "Mountain View",
"website": "https://about.google/",
"inception": "1998-09-04",
"email": "opensource@google.com",
"phone": null,
"twitter": "https://twitter.com/Google",
"facebook": "https://www.facebook.com/google",
"instagram": "https://www.instagram.com/google",
"youtube": "https://www.youtube.com/channel/UCK8sQmJBp8GCxrOtXWBpyEA",
"linkedin": "https://www.linkedin.com/company/google",
"github": "https://github.com/google",
"crunchbase": "https://www.crunchbase.com/organization/google",
"ceo": "Larry Page",
"founders": ["Sergey Brin", "Larry Page"],
"parentOrganization": "Alphabet Inc.",
"legalForm": "corporation",
"stockExchange": "Nasdaq",
"employees": 47756,
"officialName": "Google LLC",
"logo": "https://commons.wikimedia.org/wiki/Special:FilePath/Google_2026_logo.svg",
"image": "https://commons.wikimedia.org/wiki/Special:FilePath/Googleplex_HQ_(cropped).jpg",
"latitude": null,
"longitude": null,
"url": "https://www.wikidata.org/wiki/Q95",
"source": "Wikidata",
"observedAt": "2026-08-10T14:29:22.011Z"
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~wikidata-entities-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"searchQuery":"Tesla","maxEntities":10}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~wikidata-entities-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"searchQuery":"Albert Einstein","maxEntities":25}'

Apify CLI:

apify call scrapers_lat/wikidata-entities-scraper \
--input '{"searchQuery":"Paris","maxEntities":10}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per entity returned (result event). See the pricing tab for the current per-result price.
  • No charge on failure. If a run errors, the actor does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 entities per run. Upgrade for higher maxEntities.

FAQ and troubleshooting

A run returned 0 records. Why? The keyword matched no Wikidata entity. Try a broader or differently spelled searchQuery. Zero-result runs are not charged.

Why are so many fields null for my entity? Wikidata coverage varies by entity. Fields that do not apply to an entity type (for example ceo on a place) or that are simply not filled in on Wikidata are returned as null, never invented.

How do I get one specific entity? Search for its exact name. The first matching result is usually the entity you want; increase maxEntities to see close matches.

Do I need to know SPARQL? No. The actor handles the graph queries and reference resolution and returns flat, readable records.

Is this an official Wikidata tool? No. This actor is independent and has no affiliation with Wikidata or the Wikimedia Foundation. It reads only publicly available Wikidata content, which is released under CC0.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with Wikidata or the Wikimedia Foundation. Accesses only publicly available Wikidata content (CC0).