Retrieve a list of all items.
weapon, ability).common, rare, legendary).curl https://athena-api.pages.dev/api/items?type=weapon
const response = await fetch('https://athena-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",
"is_universal": true,
"hero": null,
"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,
// ...
}