/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/advice-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/advice-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/advice-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/advice-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"service": "advice-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/advice": "A specific slip by id (id=).",
"GET /v1/random": "A random advice slip.",
"GET /v1/search": "Search the collection for a phrase (q=, min 2 chars, limit=)."
},
"description": "Short pieces of advice via the open Advice Slip API: pull a random advice slip, fetch a specific slip by id, or search the collection for slips containing a phrase. Real advice, no key."
},
"meta": {
"timestamp": "2026-06-08T09:48:45.475Z",
"request_id": "617a0a75-21b2-4d00-8086-40aabda71bc0"
},
"status": "ok",
"message": "Meta",
"success": true
}