Path of Exile 2 Shop API
FreeJSONAPI key
Today's Path of Exile 2 item shop as JSON, and everything it has sold since we started reading it. Free with an API key, for bots, overlays, apps and sites.
What the Path of Exile 2 API covers
It covers the specials and sales in the Path of Exile 2 shop.
The shop has no fixed reset, so we read it every few minutes and the API changes when it does.
Each item comes with its name, type, price in Points, rarity, pictures, how long it's on sale.
Every rotation we've recorded is in the history endpoints.
Quick start
Make a key (sign in with Discord, name your project, say what it does), set it as ITEMSHOP_API_KEY, then:
Today's Path of Exile 2 shop:
curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \ "https://itemshop.gg/api/v1/shop/path-of-exile-2"
Every day it changed, then the shop on one of those days:
curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \ "https://itemshop.gg/api/v1/history/path-of-exile-2" curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \ "https://itemshop.gg/api/v1/history/path-of-exile-2/YYYY-MM-DD"
Poll /api/v1/rotations to know when the shop changes, send back ETags, and show a “Data from itemshop.gg” link wherever you show the data.
A live answer
What /api/v1/shop/path-of-exile-2 returns for today's shop, cut to 2 of its 19 items:
{
"data": {
"game": "path-of-exile-2",
"shopDate": "2026-10-27",
"updatedAt": "2026-10-27T11:17:20.034Z",
"expiresAt": "2026-10-28T00:00:00.000Z",
"stale": false,
"itemCount": 19,
"sections": [
{
"title": "Hideouts",
"upcoming": false,
"endsAt": null,
"items": [
{
"id": "CanopyHideout",
"itemKey": null,
"name": "Canopy Hideout",
"type": "Hideout",
"rarity": null,
"price": {
"amount": 240,
"label": null,
"currency": "Points",
"currencyIcon": "https://itemshop.gg/currency/poe-points.webp",
"regular": 300
},
"images": {
"card": "https://web.poecdn.com/gen/image/WzIxLDE0LHsiayI6IjJESXRlbXMvSGlkZW91dC9DYW5vcHlIaWRlb3V0IiwicmVhbG0iOiJwb2UyIn1d/1307d30445/CanopyHideout.webp",
"render": null
},
"badge": "Last day",
"availability": {
"from": "2026-10-27T00:00:00+00:00",
"until": "2026-10-28T00:00:00+00:00",
"untilLabel": "Sale ends"
},
"bundle": null,
"contents": [],
"soldOut": false,
"sourceUrl": null
}
]
}
]
}
}Every field is explained in the API docs.
Build it with an AI agent
Paste this into Claude Code, Cursor, Copilot or any coding agent in your project. It explains the API, keeps your key server-side and adds the link back.
Show the prompt
Add itemshop.gg's Item Shop API to this project. Full reference: https://itemshop.gg/developers (read it if you can fetch pages).
The game I'm building for is Path of Exile 2 (slug "path-of-exile-2"): its shop is https://itemshop.gg/api/v1/shop/path-of-exile-2.
Authentication
- Every request needs an API key, sent as the header "Authorization: Bearer <key>".
- Read the key from an environment variable named ITEMSHOP_API_KEY. Never hard-code it, commit it, or send it to a browser: call the API from server-side code only. If this project has an example env file, add ITEMSHOP_API_KEY to it with a placeholder.
- I make keys at https://itemshop.gg/account#api. If the variable isn't set, fail with a clear message saying so.
Endpoints (all GET, all JSON shaped { data, meta })
- https://itemshop.gg/api/v1/games: every game covered, with slug, name, page url, currency, reset time (UTC) and whether item history is available (itemHistory).
- https://itemshop.gg/api/v1/shop/{game}: the shop on sale now, as sections of items.
- https://itemshop.gg/api/v1/rotations: a fingerprint per game that changes when its shop changes. Poll this, and fetch a shop only when its fingerprint moves.
- https://itemshop.gg/api/v1/history/{game}: the days that game's shop changed, newest first.
- https://itemshop.gg/api/v1/history/{game}/{YYYY-MM-DD}: the shop on that day (UTC), same shape as /shop, plus shopDate and exact.
- https://itemshop.gg/api/v1/items/{game}/{itemKey}: one item and its stays in the shop. itemKey comes from items in shop or history answers.
Game slugs: valorant, marvel-rivals, overwatch, diablo-4, call-of-duty, rainbow-six-siege, aniimo, apex-legends, arc-raiders, battlefield-6, dead-by-daylight, war-thunder, pubg, once-human, league-of-legends, teamfight-tactics, path-of-exile-2, sea-of-thieves, wardogs, discord, rust.
The shop answer
- data: { game, shopDate, updatedAt, expiresAt, stale, itemCount, sections: [{ title, upcoming, endsAt, items }] }.
- Each item: { id, itemKey, name, type, rarity: { name, color } | null, price: { amount, label, currency, currencyIcon, regular }, images: { card, render }, badge, availability: { from, until, untilLabel }, bundle, contents: [...], soldOut, sourceUrl }.
- Many fields can be null; handle that. price.amount is null when the store shows no number, and price.label then holds a word such as "Included". price.currency is the game currency's name, or an ISO code like "USD" for real money. Sections with upcoming: true can't be bought yet. An empty sections list with stale: false is a genuinely empty shop.
- Write types for these shapes in this project's language.
Being a good client
- Cache answers: shops change every few minutes at most, and an answer is good for about two minutes. Send back the ETag as If-None-Match and treat 304 as "unchanged".
- The limit is 600 requests a minute per key. On 429, wait for the Retry-After header's seconds before trying again.
- Errors are { error: { code, message } }. Handle 401 (key_required or invalid_key: the key is missing, wrong or revoked), 404 (unknown_game, not_recorded, unknown_item, no_items), 429 and 503 (try again later).
- Set a User-Agent header that names this project.
Required by the terms
- Wherever the data is shown, show a visible link: "Data from itemshop.gg", linking to meta.attribution.url from the answer. Add it to the UI you build.
Start by asking me what I want built with it (for example a Discord bot command, a site widget or a daily post), unless I've already said, then implement it following the existing patterns in this codebase.Questions
Is there a Path of Exile 2 shop API?
Yes. itemshop.gg has a free JSON API for the Path of Exile 2 item shop: GET https://itemshop.gg/api/v1/shop/path-of-exile-2 with an API key gives today's shop, and the history endpoints give past rotations.
Is the Path of Exile 2 shop API free?
Yes. Make a key in your itemshop.gg settings after signing in with Discord, and you can make up to 600 requests a minute. The one condition is a visible "Data from itemshop.gg" link wherever you show the data.
How often is the Path of Exile 2 shop data updated?
We read the Path of Exile 2 shop every few minutes, and the API changes when the store does.
How far back does the Path of Exile 2 shop history go?
As far as our own record of the Path of Exile 2 shop goes. GET /api/v1/history/path-of-exile-2 lists every day it changed.
The same API covers 21 games. See them all →