Access data for purchasable items and upgrades.
Retrieve a list of all items.
weapon, ability).common, rare, legendary).curl https://overwatch-hero-api.pages.dev/api/items?type=weapon
const response = await fetch('https://overwatch-hero-api.pages.dev/api/items?type=weapon');
const data = await response.json();
Returns an array of Item objects.
[
{
"id": "heavy_pulse_rifle_mk2",
"name": "Heavy Pulse Rifle Mk. II",
"cost": 1500,
"rarity": "rare",
"upgrade_type": "weapon",
"stat_changes": {
"damage": 10
}
// ...
}
]
Retrieve detailed information for a specific item.
Returns a single Item object.
{
"id": "heavy_pulse_rifle_mk2",
"name": "Heavy Pulse Rifle Mk. II",
"description": "Increases weapon damage.",
"cost": 1500,
// ...
}