Naar de inhoud
GET /v1/list

List a category (paginated; films whole)

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "page": 1,
        "type": "people",
        "count": 10,
        "total": 82,
        "results": [
            {
                "uid": "1",
                "name": "Luke Skywalker"
            },
            {
                "uid": "2",
                "name": "C-3PO"
            },
            {
                "uid": "3",
                "name": "R2-D2"
            },
            {
                "uid": "4",
                "name": "Darth Vader"
            },
            {
                "uid": "5",
                "name": "Leia Organa"
            },
            {
                "uid": "6",
                "name": "Owen Lars"
            },
            {
                "uid": "7",
                "name": "Beru Whitesun lars"
            },
            {
                "uid": "8",
                "name": "R5-D4"
            },
            {
                "uid": "9",
                "name": "Biggs Darklighter"
            },
            {
                "uid": "10",
                "name": "Obi-Wan Kenobi"
            }
        ],
        "total_pages": 9
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:38.362Z",
        "request_id": "af0393c7-32fc-4d0b-83bd-7d3d1c5bb808"
    },
    "status": "ok",
    "message": "Resources listed",
    "success": true
}