Skip to content
GET /v1/list

List / filter all heroes (paginated)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/superhero-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "page": 1,
        "count": 30,
        "total": 563,
        "results": [
            {
                "id": 1,
                "name": "A-Bomb",
                "slug": "1-a-bomb",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/1-a-bomb.jpg",
                "alignment": "good",
                "publisher": "Marvel Comics"
            },
            {
                "id": 2,
                "name": "Abe Sapien",
                "slug": "2-abe-sapien",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/2-abe-sapien.jpg",
                "alignment": "good",
                "publisher": "Dark Horse Comics"
            },
            {
                "id": 3,
                "name": "Abin Sur",
                "slug": "3-abin-sur",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/3-abin-sur.jpg",
                "alignment": "good",
                "publisher": "DC Comics"
            },
            {
                "id": 4,
                "name": "Abomination",
                "slug": "4-abomination",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/4-abomination.jpg",
                "alignment": "bad",
                "publisher": "Marvel Comics"
            },
            {
                "id": 5,
                "name": "Abraxas",
                "slug": "5-abraxas",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/5-abraxas.jpg",
                "alignment": "bad",
                "publisher": "Marvel Comics"
            },
            {
                "id": 6,
                "name": "Absorbing Man",
                "slug": "6-absorbing-man",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/6-absorbing-man.jpg",
                "alignment": "bad",
                "publisher": "Marvel Comics"
            },
            {
                "id": 7,
                "name": "Adam Monroe",
                "slug": "7-adam-monroe",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/7-adam-monroe.jpg",
                "alignment": "good",
                "publisher": "NBC - Heroes"
            },
            {
                "id": 8,
                "name": "Adam Strange",
                "slug": "8-adam-strange",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/8-adam-strange.jpg",
                "alignment": "good",
                "publisher": "DC Comics"
            },
            {
                "id": 10,
                "name": "Agent Bob",
                "slug": "10-agent-bob",
                "image": "https://cdn.jsdelivr.net/gh/akabab/[email protected]/api/images/sm/10-agent-bob.jpg",
                "alignment": "good",
                "publis
…