/v1/info
Image metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}