InsightSocial
GET /v1/wikipedia/pagesbeta

Wikipedia Pages API

Get up to 20 Wikipedia pages in one call, with the lookup status of each requested title.

20–260 credits, metered · single call · failed calls free

curl "https://api.insightsocial.app/v1/wikipedia/pages?titles=<titles>" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "wikipedia",
"endpoint": "/v1/wikipedia/pages",
"schema_version": "2",
"data": {
"<field>": "<value>"
},
"unavailable": [],
"credits_used": "<integer>"
}

Parameters

Query parameters for GET /v1/wikipedia/pages. Send your key in the x-api-key header.

NameRequiredDescription
titlesYesPage titles separated by | (titles may contain commas), 1 to 20, e.g. Albert Einstein|Barack Obama. Duplicates are dropped.
langNoWikimedia edition code, e.g. en, de, ja, simple or zh-min-nan. Default: en.

Response

This endpoint is beta: data holds the platform's own fields under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp) rather than a unified post or profile, and those fields may change.

Every field, error and example is in the Wikipedia Pages API reference.

How much does the Wikipedia Pages API cost?

Metered: 20–260 credits a call. The ceiling is reserved when the call starts and you are charged what it actually read.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Know the price first

    Add dry_run=1 and the response quotes the call without making it. Nothing is charged.

  • One balance

    API calls and Chrome extension exports share the same credits, on the free plan too.

Wikipedia Pages API: frequently asked questions

Send GET /v1/wikipedia/pages with the titles parameter and your key in the x-api-key header. Get up to 20 Wikipedia pages in one call, with the lookup status of each requested title.