Naar de inhoud
GET /v1/meta

Source & usage notes

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Real stock photography. /v1/list = a page of curated photos (author, dimensions, download URL); /v1/photo = a photo's info by id (e.g. id=237); /v1/url = build a ready-to-embed photo URL by size, with seed= for a deterministic image, id= for a specific photo, or neither for random — plus optional grayscale and blur=1-10. Photos are CC-licensed via Unsplash, served by Lorem Picsum.",
        "source": "Lorem Picsum (picsum.photos)",
        "endpoints": [
            "/v1/list",
            "/v1/photo",
            "/v1/url",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:36.765Z",
        "request_id": "e5cf221e-e33f-456a-bb8c-4c6ad39b8f79"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}