Speedtest by Ookla Countries API
Every country in the Speedtest Global Index, alphabetically, with its latest fixed and mobile median and mean rank, download, upload and latency (null where the country is not ranked for that type). Use slug with /countries/{slug}.
https://api.maviapi.com/v1/sites/speedtest/countries5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
qstring in query | Optional | None | optional filter by country name (substring, case and accents ignored), ISO-2 code or slug |
Response fields
counte.g.151countries
countrye.g."Afghanistan"country_codee.g."AF"sluge.g."afghanistan"fixed
median
ranke.g.150download_mbpse.g.5.53upload_mbpse.g.5.25latency_mse.g.21mean
ranke.g.150download_mbpse.g.20.16upload_mbpse.g.20.73latency_mse.g.38mobile
median
ranke.g.100download_mbpse.g.20.32upload_mbpse.g.8.6latency_mse.g.24mean
ranke.g.100download_mbpse.g.26.82upload_mbpse.g.10.85latency_mse.g.34pagination
counte.g.151has_moree.g.falsenext_cursorfetched_ate.g."2026-11-27T10:09:02.249Z"agee.g.0Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/speedtest/countries' \
-H "Authorization: Bearer $MAVI_KEY"Speedtest by Ookla Countries API questions
What you get, what it costs and how to call it.
What does the Speedtest by Ookla Countries API return?
Every country in the Speedtest Global Index, alphabetically, with its latest fixed and mobile median and mean rank, download, upload and latency (null where the country is not ranked for that type). Use slug with /countries/{slug}. The response has count, countries, pagination, fetched_at and age.
Which parameters does the Speedtest by Ookla Countries API take?
Every parameter of GET /countries is optional. You can pass q.
How much does one Speedtest by Ookla Countries 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 Countries API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/speedtest/countries 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 Countries 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.