Wikipedia Wikidata Entity API reference
Your first 10 calls are free, no card needed. Pricing and FAQ
Get a free API keycurl "https://api.insightsocial.app/v1/wikipedia/wikidata/entity?id=<id>" \ -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
Get a Wikidata item, property, lexeme or media entity, or resolve a wiki title to its entity.
Beta. The source's own structure under our naming rules (snake_case keys, string ids, ISO times where the source gives a timestamp), not one of the schema-2 entities. Fields may change. See Beta endpoints.
20 credits per call.
Authorization
apiKey Your key from the dashboard. It starts with isk_.
In: header
Query Parameters
Wikidata entity id (Q937, P31, L1, M925243), or a page title when site is given; props is then required.
Wikimedia site id (enwiki, dewiki, commonswiki). When set, id is a page title on that site and the entity it links to is returned; props is required.
Languages to return labels, descriptions and aliases in, comma-separated, e.g. en,de. Default: every language.
Entity parts to return, comma- or pipe-separated: info, sitelinks, labels, descriptions, aliases, claims. Required with site. Default: all six; without site or languages, the full entity.
Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.
Value in
- "1"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.insightsocial.app/v1/wikipedia/wikidata/entity?id=string"{ "success": true, "platform": "string", "endpoint": "string", "schema_version": "2", "pagination": { "next_cursor": "string", "has_more": true, "page_size": 0, "stopped_at": "since" }, "unavailable": [ "string" ], "credits_used": 0, "credits_remaining": 0, "request_id": "string", "cached": true, "idempotent_replay": true, "charge_reason": "string", "free_call": true, "data": { "property1": null, "property2": null }}