Skip to content

Speedtest by Ookla Cities API

Speedtest Global Index city ranking (median speeds) for the latest month, ordered by rank, with download, upload, latency, jitter and rank change per city.

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

Parameters

NameRequiredExampleDescription
typestring in queryOptionalfixedconnection type, "fixed" (broadband) or "mobile"One of fixed, mobile
qstring in queryOptionalNoneoptional filter by city name (substring, case and accents ignored), or by country name, ISO-2 code or slug

Response fields

typestringe.g."fixed"
metricstringe.g."median"
monthstringe.g."2026-10"
countintegere.g.192
citiesobject[]11 fields
rankintegere.g.1
rank_changeintegere.g.0
citystringe.g."Abu Dhabi"
countrystringe.g."United Arab Emirates"
country_codestringe.g."AE"
country_slugstringe.g."united-arab-emirates"
download_mbpsnumbere.g.414.86
upload_mbpsnumbere.g.224.09
latency_msintegere.g.5
jitter_msintegere.g.2
monthstringe.g."2026-10"
paginationobject3 fields
countintegere.g.192
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:09:02.232Z"
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/cities' \
  -H "Authorization: Bearer $MAVI_KEY"

Speedtest by Ookla Cities API questions

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

What does the Speedtest by Ookla Cities API return?

Speedtest Global Index city ranking (median speeds) for the latest month, ordered by rank, with download, upload, latency, jitter and rank change per city. The response has type, metric, month, count, cities, pagination, fetched_at and age.

Which parameters does the Speedtest by Ookla Cities API take?

Every parameter of GET /cities is optional. You can pass type and q.

How much does one Speedtest by Ookla Cities 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 Cities API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/speedtest/cities 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 Cities 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.