NewTry the interactive playground

A free, open REST API for the world of One Piece — characters with portraits, devil fruits, bounties, ships, islands and crews. Built for developers and fans alike.

GET https://onepieceapi.com/api/characters

~/grand-linelive data

➜ ~

Characters
694
Devil fruits
114
Bounties
198
Ships
50
Islands
86
Affiliations
221

Grand Line · Most wanted

The highest prices on the sea

All bounties

Grand Line · Catalog

Six resources, all browsable right here

Grand Line · Developers

Set sail in three lines of code

  • No keys, no sign-up

    Every endpoint is public. Paste a URL in the browser and you already have JSON.

  • Cached at the edge

    Responses ship with Cache-Control headers, so repeat calls are fast and cheap.

  • Open source, MIT

    Read the code, file an issue, or send a PR — the dataset grows with the crew.

crew.tsTypeScript
const res = await fetch(
  "https://onepieceapi.com/api/characters?q=luffy"
);
const [luffy] = await res.json();

luffy.bounties
  .filter((b) => b.is_active)
  .map((b) => b.amount); // [3000000000]