Ir al contenido
GET /v1/character

A character by name or uid

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/startrek-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "page": 0,
        "count": 16,
        "query": "Picard",
        "total": 16,
        "results": [
            {
                "uid": "CHMA0000015352",
                "name": "Elise Picard",
                "gender": null,
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
                "serial_number": null,
                "year_of_birth": null,
                "year_of_death": null
            },
            {
                "uid": "CHMA0000011750",
                "name": "Javier Maribona-Picard",
                "gender": "M",
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
                "serial_number": null,
                "year_of_birth": null,
                "year_of_death": null
            },
            {
                "uid": "CHMA0000289509",
                "name": "Jean-Luc Picard",
                "gender": "M",
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
                "serial_number": "SP-937-215",
                "year_of_birth": 2305,
                "year_of_death": null
            },
            {
                "uid": "CHMA0000112984",
                "name": "Jean-Luc Picard",
                "gender": null,
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
                "serial_number": null,
                "year_of_birth": null,
                "year_of_death": null
            },
            {
                "uid": "CHMA0000015360",
                "name": "Madison Picard",
                "gender": null,
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
                "serial_number": null,
                "year_of_birth": null,
                "year_of_death": null
            },
            {
                "uid": "CHMA0000015090",
                "name": "Marie Picard",
                "gender": "F",
                "titles": [],
                "species": [],
                "height_cm": null,
                "weight_kg": null,
                "performers": [],
                "occupations": [],
                "organizations": [],
             
…