Global News and Media

Per-article pageview time series

Changed on

Daily or monthly pageview counts for a single Wikipedia article. Sourced from the Wikimedia Foundation Analytics Query Service (CC0). Article titles are case-sensitive and take URL form - spaces become underscores. Non-Latin titles are accepted (URL-encoded in the upstream call). Upstream cadence is ~1 day behind the current date.

get/api/v1/news/wikipedia/pageviews/article

Request

  • Base URL
    https://sugra.ai
  • Auth
    API key in header x-api-key

Query parameters

articlestring required

Article title (URL form with underscores for spaces, e.g. Donald_Trump, Artificial_intelligence). Case-sensitive.

projectstring

Wikimedia project domain (e.g. en.wikipedia, ru.wikipedia, commons.wikimedia).

accessstring

Access method filter (all-access, desktop, mobile-app, mobile-web).

agentstring

User-agent class filter (all-agents, user, spider, automated). Default user excludes bots and search-engine spiders.

granularitystring

Aggregation granularity (daily or monthly). Monthly requires whole months.

start_datestring required

Earliest date to include (ISO 8601 YYYY-MM-DD, inclusive).

end_datestring required

Latest date to include (ISO 8601 YYYY-MM-DD, inclusive).

Response

Chronological list of pageview buckets for the requested article.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "source_url": "https://fred.stlouisfed.org/series/UNRATE",
    "citation": "Federal Reserve Bank of St. Louis (FRED) - Unemployment Rate (UNRATE) - https://fred.stlouisfed.org/series/UNRATE - retrieved 2026-11-02",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      added subschema #1 to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    This list may be incomplete.