The playground

Try any of 1042 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/wikipedia/v1/pageviews1 credit

daily/monthly traffic for an article over a date range → series + total + average

Working example
Parameters

Range start date, YYYYMMDD or YYYY-MM-DD. Supply both start AND end, or use `days` instead.

Range end date, YYYYMMDD or YYYY-MM-DD. Supply both start AND end, or use `days` instead.

Article title to pull traffic for.

Wikipedia language edition code (en, de, fr, ja, … 360+ editions). Default en.

Look-back window ending today, used when start/end are omitted (1-1000). (1–1000)

Bucket size. Anything not starting with 'month' is treated as daily.

Wikimedia Pageviews access channel (passed through to the REST API).

Wikimedia Pageviews agent class (passed through to the REST API).

request preview
curl -X POST https://api.reefapi.com/wikipedia/v1/pageviews \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"title":"Albert Einstein","start":"20240101","end":"20240131"}'

Hit Send to run this endpoint live.