Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/dataurl-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}