DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Databases
  4. The Marvel API: Where Superheroes and APIs Converge

The Marvel API: Where Superheroes and APIs Converge

Let's take a look at something fun. Explore the Marvel Comics API and discover how to use it yourself!

Patrick Poulin user avatar by
Patrick Poulin
CORE ·
Oct. 10, 18 · Tutorial
Like (1)
Save
Tweet
Share
12.39K Views

Join the DZone community and get the full member experience.

Join For Free

My childhood fascination with collecting didn't include comic books. I loved early 90s baseball cards. Where superheroes came into my life was with daytime TV cartoons. Batman, X-Men, and basically anything Fox animation did for cartoons in the 90s. This means that there is a lot of information I am missing about lore, backstories, and so forth. Thankfully, Marvel has built something for their most esoteric type of fan. A person that loves superheroes and APIs.

The Marvel Comics API is incredible. You can research characters and stories and get some incredible insights such as the comic book covers. The best part is that it is so simple, even someone not super technical can play with it! It is really easy within API Fortress by logging in and using the HTTP client or opening a new tab in your browser and pasting this:

http://gateway.marvel.com:80/v1/public/characters?ts=123456&apikey={YOUR_API_KEY}&hash=2fd0f873cbd9e3939118fe9560eead1a&name=wolverine

Simply replace YOUR_API_KEY with the API key you get when you create a Marvel account and have fun exploring!

To make things even more amazing, their Interactive API Tester tool is really solid. You can play with various endpoints including character search, which provides all the information they have on everyone’s favorite fast healing Canadian. It’s a lot of fun since all it requires is a browser and an API Key. I do suggest that you get a JSON tree viewing plugin though. For Chrome, I use this JSONView.

Image title

Try it out for yourself. Much like a Youtube blackhole, hours will disappear before you realize it.

Patrick Poulin is the CEO of API Fortress. An API testing and monitoring suite as a platform. He still hasn't seen the latest Avengers, so please don't judge him.

API

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • AWS Cloud Migration: Best Practices and Pitfalls to Avoid
  • How to Create a Real-Time Scalable Streaming App Using Apache NiFi, Apache Pulsar, and Apache Flink SQL
  • How To Use Terraform to Provision an AWS EC2 Instance
  • Using JSON Web Encryption (JWE)

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: