Skip to content

Speedtest by Ookla Country API

One country's Speedtest Global Index report: latest fixed and mobile median and mean rank, previous rank, rank change, download, upload and latency, plus 13 months of monthly history (month, rank, speeds, latency, jitter) in date order. A month the country was not ranked is absent from its history.

GEThttps://api.maviapi.com/v1/sites/speedtest/countries/{slug}5 credits per call

Parameters

NameRequiredExampleDescription
slugstring in pathRequiredgermanycountry slug as given by /countries or /rankings, e.g. "germany", "united-states"

Response fields

countrystringe.g."Germany"
slugstringe.g."germany"
monthstringe.g."2026-10"
fixedobject2 fields
medianobject2 fields
latestobject6 fields
rankintegere.g.71
previous_rankintegere.g.70
rank_changeintegere.g.-1
download_mbpsnumbere.g.104.17
upload_mbpsnumbere.g.38.55
latency_msintegere.g.12
historyobject[]6 fields
monthstringe.g."2025-10"
rankintegere.g.59
download_mbpsnumbere.g.101.08
upload_mbpsnumbere.g.37.02
latency_msintegere.g.12
jitter_msintegere.g.3
meanobject2 fields
latestobject6 fields
rankintegere.g.66
previous_rankintegere.g.64
rank_changeintegere.g.-2
download_mbpsnumbere.g.206.96
upload_mbpsnumbere.g.69.17
latency_msintegere.g.21
historyobject[]6 fields
monthstringe.g."2025-10"
rankintegere.g.55
download_mbpsnumbere.g.197.82
upload_mbpsnumbere.g.61.31
latency_msintegere.g.19
jitter_msintegere.g.19
mobileobject2 fields
medianobject2 fields
latestobject6 fields
rankintegere.g.4
previous_rankintegere.g.4
rank_changeintegere.g.0
download_mbpsnumbere.g.289.4
upload_mbpsnumbere.g.38.74
latency_msintegere.g.19
historyobject[]6 fields
monthstringe.g."2025-10"
rankintegere.g.56
download_mbpsnumbere.g.75.67
upload_mbpsnumbere.g.14.81
latency_msintegere.g.23
jitter_msintegere.g.7
meanobject2 fields
latestobject6 fields
rankintegere.g.12
previous_rankintegere.g.7
rank_changeintegere.g.-5
download_mbpsnumbere.g.290.79
upload_mbpsnumbere.g.43.51
latency_msintegere.g.23
historyobject[]6 fields
monthstringe.g."2025-10"
rankintegere.g.50
download_mbpsnumbere.g.146.64
upload_mbpsnumbere.g.22.78
latency_msintegere.g.28
jitter_msintegere.g.22
fetched_atstringe.g."2026-11-27T10:09:02.396Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/speedtest/countries/germany' \
  -H "Authorization: Bearer $MAVI_KEY"

Speedtest by Ookla Country API questions

What you get, what it costs and how to call it.

What does the Speedtest by Ookla Country API return?

One country's Speedtest Global Index report: latest fixed and mobile median and mean rank, previous rank, rank change, download, upload and latency, plus 13 months of monthly history (month, rank, speeds, latency, jitter) in date order. A month the country was not ranked is absent from its history. The response has country, slug, month, fixed, mobile, fetched_at and age.

Which parameters does the Speedtest by Ookla Country API take?

GET /countries/{slug} needs slug (for example germany).

How much does one Speedtest by Ookla Country API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Speedtest by Ookla Country API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/speedtest/countries/{slug} with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Speedtest by Ookla Country API official?

No. It is an independent, hosted API from maviapi for the public data on speedtest.net, and it is not made, endorsed or supported by Speedtest by Ookla. Its parameters and response fields are documented on this page.