/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/dataurl-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dataurl-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dataurl-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/dataurl-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Data URI API",
"notes": "Send binary content as base64 or hex via input_encoding. Max 4 MB. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/encode",
"params": {
"text": "content (required)",
"charset": "e.g. utf-8",
"encoding": "base64|url (default base64)",
"mediatype": "e.g. image/png (default text/plain)",
"input_encoding": "utf8|base64|hex (how `text` is given)"
},
"returns": "the data: URI"
},
{
"path": "/v1/decode",
"params": {
"datauri": "a data: URI (required)"
},
"returns": "mediatype, charset, is_base64, the text and/or base64 payload"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Encode content into a data: URI (RFC 2397) and decode a data: URI back to its content — the inline format used to embed images, fonts, SVG and small files directly in HTML, CSS, JSON and email. Choose base64 or URL (percent) encoding, set the media type and charset. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:46.597Z",
"request_id": "bedbcd75-f21d-4ad7-a8e0-293c271976cd"
},
"status": "ok",
"message": "Meta",
"success": true
}