Vai al contenuto
GET /v1/crew

A pirate crew by id or name

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/onepiece-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "crew": {
            "id": 1,
            "name": "The Chapeau de Paille crew",
            "status": "assets",
            "is_yonko": true,
            "roman_name": "Mugiwara no Ichimi",
            "description": null,
            "member_count": "10",
            "total_bounty": "3.161.000.100"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:24.895Z",
        "request_id": "6e69d37e-83ff-47c6-864d-5e7ac4d3e1e9"
    },
    "status": "ok",
    "message": "Crew retrieved",
    "success": true
}