/v1/url
Build a placeholder-photo URL
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/photos-api/v1/url" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/photos-api/v1/url", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/photos-api/v1/url");
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/photos-api/v1/url",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"url": "https://picsum.photos/seed/oanor/600/400",
"blur": null,
"mode": "seeded (deterministic)",
"seed": "oanor",
"width": 600,
"height": 400,
"photo_id": null,
"grayscale": false,
"resolved_url": null
},
"meta": {
"timestamp": "2026-06-01T00:04:36.693Z",
"request_id": "757a1640-b54b-4569-b91f-ae37ac778208"
},
"status": "ok",
"message": "Photo URL built",
"success": true
}