/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}