/v1/meta
Totals & source
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/poetry-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/poetry-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/poetry-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/poetry-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Classic public-domain poems. Use /v1/poem for full text, /v1/author to browse, /v1/random for a random poem.",
"poems": 2526,
"fields": [
"id",
"title",
"author",
"lines",
"linecount"
],
"source": "PoetryDB (public-domain classic poetry)",
"authors": 127
},
"meta": {
"timestamp": "2026-05-31T05:48:00.696Z",
"request_id": "8e1cc91c-170a-4105-91ca-f80415dba4d0"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}