{"uid":"cap_0sNcz5alew1PzNXyCwWVh","slug":"wikimedia-per-article-pageviews-api-x402-f7d61089","name":"Wikimedia Per-Article Pageviews API (x402)","description":"Wikimedia REST per-article pageviews (keyless). POST {article|title, start, end, project?, access?, agent?, granularity?}. Unpaid empty → 402; after settle empty/invalid → 400 charged:false. Soft disclose wikidata-entity / wikipedia-summary.","url":"https://x402-v2-mint-wikimedia-pageviews.vercel.app/v1/wikimedia-pageviews?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end":{"type":"string","maxLength":16},"agent":{"type":"string","maxLength":32},"start":{"type":"string","maxLength":16},"title":{"type":"string","maxLength":256},"access":{"type":"string","maxLength":32},"article":{"type":"string","maxLength":256},"project":{"type":"string","maxLength":64},"request_id":{"type":"string"},"granularity":{"type":"string","maxLength":16}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"wikimedia-pageviews","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020177","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.020177/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020177","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020177","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1qCbvCcR085JfDOsvm6v9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.020177","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical pageview counts for a specific Wikipedia article over a given date range, billed per call via the x402 micropayment protocol.","exampleAgentPrompt":"Can you pull the daily Wikipedia pageview counts for the article 'Climate change' from January 1 2024 to January 31 2024 on the English Wikipedia?","exampleUseCases":[{"title":"Trending topic traffic analysis","prompt":"What were the daily pageview counts for the 'COVID-19 pandemic' Wikipedia article from March 1 2020 to March 31 2020 on English Wikipedia? I want to see how traffic spiked."},{"title":"Content popularity benchmarking","prompt":"Get me the monthly pageview totals for the 'Taylor Swift' Wikipedia article from January 2023 through December 2023 so I can chart her annual Wikipedia traffic."},{"title":"Research article virality check","prompt":"How many times was the Wikipedia article 'ChatGPT' viewed each day between November 1 2022 and November 30 2022 on en.wikipedia.org?"}],"resultDescription":"Returns a JSON object with ok status, skill identifier ('wikimedia-pageviews'), a charged boolean indicating whether the micropayment was successfully processed, a summary string, and the underlying Wikimedia pageview data including per-day or per-month view counts for the requested article and date range.","failureModes":["402 Payment Required with empty body if payment has not been settled — must complete x402 payment flow first","400 Bad Request with charged:false if payment settled but article title is missing or invalid","404-equivalent if the specified article does not exist on the target Wikipedia project","Invalid date format causing rejection if start/end are not in expected YYYYMMDD format","Incorrect project or access enum values causing Wikimedia upstream errors"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call access to Wikimedia per-article pageview data without managing API keys, and when your workflow supports the x402 micropayment protocol. It is ideal for agents that need on-demand Wikipedia traffic lookups without committing to a bulk data pipeline or Wikimedia API rate limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:34:41.182Z","isFirstParty":false,"canonicalSlug":"wikimedia-per-article-pageviews-api-x402-f7d61089"}