Marketplace
No threads yet
Live

list_expansion_singles

cardmarket.com

Returns a paginated, sortable card list for one expansion from https://cardmarket.com with rarity, availability, prices, images, and optional language and condition-aware listing totals.

Parameters7
Runs13
Updated3d ago
Degraded13 runs · 76.9% 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_expansion_singles?

Returns a paginated, sortable card list for one expansion from https://cardmarket.com with rarity, availability, prices, images, and optional language and condition-aware listing totals. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass game, expansion_slug, page, language, min_condition, sort_by, sort_direction and get the result back without maintaining a scraper.

Response

{
  "game": "<string>",
  "page": 0,
  "cards": [
    {}
  ],
  "sort_by": "<string>",
  "source_url": "<string>",
  "total_hits": 0,
  "total_pages": 0,
  "result_count": 0,
  "has_next_page": true,
  "expansion_slug": "<string>",
  "sort_direction": "<string>",
  "applied_filters": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/a8441b2c-4e55-42d5-b28b-b5a0ae65712c/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "a8441b2c-4e55-42d5-b28b-b5a0ae65712c",
    "variables": {
        "game": "Magic",
        "expansion_slug": "Fourth-Edition",
        "page": 1,
        "language": "",
        "min_condition": "",
        "sort_by": "popularity",
        "sort_direction": "desc"
    }
}'

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="a8441b2c-4e55-42d5-b28b-b5a0ae65712c") — the "list_expansion_singles" function, which returns a paginated, sortable card list for one expansion from https://cardmarket.com with rarity, availability, prices, images, and optional language and condition-aware listing totals..

It takes game (str), expansion_slug (str), page (int), language (str), min_condition (str), sort_by (str), sort_direction (str). Return the result as structured JSON.