Wikipedia Pageviews Top 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/pageviews/top" \ -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
Get the most-viewed Wikipedia pages of a day or month, including non-article pages.
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
Wikimedia edition code, e.g. en, de, ja, simple or zh-min-nan. Default: en.
articles for the most-viewed articles (the default), countries for the countries that viewed the edition most.
Value in
- "articles"
- "countries"
Day (YYYY-MM-DD) for mode=articles, month (YYYY-MM) for mode=countries. Default: the latest published one, which is yesterday or last month (UTC), or the one before while that list is not out yet.
Access method. Default: all-access.
Value in
- "all-access"
- "desktop"
- "mobile-app"
- "mobile-web"
Country code. With mode=articles, ranks that country's articles instead of the global list.
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/pageviews/top"{ "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 }}