/v1/languages
Supported languages
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/prettier-api/v1/languages" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/prettier-api/v1/languages", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/prettier-api/v1/languages");
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/prettier-api/v1/languages",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 15,
"parsers": [
"babel",
"flow",
"typescript",
"css",
"scss",
"less",
"graphql",
"vue",
"json5"
],
"languages": [
"js",
"javascript",
"jsx",
"babel",
"flow",
"ts",
"typescript",
"tsx",
"css",
"scss",
"less",
"graphql",
"gql",
"vue",
"json5"
]
},
"meta": {
"timestamp": "2026-06-02T16:51:56.950Z",
"request_id": "2f6b5ae1-f073-49f0-bdbb-44870d1ba8a6"
},
"status": "ok",
"message": "Supported languages",
"success": true
}