Skip to content

Last updated

Changelog

Speedtest by Ookla API

HealthyRead-only

Internet speed statistics from the Speedtest Global Index: country and city rankings for fixed broadband and mobile (download, upload, latency), monthly history per country, worldwide averages, and Speedtest test-server search. Generated from www.speedtest.net.

Base URL
https://api.maviapi.com/v1/sites/speedtest
9
Endpoints
28 min ago
Last verified
100%
Uptime / 7d
930ms
p50 latency
1
Self-repairs / all time
GET/servers5 credits per call

Servers

Speedtest test servers whose city, country or sponsor (network) matches the search, up to 100, ordered by country, city and id: id, city name, sponsor, country, host, HTTPS support, coordinates and ISP id.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

city, country or sponsor name, e.g. "berlin", "Vodafone"

searchstringe.g."berlin"
countintegere.g.24
serversobject[]10 fields
idstringe.g."71810"
namestringe.g."Camaçari"
sponsorstringe.g."Cyberlink"
countrystringe.g."Brazil"
country_codestringe.g."BR"
hoststringe.g."speedtest-cam1.cyberlink.net.br:8080"
httpsbooleane.g.true
latnumbere.g.-12.7002
lonnumbere.g.-38.3253
isp_idstringe.g."185806"
paginationobject3 fields
countintegere.g.24
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:09:02.668Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/speedtest/servers?search=berlin
Request
curl "https://api.maviapi.com/v1/sites/speedtest/servers?search=berlin" \
-H "Authorization: Bearer $MAVI_KEY"
Example493 B
{
  "search": "berlin",
  "count": 24,
  "servers": [
    {
      "id": "71810",
      "name": "Camaçari",
      "sponsor": "Cyberlink",
      "country": "Brazil",
      "country_code": "BR",
      "host": "speedtest-cam1.cyberlink.net.br:8080",
      "https": true,
      "lat": -12.7002,
      "lon": -38.3253,
      "isp_id": "185806"
    }
  ],
  "pagination": {
    "count": 24,
    "has_more": false,
    "next_cursor": null
  },
  "fetched_at": "2026-11-27T10:09:02.668Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /servers into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Speedtest by Ookla API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Speedtest by Ookla API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=speedtest -- npx -y '@maviapi/mcp'

Import Speedtest by Ookla API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/speedtest/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/speedtest/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Build with the Speedtest by Ookla API

Choose a starting endpoint

  • Servers GET /servers

    Speedtest test servers whose city, country or sponsor (network) matches the search, up to 100, ordered by country, city and id: id, city name, sponsor, country, host, HTTPS support, coordinates and ISP id.

    Parameters and response fields for GET /servers
    Request parameters
    NameType / locationRequiredDescription
    searchstring / queryNocity, country or sponsor name, e.g. "berlin", "Vodafone"
    Response fields
    FieldTypeDescription
    searchstring
    countinteger
    serversobject[]
    servers[].idstring
    servers[].namestring
    servers[].sponsorstring
    servers[].countrystring
    servers[].country_codestring
    servers[].hoststring
    servers[].httpsboolean
    servers[].latnumber
    servers[].lonnumber
    servers[].isp_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Explore GET /explore

    Country overview in one call: the country's latest fixed and mobile median/mean ranks and speeds, its ranked cities (fixed and mobile, by rank), its 13-month history and its Speedtest test servers in that country (up to 100, ordered by city and id). found is false when no country matches q.

    Parameters and response fields for GET /explore
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNocountry name (exact, else the first country whose name contains it), ISO-2 code or slug
    includestring / queryNoextra legs to add: "all" (history and servers), "history", "servers" or "none"; history is null and servers empty when left out Allowed values: all, history, servers, none.
    Response fields
    FieldTypeDescription
    querystring
    foundboolean
    countryobject
    country.countrystring
    country.country_codestring
    country.slugstring
    country.fixedobject
    country.fixed.medianobject
    country.fixed.median.rankinteger
    country.fixed.median.download_mbpsnumber
    country.fixed.median.upload_mbpsnumber
    country.fixed.median.latency_msinteger
    country.fixed.meanobject
    country.fixed.mean.rankinteger
    country.fixed.mean.download_mbpsnumber
    country.fixed.mean.upload_mbpsnumber
    country.fixed.mean.latency_msinteger
    country.mobileobject
    country.mobile.medianobject
    country.mobile.median.rankinteger
    country.mobile.median.download_mbpsnumber
    country.mobile.median.upload_mbpsnumber
    country.mobile.median.latency_msinteger
    country.mobile.meanobject
    country.mobile.mean.rankinteger
    country.mobile.mean.download_mbpsnumber
    country.mobile.mean.upload_mbpsnumber
    country.mobile.mean.latency_msinteger
    citiesobject
    cities.fixedobject[]
    cities.fixed[].rankinteger
    cities.fixed[].rank_changeinteger
    cities.fixed[].citystring
    cities.fixed[].countrystring
    cities.fixed[].country_codestring
    cities.fixed[].country_slugstring
    cities.fixed[].download_mbpsnumber
    cities.fixed[].upload_mbpsnumber
    cities.fixed[].latency_msinteger
    cities.fixed[].jitter_msinteger
    cities.fixed[].monthstring
    cities.mobileobject[]
    cities.mobile[].rankinteger
    cities.mobile[].rank_changeinteger
    cities.mobile[].citystring
    cities.mobile[].countrystring
    cities.mobile[].country_codestring
    cities.mobile[].country_slugstring
    cities.mobile[].download_mbpsnumber
    cities.mobile[].upload_mbpsnumber
    cities.mobile[].latency_msinteger
    cities.mobile[].jitter_msinteger
    cities.mobile[].monthstring
    historyobject
    history.fixedobject
    history.fixed.medianobject
    history.fixed.median.latestobject
    history.fixed.median.latest.rankinteger
    history.fixed.median.latest.previous_rankinteger
    history.fixed.median.latest.rank_changeinteger
    history.fixed.median.latest.download_mbpsnumber
    history.fixed.median.latest.upload_mbpsnumber
    history.fixed.median.latest.latency_msinteger
    history.fixed.median.historyobject[]
    history.fixed.median.history[].monthstring
    history.fixed.median.history[].rankinteger
    history.fixed.median.history[].download_mbpsnumber
    history.fixed.median.history[].upload_mbpsnumber
    history.fixed.median.history[].latency_msinteger
    history.fixed.median.history[].jitter_msinteger
    history.fixed.meanobject
    history.fixed.mean.latestobject
    history.fixed.mean.latest.rankinteger
    history.fixed.mean.latest.previous_rankinteger
    history.fixed.mean.latest.rank_changeinteger
    history.fixed.mean.latest.download_mbpsnumber
    history.fixed.mean.latest.upload_mbpsnumber
    history.fixed.mean.latest.latency_msinteger
    history.fixed.mean.historyobject[]
    history.fixed.mean.history[].monthstring
    history.fixed.mean.history[].rankinteger
    history.fixed.mean.history[].download_mbpsnumber
    history.fixed.mean.history[].upload_mbpsnumber
    history.fixed.mean.history[].latency_msinteger
    history.fixed.mean.history[].jitter_msinteger
    history.mobileobject
    history.mobile.medianobject
    history.mobile.median.latestobject
    history.mobile.median.latest.rankinteger
    history.mobile.median.latest.previous_rankinteger
    history.mobile.median.latest.rank_changeinteger
    history.mobile.median.latest.download_mbpsnumber
    history.mobile.median.latest.upload_mbpsnumber
    history.mobile.median.latest.latency_msinteger
    history.mobile.median.historyobject[]
    history.mobile.median.history[].monthstring
    history.mobile.median.history[].rankinteger
    history.mobile.median.history[].download_mbpsnumber
    history.mobile.median.history[].upload_mbpsnumber
    history.mobile.median.history[].latency_msinteger
    history.mobile.median.history[].jitter_msinteger
    history.mobile.meanobject
    history.mobile.mean.latestobject
    history.mobile.mean.latest.rankinteger
    history.mobile.mean.latest.previous_rankinteger
    history.mobile.mean.latest.rank_changeinteger
    history.mobile.mean.latest.download_mbpsnumber
    history.mobile.mean.latest.upload_mbpsnumber
    history.mobile.mean.latest.latency_msinteger
    history.mobile.mean.historyobject[]
    history.mobile.mean.history[].monthstring
    history.mobile.mean.history[].rankinteger
    history.mobile.mean.history[].download_mbpsnumber
    history.mobile.mean.history[].upload_mbpsnumber
    history.mobile.mean.history[].latency_msinteger
    history.mobile.mean.history[].jitter_msinteger
    serversobject[]
    servers[].idstring
    servers[].namestring
    servers[].sponsorstring
    servers[].countrystring
    servers[].country_codestring
    servers[].hoststring
    servers[].httpsboolean
    servers[].latnumber
    servers[].lonnumber
    servers[].isp_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Rankings GET /rankings

    Speedtest Global Index country ranking for the latest month, ordered by rank: download, upload, latency, jitter, rank and month-over-month rank change per country.

    Parameters and response fields for GET /rankings
    Request parameters
    NameType / locationRequiredDescription
    typestring / queryNoconnection type, "fixed" (broadband) or "mobile" Allowed values: fixed, mobile.
    metricstring / queryNostatistic the ranking is based on, "median" or "mean" Allowed values: median, mean.
    qstring / queryNooptional filter by country name (substring, case and accents ignored), ISO-2 code or slug
    Response fields
    FieldTypeDescription
    typestring
    metricstring
    monthstring
    countinteger
    countriesobject[]
    countries[].rankinteger
    countries[].rank_changeinteger
    countries[].countrystring
    countries[].country_codestring
    countries[].slugstring
    countries[].download_mbpsnumber
    countries[].upload_mbpsinteger
    countries[].latency_msinteger
    countries[].jitter_msinteger
    countries[].monthstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Cities GET /cities

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

    Parameters and response fields for GET /cities
    Request parameters
    NameType / locationRequiredDescription
    typestring / queryNoconnection type, "fixed" (broadband) or "mobile" Allowed values: fixed, mobile.
    qstring / queryNooptional filter by city name (substring, case and accents ignored), or by country name, ISO-2 code or slug
    Response fields
    FieldTypeDescription
    typestring
    metricstring
    monthstring
    countinteger
    citiesobject[]
    cities[].rankinteger
    cities[].rank_changeinteger
    cities[].citystring
    cities[].countrystring
    cities[].country_codestring
    cities[].country_slugstring
    cities[].download_mbpsnumber
    cities[].upload_mbpsnumber
    cities[].latency_msinteger
    cities[].jitter_msinteger
    cities[].monthstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Countries GET /countries

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

    Parameters and response fields for GET /countries
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNooptional filter by country name (substring, case and accents ignored), ISO-2 code or slug
    Response fields
    FieldTypeDescription
    countinteger
    countriesobject[]
    countries[].countrystring
    countries[].country_codestring
    countries[].slugstring
    countries[].fixedobject
    countries[].fixed.medianobject
    countries[].fixed.median.rankinteger
    countries[].fixed.median.download_mbpsnumber
    countries[].fixed.median.upload_mbpsnumber
    countries[].fixed.median.latency_msinteger
    countries[].fixed.meanobject
    countries[].fixed.mean.rankinteger
    countries[].fixed.mean.download_mbpsnumber
    countries[].fixed.mean.upload_mbpsnumber
    countries[].fixed.mean.latency_msinteger
    countries[].mobileobject
    countries[].mobile.medianobject
    countries[].mobile.median.rankinteger
    countries[].mobile.median.download_mbpsnumber
    countries[].mobile.median.upload_mbpsnumber
    countries[].mobile.median.latency_msinteger
    countries[].mobile.meanobject
    countries[].mobile.mean.rankinteger
    countries[].mobile.mean.download_mbpsnumber
    countries[].mobile.mean.upload_mbpsnumber
    countries[].mobile.mean.latency_msinteger
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Result GET /results/{id}

    One shared Speedtest result by id: test time (UTC), download and upload in Mbps, ping and idle/download/upload loaded latencies in ms, ISP, provider, connection type and mode, test server and additional servers. An unknown id returns only id and found:false.

    Parameters and response fields for GET /results/{id}
    Request parameters
    NameType / locationRequiredDescription
    idstring / pathYesnumeric Speedtest result id, the number in a speedtest.net/result/<id> share link
    Response fields
    FieldTypeDescription
    idstring
    foundboolean
    urlstring
    image_urlstring
    tested_atstring
    download_mbpsnumber
    upload_mbpsnumber
    ping_msinteger
    idle_latency_msinteger
    download_latency_msinteger
    upload_latency_msinteger
    ispstring
    providernull
    connection_typestring
    connection_modestring
    serverobject
    server.namestring
    server.sponsorstring
    server.sponsor_urlnull
    additional_serversobject[]
    additional_servers[].idstring
    additional_servers[].namestring
    additional_servers[].sponsorstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Explore V2 GET /explore-v2

    Country overview in one call with exact country matching: what q resolved to, the country's latest fixed and mobile median/mean ranks and speeds, its ranked cities, 13-month history and Speedtest test servers in that country (up to 100, ordered by city and id). "UK" is the United Kingdom, never Ukraine. A q with no exact match is answered 400 with candidate countries.

    Parameters and response fields for GET /explore-v2
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNocountry matched exactly, case and accents ignored: ISO-2 code (GB), ISO-3 code (GBR), name (United Kingdom), slug (united-kingdom) or a common alias (UK, USA, UAE, Holland)
    includestring / queryNoextra legs to add: "all" (history and servers), "history", "servers" or "none"; history is null and servers empty when left out Allowed values: all, history, servers, none.
    Response fields
    FieldTypeDescription
    querystring
    resolvedobject
    resolved.inputstring
    resolved.idstring
    resolved.namestring
    resolved.typestring
    resolved.country_codestring
    resolved.iso3string
    resolved.matched_bystring
    countryobject
    country.countrystring
    country.country_codestring
    country.slugstring
    country.fixedobject
    country.fixed.medianobject
    country.fixed.median.rankinteger
    country.fixed.median.download_mbpsnumber
    country.fixed.median.upload_mbpsnumber
    country.fixed.median.latency_msinteger
    country.fixed.meanobject
    country.fixed.mean.rankinteger
    country.fixed.mean.download_mbpsnumber
    country.fixed.mean.upload_mbpsnumber
    country.fixed.mean.latency_msinteger
    country.mobileobject
    country.mobile.medianobject
    country.mobile.median.rankinteger
    country.mobile.median.download_mbpsnumber
    country.mobile.median.upload_mbpsnumber
    country.mobile.median.latency_msinteger
    country.mobile.meanobject
    country.mobile.mean.rankinteger
    country.mobile.mean.download_mbpsnumber
    country.mobile.mean.upload_mbpsnumber
    country.mobile.mean.latency_msinteger
    citiesobject
    cities.fixedobject[]
    cities.fixed[].rankinteger
    cities.fixed[].rank_changeinteger
    cities.fixed[].citystring
    cities.fixed[].countrystring
    cities.fixed[].country_codestring
    cities.fixed[].country_slugstring
    cities.fixed[].download_mbpsnumber
    cities.fixed[].upload_mbpsnumber
    cities.fixed[].latency_msinteger
    cities.fixed[].jitter_msinteger
    cities.fixed[].monthstring
    cities.mobileobject[]
    cities.mobile[].rankinteger
    cities.mobile[].rank_changeinteger
    cities.mobile[].citystring
    cities.mobile[].countrystring
    cities.mobile[].country_codestring
    cities.mobile[].country_slugstring
    cities.mobile[].download_mbpsnumber
    cities.mobile[].upload_mbpsnumber
    cities.mobile[].latency_msinteger
    cities.mobile[].jitter_msinteger
    cities.mobile[].monthstring
    historyobject
    history.fixedobject
    history.fixed.medianobject
    history.fixed.median.latestobject
    history.fixed.median.latest.rankinteger
    history.fixed.median.latest.previous_rankinteger
    history.fixed.median.latest.rank_changeinteger
    history.fixed.median.latest.download_mbpsnumber
    history.fixed.median.latest.upload_mbpsnumber
    history.fixed.median.latest.latency_msinteger
    history.fixed.median.historyobject[]
    history.fixed.median.history[].monthstring
    history.fixed.median.history[].rankinteger
    history.fixed.median.history[].download_mbpsnumber
    history.fixed.median.history[].upload_mbpsnumber
    history.fixed.median.history[].latency_msinteger
    history.fixed.median.history[].jitter_msinteger
    history.fixed.meanobject
    history.fixed.mean.latestobject
    history.fixed.mean.latest.rankinteger
    history.fixed.mean.latest.previous_rankinteger
    history.fixed.mean.latest.rank_changeinteger
    history.fixed.mean.latest.download_mbpsnumber
    history.fixed.mean.latest.upload_mbpsnumber
    history.fixed.mean.latest.latency_msinteger
    history.fixed.mean.historyobject[]
    history.fixed.mean.history[].monthstring
    history.fixed.mean.history[].rankinteger
    history.fixed.mean.history[].download_mbpsnumber
    history.fixed.mean.history[].upload_mbpsnumber
    history.fixed.mean.history[].latency_msinteger
    history.fixed.mean.history[].jitter_msinteger
    history.mobileobject
    history.mobile.medianobject
    history.mobile.median.latestobject
    history.mobile.median.latest.rankinteger
    history.mobile.median.latest.previous_rankinteger
    history.mobile.median.latest.rank_changeinteger
    history.mobile.median.latest.download_mbpsnumber
    history.mobile.median.latest.upload_mbpsnumber
    history.mobile.median.latest.latency_msinteger
    history.mobile.median.historyobject[]
    history.mobile.median.history[].monthstring
    history.mobile.median.history[].rankinteger
    history.mobile.median.history[].download_mbpsnumber
    history.mobile.median.history[].upload_mbpsnumber
    history.mobile.median.history[].latency_msinteger
    history.mobile.median.history[].jitter_msinteger
    history.mobile.meanobject
    history.mobile.mean.latestobject
    history.mobile.mean.latest.rankinteger
    history.mobile.mean.latest.previous_rankinteger
    history.mobile.mean.latest.rank_changeinteger
    history.mobile.mean.latest.download_mbpsnumber
    history.mobile.mean.latest.upload_mbpsnumber
    history.mobile.mean.latest.latency_msinteger
    history.mobile.mean.historyobject[]
    history.mobile.mean.history[].monthstring
    history.mobile.mean.history[].rankinteger
    history.mobile.mean.history[].download_mbpsnumber
    history.mobile.mean.history[].upload_mbpsnumber
    history.mobile.mean.history[].latency_msinteger
    history.mobile.mean.history[].jitter_msinteger
    serversobject[]
    servers[].idstring
    servers[].namestring
    servers[].sponsorstring
    servers[].countrystring
    servers[].country_codestring
    servers[].hoststring
    servers[].httpsboolean
    servers[].latnumber
    servers[].lonnumber
    servers[].isp_idstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Country GET /countries/{slug}

    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.

    Parameters and response fields for GET /countries/{slug}
    Request parameters
    NameType / locationRequiredDescription
    slugstring / pathYescountry slug as given by /countries or /rankings, e.g. "germany", "united-states"
    Response fields
    FieldTypeDescription
    countrystring
    slugstring
    monthstring
    fixedobject
    fixed.medianobject
    fixed.median.latestobject
    fixed.median.latest.rankinteger
    fixed.median.latest.previous_rankinteger
    fixed.median.latest.rank_changeinteger
    fixed.median.latest.download_mbpsnumber
    fixed.median.latest.upload_mbpsnumber
    fixed.median.latest.latency_msinteger
    fixed.median.historyobject[]
    fixed.median.history[].monthstring
    fixed.median.history[].rankinteger
    fixed.median.history[].download_mbpsnumber
    fixed.median.history[].upload_mbpsnumber
    fixed.median.history[].latency_msinteger
    fixed.median.history[].jitter_msinteger
    fixed.meanobject
    fixed.mean.latestobject
    fixed.mean.latest.rankinteger
    fixed.mean.latest.previous_rankinteger
    fixed.mean.latest.rank_changeinteger
    fixed.mean.latest.download_mbpsnumber
    fixed.mean.latest.upload_mbpsnumber
    fixed.mean.latest.latency_msinteger
    fixed.mean.historyobject[]
    fixed.mean.history[].monthstring
    fixed.mean.history[].rankinteger
    fixed.mean.history[].download_mbpsnumber
    fixed.mean.history[].upload_mbpsnumber
    fixed.mean.history[].latency_msinteger
    fixed.mean.history[].jitter_msinteger
    mobileobject
    mobile.medianobject
    mobile.median.latestobject
    mobile.median.latest.rankinteger
    mobile.median.latest.previous_rankinteger
    mobile.median.latest.rank_changeinteger
    mobile.median.latest.download_mbpsnumber
    mobile.median.latest.upload_mbpsnumber
    mobile.median.latest.latency_msinteger
    mobile.median.historyobject[]
    mobile.median.history[].monthstring
    mobile.median.history[].rankinteger
    mobile.median.history[].download_mbpsnumber
    mobile.median.history[].upload_mbpsnumber
    mobile.median.history[].latency_msinteger
    mobile.median.history[].jitter_msinteger
    mobile.meanobject
    mobile.mean.latestobject
    mobile.mean.latest.rankinteger
    mobile.mean.latest.previous_rankinteger
    mobile.mean.latest.rank_changeinteger
    mobile.mean.latest.download_mbpsnumber
    mobile.mean.latest.upload_mbpsnumber
    mobile.mean.latest.latency_msinteger
    mobile.mean.historyobject[]
    mobile.mean.history[].monthstring
    mobile.mean.history[].rankinteger
    mobile.mean.history[].download_mbpsnumber
    mobile.mean.history[].upload_mbpsnumber
    mobile.mean.history[].latency_msinteger
    mobile.mean.history[].jitter_msinteger
    fetched_atstring
    ageinteger
  • Global Speeds GET /global

    Worldwide median and mean fixed-broadband and mobile speeds for the latest Global Index month (download, upload, latency, jitter), each with 13 months of history in date order.

    Parameters and response fields for GET /global
    Response fields
    FieldTypeDescription
    monthstring
    medianobject
    median.fixedobject
    median.fixed.latestobject
    median.fixed.latest.monthstring
    median.fixed.latest.download_mbpsnumber
    median.fixed.latest.upload_mbpsnumber
    median.fixed.latest.latency_msinteger
    median.fixed.latest.jitter_msinteger
    median.fixed.historyobject[]
    median.fixed.history[].monthstring
    median.fixed.history[].download_mbpsnumber
    median.fixed.history[].upload_mbpsnumber
    median.fixed.history[].latency_msinteger
    median.fixed.history[].jitter_msinteger
    median.mobileobject
    median.mobile.latestobject
    median.mobile.latest.monthstring
    median.mobile.latest.download_mbpsnumber
    median.mobile.latest.upload_mbpsnumber
    median.mobile.latest.latency_msinteger
    median.mobile.latest.jitter_msinteger
    median.mobile.historyobject[]
    median.mobile.history[].monthstring
    median.mobile.history[].download_mbpsinteger
    median.mobile.history[].upload_mbpsnumber
    median.mobile.history[].latency_msinteger
    median.mobile.history[].jitter_msinteger
    meanobject
    mean.fixedobject
    mean.fixed.latestobject
    mean.fixed.latest.monthstring
    mean.fixed.latest.download_mbpsnumber
    mean.fixed.latest.upload_mbpsnumber
    mean.fixed.latest.latency_msinteger
    mean.fixed.latest.jitter_msinteger
    mean.fixed.historyobject[]
    mean.fixed.history[].monthstring
    mean.fixed.history[].download_mbpsnumber
    mean.fixed.history[].upload_mbpsnumber
    mean.fixed.history[].latency_msinteger
    mean.fixed.history[].jitter_msinteger
    mean.mobileobject
    mean.mobile.latestobject
    mean.mobile.latest.monthstring
    mean.mobile.latest.download_mbpsnumber
    mean.mobile.latest.upload_mbpsnumber
    mean.mobile.latest.latency_msinteger
    mean.mobile.latest.jitter_msinteger
    mean.mobile.historyobject[]
    mean.mobile.history[].monthstring
    mean.mobile.history[].download_mbpsnumber
    mean.mobile.history[].upload_mbpsnumber
    mean.mobile.history[].latency_msinteger
    mean.mobile.history[].jitter_msinteger
    fetched_atstring
    ageinteger

Export Speedtest by Ookla data to CSV

Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.

ListCSV columns
ServersGET /serversid, name, sponsor, country, country_code, host, https, lat, lon, isp_id
ExploreGET /exploreid, name, sponsor, country, country_code, host, https, lat, lon, isp_id
RankingsGET /rankingsrank, rank_change, country, country_code, slug, download_mbps, upload_mbps, latency_ms, jitter_ms, month
CitiesGET /citiesrank, rank_change, city, country, country_code, country_slug, download_mbps, upload_mbps, latency_ms, jitter_ms, month
CountriesGET /countriescountry, country_code, slug, fixed, mobile
Explore V2GET /explore-v2id, name, sponsor, country, country_code, host, https, lat, lon, isp_id

A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work

Speedtest by Ookla API questions

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

Is there an official Speedtest by Ookla API?

This Speedtest by Ookla API is not official. 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. Whether Speedtest by Ookla offers a developer API of its own is a question for Speedtest by Ookla. This one is ready to call with a maviapi key, and every endpoint and field it returns is documented on this page.

What data can I get from the Speedtest by Ookla API?

The Speedtest by Ookla API has 9 endpoints. Each returns JSON with the parameters and fields documented above:

  • GET /servers: Speedtest test servers whose city, country or sponsor (network) matches the search, up to 100, ordered by country, city and id: id, city name, sponsor…
  • GET /explore: Country overview in one call: the country's latest fixed and mobile median/mean ranks and speeds, its ranked cities (fixed and mobile, by rank), its 13-month…
  • GET /rankings: Speedtest Global Index country ranking for the latest month, ordered by rank: download, upload, latency, jitter, rank and month-over-month rank change per…
  • GET /cities: Speedtest Global Index city ranking (median speeds) for the latest month, ordered by rank, with download, upload, latency, jitter and rank change per city.
  • GET /countries: Every country in the Speedtest Global Index, alphabetically, with its latest fixed and mobile median and mean rank, download, upload and latency (null where…
  • GET /results/{id}: One shared Speedtest result by id: test time (UTC), download and upload in Mbps, ping and idle/download/upload loaded latencies in ms, ISP, provider…
  • GET /explore-v2: Country overview in one call with exact country matching: what q resolved to, the country's latest fixed and mobile median/mean ranks and speeds, its ranked…
  • GET /countries/{slug}: 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…
  • GET /global: Worldwide median and mean fixed-broadband and mobile speeds for the latest Global Index month (download, upload, latency, jitter), each with 13 months of…

How much does the Speedtest by Ookla API cost?

Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. 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 API?

Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /servers:

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

Create a key on your API keys page, or try any endpoint first in the console above with the free test key.

What are the ways to get Speedtest by Ookla data as JSON?

Each way to get Speedtest by Ookla data as JSON fits a different need:

  • Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on speedtest.net are yours. Better for a one-off pull from a page that rarely changes.
  • Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
  • RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
  • maviapi: The Speedtest by Ookla API on this page: 9 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.

What happens when speedtest.net changes its layout?

Your code does not change. maviapi keeps the Speedtest by Ookla API working when speedtest.net changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.

Will an update break my Speedtest by Ookla API integration?

No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.

  • Quotes to Scrape API

    Quotes to Scrape (quotes.toscrape.com) as an API, paginated quotes with their authors and tags, plus full author…

  • Fazilet Takvimi API

    Daily prayer times and the Fazilet Takvimi Islamic calendar (Hicri/Rumi dates, daily chronology, moon phases) for…

  • Tripadvisor API

    Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…