Zum Inhalt springen
GET /v1/geos

Supported country codes

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/googletrends-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}