PokedexPro
PokedexPro · Ações GPT
PokéAPI
API for Pokémon data including information about Pokémon, moves, abilities, and types.
GET /pokemonGet a list of PokémonGET /pokemon/{id}Get a specific Pokémon by ID or nameGET /abilityGet a list of abilitiesGET /ability/{id}Get a specific ability by ID or nameGET /typeGet a list of typesGET /type/{id}Get a specific type by ID or nameGET /moveGet a list of movesGET /move/{id}Get a specific move by ID or nameGET /itemGet a list of itemsGET /item/{id}Get a specific item by ID or nameGET /locationGet a list of locationsGET /location/{id}Get a specific location by ID or nameGET /berryGet a list of berriesGET /berry/{id}Get a specific berry by ID or nameGET /evolution-chainGet a list of evolution chainsGET /evolution-chain/{id}Get a specific evolution chain by IDGET /natureGet a list of naturesGET /nature/{id}Get a specific nature by ID or name
Esquema API original
{
"openapi": "3.0.0",
"info": {
"title": "PokéAPI",
"version": "v2",
"description": "API for Pokémon data including information about Pokémon, moves, abilities, and types."
},
"servers": [
{
"url": "https://pokeapi.co/api/v2"
}
],
"paths": {
"/pokemon": {
"get": {
"summary": "Get a list of Pokémon",
"operationId": "listPokemon",
"tags": [
"Pokemon"
],
"responses": {
"200": {
"description": "A list of Pokémon",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PokemonList"
}
}
}
}
}
}
},
"/pokemon/{id}": {
"get": {
"summary": "Get a specific Pokémon by ID or name",
"operationId": "getPokemonById",
"tags": [
"Pokemon"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the Pokémon",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a Pokémon",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Pokemon"
}
}
}
}
}
}
},
"/ability": {
"get": {
"summary": "Get a list of abilities",
"operationId": "listAbilities",
"tags": [
"Abilities"
],
"responses": {
"200": {
"description": "A list of abilities",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AbilityList"
}
}
}
}
}
}
},
"/ability/{id}": {
"get": {
"summary": "Get a specific ability by ID or name",
"operationId": "getAbilityById",
"tags": [
"Abilities"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the ability",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about an ability",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Ability"
}
}
}
}
}
}
},
"/type": {
"get": {
"summary": "Get a list of types",
"operationId": "listTypes",
"tags": [
"Types"
],
"responses": {
"200": {
"description": "A list of Pokémon types",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TypeList"
}
}
}
}
}
}
},
"/type/{id}": {
"get": {
"summary": "Get a specific type by ID or name",
"operationId": "getTypeById",
"tags": [
"Types"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the type",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Type"
}
}
}
}
}
}
},
"/move": {
"get": {
"summary": "Get a list of moves",
"operationId": "listMoves",
"tags": [
"Moves"
],
"responses": {
"200": {
"description": "A list of Pokémon moves",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MoveList"
}
}
}
}
}
}
},
"/move/{id}": {
"get": {
"summary": "Get a specific move by ID or name",
"operationId": "getMoveById",
"tags": [
"Moves"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the move",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a move",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Move"
}
}
}
}
}
}
},
"/item": {
"get": {
"summary": "Get a list of items",
"operationId": "listItems",
"tags": [
"Items"
],
"responses": {
"200": {
"description": "A list of items in the Pokémon world",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ItemList"
}
}
}
}
}
}
},
"/item/{id}": {
"get": {
"summary": "Get a specific item by ID or name",
"operationId": "getItemById",
"tags": [
"Items"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the item",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about an item",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Item"
}
}
}
}
}
}
},
"/location": {
"get": {
"summary": "Get a list of locations",
"operationId": "listLocations",
"tags": [
"Locations"
],
"responses": {
"200": {
"description": "A list of locations in the Pokémon world",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LocationList"
}
}
}
}
}
}
},
"/location/{id}": {
"get": {
"summary": "Get a specific location by ID or name",
"operationId": "getLocationById",
"tags": [
"Locations"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the location",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a location",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Location"
}
}
}
}
}
}
},
"/berry": {
"get": {
"summary": "Get a list of berries",
"operationId": "listBerries",
"tags": [
"Berries"
],
"responses": {
"200": {
"description": "A list of berries",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BerryList"
}
}
}
}
}
}
},
"/berry/{id}": {
"get": {
"summary": "Get a specific berry by ID or name",
"operationId": "getBerryById",
"tags": [
"Berries"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the berry",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a berry",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Berry"
}
}
}
}
}
}
},
"/evolution-chain": {
"get": {
"summary": "Get a list of evolution chains",
"operationId": "listEvolutionChains",
"tags": [
"Evolution"
],
"responses": {
"200": {
"description": "A list of evolution chains",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EvolutionChainList"
}
}
}
}
}
}
},
"/evolution-chain/{id}": {
"get": {
"summary": "Get a specific evolution chain by ID",
"operationId": "getEvolutionChainById",
"tags": [
"Evolution"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier of the evolution chain",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Detailed information about an evolution chain",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EvolutionChain"
}
}
}
}
}
}
},
"/nature": {
"get": {
"summary": "Get a list of natures",
"operationId": "listNatures",
"tags": [
"Natures"
],
"responses": {
"200": {
"description": "A list of natures",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NatureList"
}
}
}
}
}
}
},
"/nature/{id}": {
"get": {
"summary": "Get a specific nature by ID or name",
"operationId": "getNatureById",
"tags": [
"Natures"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"description": "Unique identifier or name of the nature",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Detailed information about a nature",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Nature"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"PokemonList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 1118
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/pokemon?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"NamedAPIResource": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "bulbasaur"
},
"url": {
"type": "string",
"example": "https://pokeapi.co/api/v2/pokemon/1/"
}
}
},
"Pokemon": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "bulbasaur"
},
"base_experience": {
"type": "integer",
"example": 64
},
"height": {
"type": "integer",
"example": 7
},
"weight": {
"type": "integer",
"example": 69
},
"abilities": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PokemonAbility"
}
}
}
},
"PokemonAbility": {
"type": "object",
"properties": {
"is_hidden": {
"type": "boolean",
"example": false
},
"slot": {
"type": "integer",
"example": 1
},
"ability": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"AbilityList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 327
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/ability?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Ability": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "stench"
},
"is_main_series": {
"type": "boolean",
"example": true
},
"generation": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"names": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Name"
}
}
}
},
"Name": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Stench"
},
"language": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"TypeList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 20
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/type?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Type": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "normal"
},
"damage_relations": {
"$ref": "#/components/schemas/TypeRelations"
},
"moves": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
},
"pokemon": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TypePokemon"
}
}
}
},
"TypeRelations": {
"type": "object",
"properties": {
"no_damage_to": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
},
"half_damage_to": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
},
"double_damage_to": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"TypePokemon": {
"type": "object",
"properties": {
"slot": {
"type": "integer",
"example": 1
},
"pokemon": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"MoveList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 844
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/move?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Move": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "pound"
},
"accuracy": {
"type": "integer",
"nullable": true,
"example": 100
},
"effect_chance": {
"type": "integer",
"nullable": true
},
"pp": {
"type": "integer",
"example": 35
},
"priority": {
"type": "integer",
"example": 0
},
"power": {
"type": "integer",
"nullable": true,
"example": 40
},
"type": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"ItemList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 954
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/item?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Item": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "master-ball"
},
"cost": {
"type": "integer",
"example": 0
},
"fling_power": {
"type": "integer",
"nullable": true
},
"fling_effect": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
},
"category": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"effect_entries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/VerboseEffect"
}
}
}
},
"VerboseEffect": {
"type": "object",
"properties": {
"effect": {
"type": "string",
"example": "Used in battle : Causes the foe to become confused."
},
"short_effect": {
"type": "string",
"example": "Confuses the target."
},
"language": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"LocationList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 781
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/location?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Location": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "pallet-town"
},
"region": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"names": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Name"
}
},
"game_indices": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GenerationGameIndex"
}
}
}
},
"GenerationGameIndex": {
"type": "object",
"properties": {
"game_index": {
"type": "integer",
"example": 1
},
"generation": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"BerryList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 64
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/berry?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Berry": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "cheri"
},
"growth_time": {
"type": "integer",
"example": 3
},
"max_harvest": {
"type": "integer",
"example": 5
},
"natural_gift_power": {
"type": "integer",
"example": 60
},
"size": {
"type": "integer",
"example": 20
},
"smoothness": {
"type": "integer",
"example": 25
},
"soil_dryness": {
"type": "integer",
"example": 15
},
"firmness": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"flavors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BerryFlavorMap"
}
},
"item": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"BerryFlavorMap": {
"type": "object",
"properties": {
"potency": {
"type": "integer",
"example": 10
},
"flavor": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"EvolutionChainList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 468
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/evolution-chain?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"EvolutionChain": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"baby_trigger_item": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"chain": {
"$ref": "#/components/schemas/ChainLink"
}
}
},
"ChainLink": {
"type": "object",
"properties": {
"is_baby": {
"type": "boolean",
"example": false
},
"species": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"evolution_details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EvolutionDetail"
}
},
"evolves_to": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ChainLink"
}
}
}
},
"EvolutionDetail": {
"type": "object",
"properties": {
"item": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"trigger": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"gender": {
"type": "integer",
"nullable": true
},
"held_item": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"known_move": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"known_move_type": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"location": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"min_level": {
"type": "integer",
"nullable": true
},
"min_happiness": {
"type": "integer",
"nullable": true
},
"min_beauty": {
"type": "integer",
"nullable": true
},
"min_affection": {
"type": "integer",
"nullable": true
},
"needs_overworld_rain": {
"type": "boolean",
"nullable": true
},
"party_species": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"party_type": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"relative_physical_stats": {
"type": "integer",
"nullable": true
},
"time_of_day": {
"type": "string",
"nullable": true
},
"trade_species": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"turn_upside_down": {
"type": "boolean",
"nullable": true
}
}
},
"NatureList": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"example": 25
},
"next": {
"type": "string",
"nullable": true,
"example": "https://pokeapi.co/api/v2/nature?offset=20&limit=20"
},
"previous": {
"type": "string",
"nullable": true
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
},
"Nature": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "hardy"
},
"decreased_stat": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"increased_stat": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"hates_flavor": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"likes_flavor": {
"$ref": "#/components/schemas/NamedAPIResource"
},
"pokeathlon_stat_changes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NatureStatChange"
}
},
"move_battle_style_preferences": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MoveBattleStylePreference"
}
}
}
},
"NatureStatChange": {
"type": "object",
"properties": {
"max_change": {
"type": "integer",
"example": 1
},
"pokeathlon_stat": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
},
"MoveBattleStylePreference": {
"type": "object",
"properties": {
"low_hp_preference": {
"type": "integer",
"example": 50
},
"high_hp_preference": {
"type": "integer",
"example": 50
},
"move_battle_style": {
"$ref": "#/components/schemas/NamedAPIResource"
}
}
}
}
}
}