Ir al contenido
GET /v1/get

Full detail by category + id

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/starwars-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "type": "people",
        "result": {
            "uid": "1",
            "url": "https://www.swapi.tech/api/people/1",
            "mass": "77",
            "name": "Luke Skywalker",
            "films": [
                "https://www.swapi.tech/api/films/1",
                "https://www.swapi.tech/api/films/2",
                "https://www.swapi.tech/api/films/3",
                "https://www.swapi.tech/api/films/6"
            ],
            "edited": "2026-05-31T05:22:39.375Z",
            "gender": "male",
            "height": "172",
            "created": "2026-05-31T05:22:39.375Z",
            "vehicles": [
                "https://www.swapi.tech/api/vehicles/14",
                "https://www.swapi.tech/api/vehicles/30"
            ],
            "eye_color": "blue",
            "homeworld": "https://www.swapi.tech/api/planets/1",
            "starships": [
                "https://www.swapi.tech/api/starships/12",
                "https://www.swapi.tech/api/starships/22"
            ],
            "birth_year": "19BBY",
            "hair_color": "blond",
            "skin_color": "fair",
            "description": "A person within the Star Wars universe"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:37.777Z",
        "request_id": "e74e7699-5878-4261-87c0-3c763dded202"
    },
    "status": "ok",
    "message": "Resource retrieved",
    "success": true
}