Skip to content

Data API v1

Read-only JSON over HTTPS. Base URL: https://www.bidmania.com/api/data/v1

Authentication

Create a key on your API keys page and send it with every request. Keep it secret: it is tied to your Bidmania account. Use it from your server, never in a public web page or app.

curl -H "Authorization: Bearer bmk_your_key" \
  "https://www.bidmania.com/api/data/v1/sales?q=pikachu&per_page=20"

X-Api-Key: bmk_… works too.

History and limits

MemberPartner
Sold history14 daysUp to 2 years (set at approval)
Requests per minute (per key)30120
Requests per day (per key, UTC)1,00010,000

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Quota-Limit and X-Quota-Remaining. Over a limit you get 429 with Retry-After (seconds): wait that long before trying again. Cache what you fetch: prices for a search rarely change within an hour.

Endpoints

GET /me

Your key, plan, limits, today's usage and partner status.

GET /categories

Top-level categories, or the children of ?parent_id=. Each has id, name, parent_id, path and its Bidmania url.

GET /sales

Sold items, newest first.

ParameterWhat it does
qWords that must all appear in the item title, e.g. charizard base set.
category_idOnly this category and the ones below it (ids from /categories).
conditionNM, LP, MP, HP or DMG, read from the condition at the end of a card title.
from, toDates (YYYY-MM-DD, UTC) or ISO 8601 times. Default: your whole history window. A from earlier than your window is moved to the start of it, and meta.notice says so.
min_price, max_priceUnit price range.
currencyDefault USD.

Also sort (sold_desc, sold_asc, price_desc, price_asc), page (1–1000) and per_page (1–100, default 50).

{
    "data": [
        {
            "id": 1,
            "sold_at": "2026-11-29T23:03:24Z",
            "title": "Tribute to Demolition (Red) - Dusk till Dawn (LP)",
            "condition": {
                "code": "LP",
                "label": "Lightly Played"
            },
            "category": {
                "id": 9601,
                "name": "Flesh and Blood",
                "path": [
                    "Collectables",
                    "Trading Cards",
                    "Flesh and Blood"
                ]
            },
            "format": "fixed_price",
            "quantity": 1,
            "unit_price": "0.15",
            "currency": "USD",
            "listing_url": "https://www.bidmania.com/listing/tribute-to-demolition-red-dusk-till-dawn-lp/7771"
        }
    ],
    "meta": {
        "window": {
            "history_days": 14,
            "from": "2026-11-21T02:00:00Z",
            "to": "2026-12-05T02:00:00Z"
        },
        "page": 1,
        "per_page": 50,
        "total": 1,
        "has_more": false,
        "notice": null
    },
    "attribution": {
        "text": "Sold prices from Bidmania",
        "url": "https://www.bidmania.com/",
        "required": "Show this credit with a link wherever you display this data (see the API terms)."
    }
}

GET /sales/summary

The same filters, summarised: number of sales, units, low, high, average (per unit) and median. Add group=day for one row per day.

{
    "summary": {
        "sales": 12,
        "units": 14,
        "low": "0.10",
        "high": "1.25",
        "average": "0.41",
        "median": "0.35",
        "total_value": "5.74"
    },
    "currency": "USD",
    "truncated": false,
    "meta": {
        "window": {
            "history_days": 14,
            "from": "…",
            "to": "…"
        },
        "notice": null
    }
}

Errors

Errors use normal HTTP status codes and a JSON body: {"error": {"code": "invalid_key", "message": "…"}}.

StatusMeaning
401Missing, invalid or revoked key
403The account that owns the key is not active
404Unknown endpoint or category
422A parameter is not valid (the message says which)
429Rate limit or daily quota reached: see Retry-After
500Our problem: try again shortly

Credit

Wherever you show this data, show “Sold prices from Bidmania” with a link to https://www.bidmania.com or to the listing (listing_url). Partners can use their referral link.

Changes

v1 only gets additions (new fields, new endpoints). Anything that would break your code comes as v2, with at least 90 days' notice by email to key holders.