Vai al contenuto
GET /v1/check

Spelling + English style check

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "issues": [
            {
                "type": "spelling",
                "word": "recieve",
                "length": 7,
                "offset": 2,
                "message": "\"recieve\" may be misspelled",
                "suggestions": [
                    "receive",
                    "relieve"
                ]
            },
            {
                "type": "style",
                "length": 3,
                "offset": 14,
                "message": "\"the\" is repeated",
                "suggestions": []
            }
        ],
        "language": "en",
        "issue_count": 2,
        "style_count": 1,
        "spelling_count": 1
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:28.481Z",
        "request_id": "f1527690-bd9c-437a-a282-ebb999da980a"
    },
    "status": "ok",
    "message": "Text checked",
    "success": true
}