/v1/character
A character by id or name
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/onepiece-api/v1/character" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/onepiece-api/v1/character", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/onepiece-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/onepiece-api/v1/character",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"character": {
"id": 1,
"age": "19 ans",
"job": "Captain",
"crew": "The Chapeau de Paille crew",
"name": "Monkey D Luffy",
"size": "174cm",
"fruit": "Hito Hito no Mi, Nika model",
"bounty": "3.000.000.000",
"status": "vivant"
}
},
"meta": {
"timestamp": "2026-06-01T00:04:24.708Z",
"request_id": "48ac69df-ec67-4b69-a3c8-5bb3a5e49bf0"
},
"status": "ok",
"message": "Character retrieved",
"success": true
}