Marketplace
No threads yet
Live

list_expansions_by_game

cardmarket.com

Returns every expansion for a selected game from https://cardmarket.com with names, slugs, card counts, release dates, and links ordered newest first.

Parameters1
Runs8
Updated3d ago
Operational8 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is list_expansions_by_game?

Returns every expansion for a selected game from https://cardmarket.com with names, slugs, card counts, release dates, and links ordered newest first. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass game and get the result back without maintaining a scraper.

Response

{
  "game": "<string>",
  "count": 0,
  "expansions": [
    {
      "name": "<string>",
      "slug": "<string>",
      "card_count": 0,
      "release_date": "<string>",
      "expansion_url": "<string>"
    }
  ],
  "source_url": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/f68f0269-f1c7-40d0-869a-f83f8999bcf8/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "f68f0269-f1c7-40d0-869a-f83f8999bcf8",
    "variables": {
        "game": "Magic"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="f68f0269-f1c7-40d0-869a-f83f8999bcf8") — the "list_expansions_by_game" function, which returns every expansion for a selected game from https://cardmarket.com with names, slugs, card counts, release dates, and links ordered newest first..

It takes game (str). Return the result as structured JSON.