Naar de inhoud
GET /v1/info

Image metadata

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/image-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/image-api/v1/info" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/image-api/v1/info", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/image-api/v1/info");
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/image-api/v1/info",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "url": "https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
        "width": 172,
        "format": "jpeg",
        "height": 178,
        "density": 100,
        "channels": 3,
        "has_alpha": false,
        "size_bytes": 9022,
        "color_space": "srgb",
        "orientation": null
    },
    "meta": {
        "timestamp": "2026-05-30T01:04:59.939Z",
        "request_id": "1e7e6920-f3a5-4084-b5a7-857ef40d63d2"
    },
    "status": "ok",
    "message": "Image info retrieved successfully",
    "success": true
}