Skip to content

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}.

GEThttps://api.maviapi.com/v1/sites/speedtest/countries5 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalNoneoptional filter by country name (substring, case and accents ignored), ISO-2 code or slug

Response fields

countintegere.g.151
countriesobject[]5 fields
countrystringe.g."Afghanistan"
country_codestringe.g."AF"
slugstringe.g."afghanistan"
fixedobject2 fields
medianobject4 fields
rankintegere.g.150
download_mbpsnumbere.g.5.53
upload_mbpsnumbere.g.5.25
latency_msintegere.g.21
meanobject4 fields
rankintegere.g.150
download_mbpsnumbere.g.20.16
upload_mbpsnumbere.g.20.73
latency_msintegere.g.38
mobileobject2 fields
medianobject4 fields
rankintegere.g.100
download_mbpsnumbere.g.20.32
upload_mbpsnumbere.g.8.6
latency_msintegere.g.24
meanobject4 fields
rankintegere.g.100
download_mbpsnumbere.g.26.82
upload_mbpsnumbere.g.10.85
latency_msintegere.g.34
paginationobject3 fields
countintegere.g.151
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:09:02.249Z"
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' \
  -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.