/v1/meta
Spec
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/colorname-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colorname-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colorname-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/colorname-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Color Name API",
"notes": "Uses the CSS Color Module Level 4 named-colour set. Distance is perceptual (Lab); 0 means an exact match. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/nearest",
"params": {
"color": "hex, rgb(), r,g,b or a name (required)"
},
"returns": "the closest named colour, distance and whether it is exact"
},
{
"path": "/v1/name",
"params": {
"name": "a CSS colour name (required)"
},
"returns": "its hex and RGB"
},
{
"path": "/v1/list",
"params": [],
"returns": "all named colours"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Find the nearest named CSS colour to any colour (perceptually, using CIE76 Lab distance), look up a CSS colour name to its hex/RGB, and list all 140+ named colours. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:43.811Z",
"request_id": "ad97512e-9463-409d-972e-b6b0a9390ac9"
},
"status": "ok",
"message": "Meta",
"success": true
}