Pokemon ability endpoint
GET /pokemon/abilities
Query Requirements:
Query Parameter |
---|
ability |
Example Response:
URL
https://api.some-random-api.com/pokemon/abilities?ability=...
If the ability isn't found it will try and search for abilities that may match what you were looking for.
Response
// 200 OK
{
"id": 1,
"name": "stench",
"generation": 3,
"effects": "This Pokémon's damaging moves have a 10% chance to make the target...",
"description": "Helps repel wild POKéMON.",
"pokemons": [
{
"pokemon": "gloom",
"hidden": true
},
...
],
"descriptions": [
{
"version": "ruby-sapphire"
},
...
]
}
// 404 Not Found
{
"error": "Ability not found",
"dym": [ // Did you mean?
{
"ability": "stench",
"certainty": "0.57"
},
{
"ability": "imposter",
"certainty": "0.44"
}
]
}