Global News and Media

Unique device counts

Changed on

Approximate unique-device counts for a Wikimedia project. Wikimedia does not fingerprint users; the returned devices figure is a lower bound on the real unique-visitor count. offset is the upper-bound delta - the true figure lies between devices and devices + offset. Sourced from the Wikimedia Foundation Analytics Query Service (CC0).

get/api/v1/news/wikipedia/unique-devices

Request

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

Query parameters

projectstring

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

access_sitestring

Access-site filter (all-sites, desktop-site, mobile-site). Distinct vocabulary from access.

granularitystring

Aggregation granularity (daily or monthly).

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 unique-device buckets with privacy-bound fields.

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 meta/citation to the response with the status

    • info

      added the optional property meta/source_url to the response with the status

    • breaking

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

    12 more changes in this revision