/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/filetype-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/filetype-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/filetype-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/filetype-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"auth": "none upstream; this gateway requires x-api-key",
"name": "File Type Detection API",
"note": "Detect the true file type from its content (magic bytes), not its name. Pass ?url= a file URL or ?file= base64. Recognises 100+ binary formats (images, audio, video, archives, documents, fonts, …). Optionally pass ?filename= to flag a spoofed extension. Text formats (txt, csv, svg, json) have no signature and return detected=false. Distinct from mime-api (extension lookup). Live, nothing stored.",
"source": "Local magic-byte detection (file-type) — no key, no upstream",
"endpoints": 2
},
"meta": {
"timestamp": "2026-06-02T16:51:55.704Z",
"request_id": "158d85cb-88a0-45b6-9407-7f739a16a6b6"
},
"status": "ok",
"message": "Meta",
"success": true
}