Vai al contenuto
GET /v1/audit

On-page SEO audit + score

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "h1": [
            "Example Domain"
        ],
        "url": "https://example.com/",
        "lang": "en",
        "links": {
            "total": 1,
            "external": 1,
            "internal": 0,
            "nofollow": 0
        },
        "score": 45,
        "title": "Example Domain",
        "checks": [
            {
                "id": "title_present",
                "pass": true
            },
            {
                "id": "title_length_ok",
                "pass": false
            },
            {
                "id": "meta_description_present",
                "pass": false
            },
            {
                "id": "meta_description_length_ok",
                "pass": false
            },
            {
                "id": "single_h1",
                "pass": true
            },
            {
                "id": "has_viewport",
                "pass": true
            },
            {
                "id": "has_canonical",
                "pass": false
            },
            {
                "id": "image_alt_coverage",
                "pass": true
            },
            {
                "id": "has_open_graph",
                "pass": false
            },
            {
                "id": "enough_content",
                "pass": false
            },
            {
                "id": "has_lang",
                "pass": true
            }
        ],
        "images": {
            "count": 0,
            "missing_alt": 0
        },
        "robots": null,
        "h1_count": 1,
        "h2_count": 0,
        "h3_count": 0,
        "canonical": null,
        "final_url": "https://example.com/",
        "word_count": 19,
        "has_viewport": true,
        "title_length": 14,
        "has_open_graph": false,
        "has_twitter_card": false,
        "meta_description": null,
        "meta_description_length": 0
    },
    "meta": {
        "timestamp": "2026-05-30T01:58:28.815Z",
        "request_id": "eb232704-dc07-45c8-b9ca-aba8fc7f4df2"
    },
    "status": "ok",
    "message": "SEO audit completed successfully",
    "success": true
}