MARVEL VILLAINS

The unofficial API for all the villains appearing in the Marvel Cinematic Universe!

For the full JSON object provided by this API, please go to the following link:

https://marvel-villains.herokuapp.com/villains

List of Villains included in this API

Documentation

Way to access objects of individual villains:

For the direct link to the individual villain object (JSON):
https://marvel-villains.herokuapp.com/villains/Villain Name

For the JS formatted fetch parameter:
`https://marvel-villains.herokuapp.com/villains/${villainName}`


**The direct link to the individual villain object will only need the Villain Name query parameter changed to the villain being requested.**

**The Villain Name query parameter can be substituted by any of the villains in the list above. It is spelling specific with spaces separating each word and is NOT case-sensitive.**

**For the JS formatted fetch parameter, make sure to include backticks (`) to your code to use the template literal in your JavaScript.**


There are 8 keys/properties that come with each villain object:

PROPERTY DESCRIPTION
name [String] Formal name of character
alias [String] Villain name of character
media [Array] Movie(s) / TV Show(s) character appears as the main villain
powers [Array] Documented powers and abilities
trivia [String] Random fact about character
quote [String] Quote mentioned by the character
image [String] Link to the picture of the character from a CDN (Content Delivery Network)
wikiLink [String] Link to the character's profile page on https://marvel.fandom.com

Sample Code