Superhero API (akabab) website screenshot

Superhero API (akabab)

Open-source REST API exposing 731 superheroes and villains drawn from multiple comic universes (Marvel, DC, Dark Horse, Image, and more) under a single, unauthenticated JSON surface. The dataset is rebuilt from the original superheroapi.com source, cleaned up, and republished as static JSON files served from GitHub Pages and the jsDelivr CDN. Each character includes powerstats, appearance, biography, work, connections, and a multi-resolution image set.

1 APIs 0 Features
Games And ComicsSuperheroesComic BooksOpen SourceStatic APIGitHub PagesPublic APIs

APIs

Superhero API

The Superhero API is a static JSON REST surface that returns a single consolidated dataset of 731 characters or per-character / per-property records. All responses are pre-built...

Collections

Pricing Plans

Rate Limits

Superheroes Rate Limits

0 limits

RATE LIMITS

Semantic Vocabularies

Superheroes Context

36 classes · 1 properties

JSON-LD

API Governance Rules

Superhero API (akabab) API Rules

9 rules · 6 errors 3 warnings

SPECTRAL

JSON Structure

Superheroes Character Structure

9 properties

JSON STRUCTURE

Example Payloads

Resources

🔗
Website
Website
💻
SourceCode
SourceCode
👥
GitHubOrganization
GitHubOrganization
🔗
MIT License
License
🔗
jsDelivr CDN Mirror
CDN
🔗
superheroapi.com (Original Source)
OriginalSource
🔗
PublicAPIsListing
PublicAPIsListing
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
JSONLD
JSONLD
🔗
Character
JSONSchema
🔗
Powerstats
JSONSchema
🔗
Appearance
JSONSchema
🔗
Biography
JSONSchema
🔗
Work
JSONSchema
🔗
Connections
JSONSchema
🔗
Images
JSONSchema
🔗
Character
JSONStructure
💻
Character Example
Examples
💻
All Characters Example
Examples
💻
Powerstats Example
Examples
🔗
RateLimits
RateLimits
🔗
Plans
Plans

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Superhero API (akabab)
  version: 0.3.0
items:
- info:
    name: Characters
    type: folder
  items:
  - info:
      name: List All Characters
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/all.json
    docs: Returns every character record in the dataset as a single JSON array of 731 entries.
  - info:
      name: Get Character By Id
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/id/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns the complete record for a single character keyed by numeric id (1..731).
- info:
    name: Powerstats
    type: folder
  items:
  - info:
      name: Get Character Powerstats
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/powerstats/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns just the powerstats slice for a single character.
- info:
    name: Appearance
    type: folder
  items:
  - info:
      name: Get Character Appearance
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/appearance/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns just the appearance slice for a single character.
- info:
    name: Biography
    type: folder
  items:
  - info:
      name: Get Character Biography
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/biography/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns just the biography slice for a single character.
- info:
    name: Work
    type: folder
  items:
  - info:
      name: Get Character Work
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/work/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns just the work slice for a single character (occupation and base).
- info:
    name: Connections
    type: folder
  items:
  - info:
      name: Get Character Connections
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/connections/:id.json
      params:
      - name: id
        value: ''
        type: path
        description: Numeric character id, 1..731.
    docs: Returns just the connections slice for a single character (group affiliations and relatives).
- info:
    name: Images
    type: folder
  items:
  - info:
      name: Get Character Image
      type: http
    http:
      method: GET
      url: https://akabab.github.io/superhero-api/api/images/:size/:filename
      params:
      - name: size
        value: ''
        type: path
        description: Image size variant.
      - name: filename
        value: ''
        type: path
        description: Image filename, e.g. `1-a-bomb.jpg`.
    docs: Returns a static JPG image for a character at the requested size. The filename uses the character slug pattern `{id}-{slug}.jpg`
      (e.g. `1-a-bomb.jpg`).
bundled: true