Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/ndjson-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "name": "NDJSON API",
        "notes": "Blank lines are ignored. to-array fails on the first invalid line; validate reports every line. Max 4 MB; send via POST.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/to-array",
                "params": {
                    "ndjson": "NDJSON text (required)"
                },
                "returns": "a JSON array of the parsed lines"
            },
            {
                "path": "/v1/to-ndjson",
                "params": {
                    "json": "a JSON array (required)"
                },
                "returns": "NDJSON text (one value per line)"
            },
            {
                "path": "/v1/validate",
                "params": {
                    "ndjson": "NDJSON text (required)"
                },
                "returns": "per-line validity with error messages"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Convert between NDJSON / JSON Lines (one JSON value per line) and a JSON array, in both directions, and validate an NDJSON stream line by line. NDJSON is the format used by logs, streaming APIs and LLM responses, jq, BigQuery and many data pipelines. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:44.176Z",
        "request_id": "5855095d-8978-4eab-bed2-2c3c2527a1da"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}