Vai al contenuto
GET /v1/urls

Flatten all URLs (follow index)

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/sitemap-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/sitemap-api/v1/urls" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sitemap-api/v1/urls", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sitemap-api/v1/urls");
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/sitemap-api/v1/urls",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "url": "https://www.oanor.com/sitemap.xml",
        "urls": [
            "https://www.oanor.com/",
            "https://www.oanor.com/marketplace",
            "https://www.oanor.com/features",
            "https://www.oanor.com/pricing",
            "https://www.oanor.com/categories",
            "https://www.oanor.com/docs",
            "https://www.oanor.com/status",
            "https://www.oanor.com/roadmap",
            "https://www.oanor.com/changelog",
            "https://www.oanor.com/ads"
        ],
        "count": 10,
        "truncated": true,
        "index_size": 7,
        "total_urls": 10,
        "sitemaps_fetched": 1
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:39.951Z",
        "request_id": "00f648c6-f9bf-4a8f-841e-3537ce75be82"
    },
    "status": "ok",
    "message": "URLs flattened",
    "success": true
}