itemshop.gg

Sea of Thieves Shop API

FreeJSONAPI key

Today's Sea of Thieves pirate emporium 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 Sea of Thieves API covers

It covers the Sea of Thieves pirate emporium as it is on sale now, in its own sections.

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 Ancient Coins, rarity, pictures, how long it's on sale and a key that stays the same each time it's sold, so you can follow it across rotations.

Every rotation we've recorded is in the history endpoints, and each item's stays in the shop.

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 Sea of Thieves shop:

curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \
  "https://itemshop.gg/api/v1/shop/sea-of-thieves"

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/sea-of-thieves"

curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \
  "https://itemshop.gg/api/v1/history/sea-of-thieves/YYYY-MM-DD"

One item and every time it has been in the shop, by the itemKey on it in a shop answer:

curl -H "Authorization: Bearer $ITEMSHOP_API_KEY" \
  "https://itemshop.gg/api/v1/items/sea-of-thieves/sot:item:omen-collectors-ship-bundle"

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/sea-of-thieves returns for today's shop, cut to 2 of its 19 items:

{
  "data": {
    "game": "sea-of-thieves",
    "shopDate": "2026-10-27",
    "updatedAt": "2026-10-27T11:12:09.300Z",
    "expiresAt": null,
    "stale": false,
    "itemCount": 19,
    "sections": [
      {
        "title": "Omen Collector’s Items",
        "upcoming": false,
        "endsAt": null,
        "items": [
          {
            "id": "omen-collectors-ship-bundle",
            "itemKey": "sot:item:omen-collectors-ship-bundle",
            "name": "Omen Collector’s Ship Bundle",
            "type": null,
            "rarity": null,
            "price": {
              "amount": 2999,
              "label": null,
              "currency": "Ancient Coins",
              "currencyIcon": "https://itemshop.gg/currency/ancient-coins.svg",
              "regular": null
            },
            "images": {
              "card": "https://rare-assets.azureedge.net/assets/08/f2/08f263ce-803c-4c01-9631-14ef6468e245.jpg?n=Adventure16x9_01_dt.jpg",
              "render": null
            },
            "badge": null,
            "availability": {
              "from": null,
              "until": null,
              "untilLabel": null
            },
            "bundle": null,
            "contents": [],
            "soldOut": false,
            "sourceUrl": null
          },
          {
            "id": "omen-collectors-figurehead",
            "itemKey": "sot:item:omen-collectors-figurehead",
            "name": "Omen Collector’s Figurehead",
            "type": null,
            "rarity": null,
            "price": {
              "amount": 799,
              "label": null,
              "currency": "Ancient Coins",
              "currencyIcon": "https://itemshop.gg/currency/ancient-coins.svg",
              "regular": null
            },
            "images": {
              "card": "https://rare-assets.azureedge.net/assets/a0/1d/a01d868e-85d0-4c06-8fbd-4f3a7febee2d.jpg?n=Adventure16x9_01_dt.jpg",
              "render": null
            },
            "badge": null,
            "availability": {
              "from": null,
              "until": null,
              "untilLabel": null
            },
            "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 Sea of Thieves (slug "sea-of-thieves"): its shop is https://itemshop.gg/api/v1/shop/sea-of-thieves.


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 Sea of Thieves shop API?

Yes. itemshop.gg has a free JSON API for the Sea of Thieves pirate emporium: GET https://itemshop.gg/api/v1/shop/sea-of-thieves with an API key gives today's shop, and the history endpoints give past rotations and each item's history.

Is the Sea of Thieves 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 Sea of Thieves shop data updated?

We read the Sea of Thieves shop every few minutes, and the API changes when the store does.

How far back does the Sea of Thieves shop history go?

As far as our own record of the Sea of Thieves shop goes. GET /api/v1/history/sea-of-thieves lists every day it changed.

The same API covers 21 games. See them all →