Ir al contenido
GET /v1/geos

Supported country codes

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/googletrends-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/googletrends-api/v1/geos" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/googletrends-api/v1/geos", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/googletrends-api/v1/geos");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/googletrends-api/v1/geos",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "geos": [
            "US",
            "GB",
            "DE",
            "FR",
            "ES",
            "IT",
            "NL",
            "CA",
            "AU",
            "BR",
            "MX",
            "AR",
            "JP",
            "KR",
            "IN",
            "ID",
            "TR",
            "RU",
            "PL",
            "SE",
            "ZA",
            "NG",
            "SA",
            "AE",
            "SG"
        ],
        "note": "The country codes supported by the trending and news endpoints — 2-letter ISO 3166-1 country codes. The feed also accepts other valid country codes beyond this common list.",
        "count": 25,
        "source": "Google Trends"
    },
    "meta": {
        "timestamp": "2026-06-14T17:03:40.785Z",
        "request_id": "a6b155cd-b534-45da-8c13-c2c8ba3a28f9"
    },
    "status": "ok",
    "message": "Geos retrieved successfully",
    "success": true
}