Naar de inhoud
GET /v1/parse

Parse a sitemap (urlset/index)

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/sitemap-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "url": "https://www.oanor.com/sitemap.xml",
        "type": "sitemapindex",
        "count": 7,
        "limit": 10,
        "total": 7,
        "offset": 0,
        "sitemaps": [
            {
                "loc": "https://www.oanor.com/sitemap-en.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-de.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-it.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-fr.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-es.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-nl.xml",
                "lastmod": null
            },
            {
                "loc": "https://www.oanor.com/sitemap-el.xml",
                "lastmod": null
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:39.105Z",
        "request_id": "de418415-ca10-41e6-9416-b86c1882d261"
    },
    "status": "ok",
    "message": "Sitemap parsed",
    "success": true
}