{"uid":"cap_jP2xN6bo5M02Aax2lFGuD","slug":"wikipedia-pageviews-daily-monthly-traffic-stats-983523dd","name":"Wikipedia Pageviews — Daily & Monthly Traffic Stats","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/wikipedia-pageviews?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["title"],"properties":{"end":{"type":"string","description":"Optional window end date, ISO8601 'YYYY-MM-DD' or 'YYYYMMDD'. Defaults to 2 days ago (pageview data lags)."},"start":{"type":"string","description":"Optional window start date, ISO8601 'YYYY-MM-DD' or 'YYYYMMDD'. Defaults to 30 days before end."},"title":{"type":"string","description":"Wikipedia article title, e.g. 'Artificial intelligence'. Required, max 300 chars."},"granularity":{"type":"string","description":"Either 'daily' or 'monthly'. Default 'daily'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"},"title":{"type":"string"},"total":{"type":"integer"},"source":{"type":"string"},"trend_pct":{"type":"number"},"timeseries":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"views":{"type":"integer"}}}},"granularity":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"end":"20260607","start":"20260601","title":"Artificial intelligence","total":229704,"source":"Wikimedia Pageviews REST API","trend_pct":-12.4,"timeseries":[{"date":"2026-06-01","views":38866},{"date":"2026-06-02","views":41178}],"granularity":"daily"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vv1mFdrgyIfIEVHKAX_kH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily or monthly Wikipedia article pageview counts with totals, timeseries, and trend percentage for a given article title and date range.","exampleAgentPrompt":"How many times was the Wikipedia article 'Artificial intelligence' viewed over the last 30 days? Give me daily breakdown and whether interest is trending up or down.","exampleUseCases":[{"title":"Track topic popularity spike after news event","prompt":"Can you pull the daily Wikipedia pageview stats for 'Large language model' from January 1 to January 31, 2026, so I can see if there was a traffic spike after any announcements?"},{"title":"Monthly trend report for research topic","prompt":"Get me monthly Wikipedia pageview data for 'Climate change' for the past year — I want to see the total views and whether interest has been growing or shrinking."},{"title":"Competitive topic interest comparison","prompt":"How many people viewed the Wikipedia page on 'ChatGPT' in the last 30 days, and is the trend up or down? I want daily granularity."}],"resultDescription":"Returns a JSON object with the article title, start and end dates, granularity (daily or monthly), total pageviews across the period, a trend percentage (positive = growing, negative = declining), a timeseries array of {date, views} objects, and the source attribution ('Wikimedia Pageviews REST API').","failureModes":["Article title not found on Wikipedia — returns error or empty timeseries","Invalid date format — schema requires ISO8601 'YYYY-MM-DD' or 'YYYYMMDD'","Date range too recent — pageview data lags ~2 days, so very recent dates may return incomplete data","Start date after end date — may return empty or error response","Article title exceeds 300 character limit — validation error"],"whenToPreferThis":"Use this endpoint when you need quantitative traffic data for a specific Wikipedia article — daily or monthly view counts, totals, and trend direction. Prefer this over general web analytics tools when the subject is a Wikipedia page and you want structured, historical timeseries data without needing API keys or OAuth. Ideal for tracking topic interest over time, detecting spikes in public attention, or comparing periods.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:31:04.725Z","isFirstParty":false,"canonicalSlug":"wikipedia-pageviews-daily-monthly-traffic-stats-983523dd"}