Skip to content

Get item

GET
/api/v2/item/{id}/
const url = 'https://pokeapi.co/api/v2/item/1/';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

An item is an object in the games which the player can pick up, keep in their bag, and use in some manner. They have various uses, including healing, powering up, helping catch Pokémon, or to access a new area.

id
required
string

This parameter can be a string or an integer.

Examples

Example1
Terminal window
1
Media typeapplication/json
object
id
required

The identifier for this resource.

integer
name
required

The name for this resource.

string
<= 200 characters
fling_power

The power of the move Fling when used with this item.

integer | null
<= 130
fling_effect
required

The effect of the move Fling when used with this item.

One of:
object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
attributes
required

A list of attributes this item has.

Array<object>
object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
category
required

The category of items this item falls into.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
effect_entries
required

The effect of this ability listed in different languages.

Array<object>
object
effect
required

The localized effect text for an API resource in a specific language.

string
<= 6000 characters
short_effect
required

The localized effect text in brief.

string
<= 300 characters
language
required

The language this effect is in.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
flavor_text_entries
required

The flavor text of this ability listed in different languages.

Array<object>
object
text
required

The localized flavor text for an API resource in a specific language.

string
version_group
required

The version group which uses this flavor text.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
language
required

The language this name is in.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
game_indices
required

A list of game indices relevent to this item by generation.

Array<object>
object
game_index
required

The internal id of an API resource within game data.

integer
<= 2147483647
generation
required

The generation relevent to this game index.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
prices
required

Purchase and sell prices by currency and version group. Prices may be null when the item cannot be bought or sold.

Array<object>
object
purchase_price

The purchase price in this currency and version group, or null if unavailable.

integer | null
<= 2147483647
sell_price

The sell price in this currency and version group, or null if unavailable.

integer | null
<= 2147483647
currency
required

The currency used for this price.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
version_group
required

The version group to which this price applies.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
names
required

The name of this item listed in different languages.

Array<object>
object
name
required

The localized name for an API resource in a specific language.

string
<= 200 characters
language
required

The language this name is in.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
held_by_pokemon
required

A list of Pokémon that might be found in the wild holding this item.

Array<object>
object
pokemon
required

The Pokémon that holds this item.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
version_details
required

The details for the version that this item is held in by the Pokémon.

Array<object>
object
rarity
required

How often the item is held.

integer
version
required

The version in which the item is held.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
sprites
required

A set of sprites used to depict this item in the game.

object
default
required

The default depiction of this item.

string | null
baby_trigger_for
required

An evolution chain this item requires to produce a bay during mating.

One of:
object
url
required

The URL of the referenced resource.

string format: uri
machines
required

A list of the machines related to this item.

Array<object>
object
machine
required

The machine that teaches a move from an item.

object
url
required

The URL of the referenced resource.

string format: uri
version_group
required

The version group of this specific machine.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri

Example

Terminal window
{
"id": 1,
"name": "master-ball",
"fling_power": null,
"fling_effect": null,
"attributes": [
{
"name": "countable",
"url": "https://pokeapi.co/api/v2/item-attribute/1/"
},
{
"name": "consumable",
"url": "https://pokeapi.co/api/v2/item-attribute/2/"
}
],
"category": {
"name": "standard-balls",
"url": "https://pokeapi.co/api/v2/item-category/34/"
},
"effect_entries": [
{
"effect": "Used in battle\n: Catches a wild Pokémon without fail.\n\n If used in a trainer battle, nothing happens and the ball is lost.",
"short_effect": "Catches a wild Pokémon every time.",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"flavor_text_entries": [
{
"text": "The best BALL that\ncatches a POKéMON\nwithout fail.",
"version_group": {
"name": "ruby-sapphire",
"url": "https://pokeapi.co/api/v2/version-group/5/"
},
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
},
{
"text": "The best BALL that\ncatches a POKéMON\nwithout fail.",
"version_group": {
"name": "emerald",
"url": "https://pokeapi.co/api/v2/version-group/6/"
},
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"game_indices": [
{
"game_index": 1,
"generation": {
"name": "generation-i",
"url": "https://pokeapi.co/api/v2/generation/1/"
}
},
{
"game_index": 1,
"generation": {
"name": "generation-ii",
"url": "https://pokeapi.co/api/v2/generation/2/"
}
}
],
"prices": [
{
"purchase_price": null,
"sell_price": 0,
"currency": {
"name": "poke-dollar",
"url": "https://pokeapi.co/api/v2/currency/1/"
},
"version_group": {
"name": "red-blue",
"url": "https://pokeapi.co/api/v2/version-group/1/"
}
},
{
"purchase_price": null,
"sell_price": 0,
"currency": {
"name": "poke-dollar",
"url": "https://pokeapi.co/api/v2/currency/1/"
},
"version_group": {
"name": "yellow",
"url": "https://pokeapi.co/api/v2/version-group/2/"
}
}
],
"names": [
{
"name": "Master Ball",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"held_by_pokemon": [],
"sprites": {
"default": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/items/master-ball.png"
},
"baby_trigger_for": null,
"machines": []
}