Speed API

Get the estimated download and upload speeds of every mobile operator, in 5G, 4G and 3G, at any point of the countries Sogudo covers.

Request

HTTP
GET https://app.sogudo.com/api/v1/eligibility/mobile?lon=2.3522&lat=48.8566&country=FR&api_key=YOUR_KEY
ParameterRequiredDescription
lonYesLongitude in decimal degrees (WGS 84), from -180 to 180.
latYesLatitude in decimal degrees (WGS 84), from -90 to 90.
countryYesCountry the point is in: its code (recommended, for example FR) or its name exactly as in the “API name” column (for example Spain); case and accents are ignored. French overseas territories have their own code, for example GP for Guadeloupe. Codes and names are on the countries and operators page.
api_keyYesYour organisation's API key, given by Sogudo.

Examples

curl
curl "https://app.sogudo.com/api/v1/eligibility/mobile?lon=2.3522&lat=48.8566&country=FR&api_key=$SOGUDO_API_KEY"
Node.js
// Node.js 18 or later, on your server: the key never reaches a browser.
const query = new URLSearchParams({
  lon: '2.3522',
  lat: '48.8566',
  country: 'FR',
  api_key: process.env.SOGUDO_API_KEY,
})
const response = await fetch(`https://app.sogudo.com/api/v1/eligibility/mobile?${query}`)
const body = await response.json()
if (!response.ok) throw new Error(`Sogudo ${response.status}: ${body.error}`)
console.log(body.token_cost, body.result)
Python
# Python 3 with requests, on your server: the key never reaches a browser.
import os
import requests

response = requests.get(
    "https://app.sogudo.com/api/v1/eligibility/mobile",
    params={
        "lon": 2.3522,
        "lat": 48.8566,
        "country": "FR",
        "api_key": os.environ["SOGUDO_API_KEY"],
    },
    timeout=30,
)
body = response.json()
if not response.ok:
    raise RuntimeError(f"Sogudo {response.status_code}: {body['error']}")
print(body["token_cost"], body["result"])

Response

A successful call answers HTTP 200 with two fields:

  • token_cost: 1 when the call used a token, 0 when it was free (see Tokens).
  • result: one entry per operator of the country, keyed by the operator name in lower case. The keys of each country are in the “API result key” column of the countries and operators page.

Each operator has 5g, 4g and 3g. Each is null when no antenna of this operator covers the point, or an object:

FieldUnitDescription
downloadMbit/sEstimated download speed, 2 decimals.
uploadMbit/sEstimated upload speed, 2 decimals.
antenna.anfr_id–Identifier of the antenna in the official register (ANFR in France). May be absent in some countries.
antenna.coordinatesdegreesAntenna position as [longitude, latitude], 4 decimals.
antenna.distancemetresDistance from the point to the antenna.
antenna.frequencyMHzFrequency band used for this estimate.
JSON · example values
{
  "token_cost": 1,
  "result": {
    "orange": {
      "5g": {
        "download": 284.36,
        "upload": 38.51,
        "antenna": {
          "anfr_id": "0751234567",
          "coordinates": [
            2.3497,
            48.8579
          ],
          "distance": 236,
          "frequency": 3500
        }
      },
      "4g": {
        "download": 96.42,
        "upload": 21.87,
        "antenna": {
          "anfr_id": "0751234567",
          "coordinates": [
            2.3497,
            48.8579
          ],
          "distance": 236,
          "frequency": 2600
        }
      },
      "3g": {
        "download": 7,
        "upload": 3.5,
        "antenna": {
          "anfr_id": "0751234568",
          "coordinates": [
            2.3561,
            48.8541
          ],
          "distance": 402,
          "frequency": 2100
        }
      }
    },
    "free": {
      "5g": null,
      "4g": {
        "download": 61.08,
        "upload": 14.32,
        "antenna": {
          "anfr_id": "0751239876",
          "coordinates": [
            2.3466,
            48.8602
          ],
          "distance": 531,
          "frequency": 1800
        }
      },
      "3g": {
        "download": 3,
        "upload": 1.5,
        "antenna": {
          "anfr_id": "0751239876",
          "coordinates": [
            2.3466,
            48.8602
          ],
          "distance": 531,
          "frequency": 900
        }
      }
    },
    "sfr": {
      "5g": {
        "download": 193.7,
        "upload": 26.04,
        "antenna": {
          "anfr_id": "0751245678",
          "coordinates": [
            2.3538,
            48.8551
          ],
          "distance": 214,
          "frequency": 3500
        }
      },
      "4g": {
        "download": 78.95,
        "upload": 18.6,
        "antenna": {
          "anfr_id": "0751245678",
          "coordinates": [
            2.3538,
            48.8551
          ],
          "distance": 214,
          "frequency": 1800
        }
      },
      "3g": {
        "download": 7,
        "upload": 3.5,
        "antenna": {
          "anfr_id": "0751245678",
          "coordinates": [
            2.3538,
            48.8551
          ],
          "distance": 214,
          "frequency": 2100
        }
      }
    },
    "bouygues": {
      "5g": {
        "download": 147.92,
        "upload": 20.13,
        "antenna": {
          "anfr_id": "0751256789",
          "coordinates": [
            2.3478,
            48.8549
          ],
          "distance": 377,
          "frequency": 3500
        }
      },
      "4g": {
        "download": 83.4,
        "upload": 19.27,
        "antenna": {
          "anfr_id": "0751256789",
          "coordinates": [
            2.3478,
            48.8549
          ],
          "distance": 377,
          "frequency": 2600
        }
      },
      "3g": null
    }
  }
}

Tokens

  • Each call for a new point uses 1 token from your organisation's balance.
  • Your balance is renewed every month, on the anniversary date of your plan: it goes back to your monthly allowance. Unused tokens do not carry over.
  • The same point queried again by your organisation within 31 days is free: token_cost is then 0. Points are compared after rounding their coordinates to 0.001°, about 100 metres.
  • A refused call (400, 401, 403) never uses a token.
  • With an empty balance, every call is refused, even for a point already paid. Check your balance and ask Sogudo in time if you need more before the next renewal.
  • Address tests made in the embedded map use the same tokens and the same 31-day rule.

Errors

An error answers a JSON object with a single field, error. A refusal (400, 401, 403) never uses a token.

StatuserrorCause and fix
400Bad coordinateslon or lat is missing, not a number, or out of range (longitude -180 to 180, latitude -90 to 90).
400Missing required ?country=country is missing. Send the country code of the point, for example FR.
400Unknown country: XXSogudo does not cover this country, or the code is misspelt (XX stands for the value you sent). See the countries and operators page.
400Point outside countryThe point is clearly outside the country you sent, for example a point in Guadeloupe sent with FR. Send the code of the country the point is in.
401Unknown API KeyThe key is missing or does not exist. Check that you send the full key in api_key.
401Revoked API KeyThe key was revoked or replaced. Ask Sogudo for your current key.
403API access not enabled for this keyYour key is not allowed to use the speed API. Ask Sogudo to enable it.
403No more tokens on API KeyYour token balance is empty. Every call is refused, even for a point already paid, until the monthly renewal of your plan. Ask Sogudo if you need more before then.
403Country not allowed for this API key: GPYour key does not include this country (GP stands for its code). Ask Sogudo to add it.

A 500 status is an unexpected server error, usually temporary: retry later, and contact Sogudo if it persists.

Check your balance

This call is free and only needs your key:

curl
curl "https://app.sogudo.com/api/v1/account?api_key=$SOGUDO_API_KEY"
JSON · example values
{
  "tokens": 4820,
  "usedTokens": 180,
  "lastUsedAt": "2026-11-10T14:32:05.123Z"
}
  • tokens: tokens left.
  • usedTokens: tokens used so far.
  • lastUsedAt: date of the last call that used a token, absent until the first one.

It answers the same key errors as the speed API. With an empty balance it answers 403 No more tokens on API Key.

Try it

Send a real request with your key, from this page. Use it to test; in production, call the API from your server.

Request
Your key is only sent with this request. It is never stored on this page.
Each new point uses 1 token from your balance, like any API call.

OpenAPI specification

The complete description of the API, for your tools (Postman, code generators) and AI assistants: /docs/openapi.json.