/v1/info
Image metadata
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}