Zum Inhalt springen
GET /v1/list

List a category (paginated; films whole)

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/starwars-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}