Superhero API🔥
by shahidirfan
Get structured superhero data from Marvel, DC & more. Powers, bios, and stats delivered via API for developers building apps, games, or tools.
Opens on Apify.com
About Superhero API🔥
Need a reliable source for superhero data? This actor pulls detailed profiles from Marvel, DC, and other major universes directly into your project. I've used it to populate a character database, and it saved me weeks of manual entry. You get everything: powers, backstories, physical stats, and affiliations in a structured format that's ready to use. It's built for developers. Whether you're building a fan app, a game prototype, or just need a dataset for analysis, you can integrate this data with a few lines of code. The API is straightforward, so you spend less time parsing weird formats and more time building. It runs fast, and the free tier is generous enough to test out your core idea without any hassle. Forget scraping wikis or stitching together spreadsheets. This tool handles the data collection cleanly, letting you focus on creating something cool. If your project needs accurate, detailed hero and villain profiles, this is the simplest way to get them.
What does this actor do?
Superhero API🔥 is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Superhero API Actor
Fetches detailed superhero profiles from the Superhero API. Use it to retrieve structured data on characters, including powerstats, biography, appearance, work, and connections. Supports searching by name or fetching a single hero by ID.
Key Features
- Flexible Search: Find multiple heroes by name or fetch a single profile by unique ID.
- Complete Profiles: Get detailed data across powerstats, biography, appearance, work, and connections.
- Structured JSON Output: Clean, ready-to-use data for applications, databases, or analysis.
- Built-in Reliability: Includes error handling with retries and clear messages.
- Performance Optimized: Uses sequential fetching with delays to respect rate limits.
How to Use
Configure the actor using input parameters. The main choice is between search mode (for multiple results) and id mode (for one specific hero).
Input Configuration
| Parameter | Type | Description | Default |
|---|---|---|---|
mode |
select | Operation mode: search or id. |
search |
search |
string | Hero name to search for (used when mode is search). |
"" |
hero_id |
string | Unique hero ID to fetch (used when mode is id). |
"" |
results_wanted |
integer | Max number of search results to return (search mode only). | 10 |
fetch_profile |
boolean | If true, fetches the full profile for each search result. If false, returns basic info only. |
true |
Note: The actor uses an embedded API token. For production, it's recommended to configure the token via environment variables or secrets for better security.
Input/Output
Output Data Structure
The actor outputs a collection of JSON objects. A full hero profile includes the following structure:
{
"id": "123",
"name": "Batman",
"powerstats": {
"intelligence": "100",
"strength": "26",
"speed": "27",
"durability": "50",
"power": "47",
"combat": "100"
},
"biography": {
"full-name": "Bruce Wayne",
"aliases": ["Dark Knight", "The Caped Crusader"],
"place-of-birth": "Gotham City",
"first-appearance": "Detective Comics #27",
"publisher": "DC Comics"
},
"appearance": {
"gender": "Male",
"race": "Human",
"height": ["6'2", "188 cm"],
"weight": ["210 lb", "95 kg"],
"eye-color": "Blue",
"hair-color": "Black"
},
"work": {
"occupation": "Businessman",
"base": "Gotham City; Batcave"
},
"connections": {
"group-affiliation": "Batman Family, Justice League",
"relatives": "Damian Wayne (son), Dick Grayson (adopted son)"
},
"image": "https://www.superherodb.com/pictures2/portraits/10/100/639.jpg",
"source": "superheroapi.com"
}
In search mode with fetch_profile set to false, the output will contain only basic fields like id, name, and image.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Superhero API🔥 now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- shahidirfan
- Pricing
- Paid
- Total Runs
- 23
- Active Users
- 3
Related Actors
Web Scraper
by apify
Cheerio Scraper
by apify
Website Content Crawler
by apify
Legacy PhantomJS Crawler
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support