Card
Returns one trading card by its card_id: identity and images, the graded population of every grade, the current Alt Value and last sale of each grade with a recorded sale, and Alt's own and external active listings in a given grade.
Loading / 加载中…
Alt API: trading card values, sales and listings · E-commerce & marketplace data
The Alt API searches a database of trading cards, returns one card in full with its graded population, the current Alt Value and last sale of every grade with a recorded sale, and its own and external active listings; reads a card's individual sales history filtered by grade, marketplace and date; tracks a card's Alt Value day by day over a chosen window; looks up a graded slab by its PSA, BGS or SGC certificate number; browses live listings and recent sales across Alt's own and external marketplaces; and returns a single listing or sale record by its id.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns one trading card by its card_id: identity and images, the graded population of every grade, the current Alt Value and last sale of each grade with a recorded sale, and Alt's own and external active listings in a given grade.
Returns one card's individual sales history across multiple marketplaces, filtered by grade, marketplace and date, with every grade's newest sales when no grade is given.
Returns the daily Alt Value of one card in one grade between two dates, with a confidence band for each day and a summary of how the value moved.
Looks up one graded slab by its certificate number: the card, the grade, its current Alt Value and population, and every sale and listing Alt has recorded for that slab.
Returns one live listing by its listing_id, whether it is one of Alt's own auctions or fixed-price listings or an external listing on another marketplace.
Searches live listings across Alt's own auctions and fixed-price listings and several external marketplaces, filtered by card, grade, price and Alt Value.
Returns one recorded sale by its sale_id: price, fees, shipping, marketplace, grade and the card sold.
Returns sold listings from the last roughly 90 days across every card, filtered by keyword, marketplace, category, grade and price.
Searches Alt's card database by keyword, year and category, with each row's graded population and last sale, and, with a grade given, that grade's current Alt Value.
Alt (alt.xyz) is a marketplace where collectors buy and sell sports and trading cards, and it also runs an insured vault that stores cards sent in, whether graded or raw. Alt's marketplace began with sports cards and has since broadened into other trading-card categories, including Pokémon and Yu-Gi-Oh! cards.
Collectors and investors treat a graded card as an asset, building a collection and following how its value moves the way they would track a portfolio. A card's grade comes from a separate grading company such as PSA, which examines the card's condition and assigns it a number; the grade printed on a slab's label is tied to a certificate number unique to that one physical card.
body.card_id identifies the same card everywhere it appears, taking a row's card_id exactly as another operation returned it. id, asset_id, or a link such as alt.xyz/research/e5c5faea-533f-48fe-8013-a918d87a8b52 are accepted in its place. body.listing_id on altxyz-listing works the same way, taking a listings row's listing_id as is, with id or a link such as alt.xyz/itm/8fd4b09d-9a85-47b8-8723-7f7eebb8ea81 accepted instead; an external listing's id carries a live_ prefix rather than Alt's own listing id shape.
body.sale_id on altxyz-sale takes a sales or card-sales row's sale_id, with id or a link such as alt.xyz/itm/accb4108-8fe2-4983-87dd-6d81c1af8d2c/sold accepted in its place. body.cert_number on altxyz-cert-lookup is different again: it is the number printed on a physical slab's label rather than any id this API has previously returned, 6 to 12 digits with leading zeros kept (a BGS number starts with 00).
body.grade names one grade the same way everywhere it appears in the Alt API: the grading company's short name followed by its grade.
PSA 10, PSA 9 or PSA AuthenticBGS 9.5 or BGS Black LabelCGC 10 or CGC PristineSGC 10It is optional on altxyz-card, altxyz-card-sales, altxyz-listings, altxyz-sales and altxyz-search, where leaving it out widens the call to every grade rather than failing it. It is required on altxyz-card-value-history alone, since a value history has to belong to exactly one grade. On altxyz-card, adding body.grade adds an in_grade figure for that one grade on top of the full grade ladder a card-only call already returns.
altxyz-card-sales and altxyz-sales answer the same kind of sale row, but over different scopes: altxyz-card-sales requires body.card_id and covers that one card's entire recorded history, while altxyz-sales has no required id and covers sold listings across every card from roughly the last 90 days. Both name the source as Alt records the venue, for example PWCC Weekly Auctions. Both also record a sale_type: AUCTION, BEST_OFFER, BUY_IT_NOW or FIXED_PRICE.
body.skipped on altxyz-card-sales controls whether sales Alt marks RELISTED or NOT_PAID are included, excluded, or returned on their own; the default includes them exactly as the row's own skipped_reason shows. altxyz-sale answers one sale by its sale_id alone, adding usd_amount, which on a best-offer sale can hold the asking price rather than the price the sale actually settled at — a distinction neither altxyz-card-sales nor altxyz-sales exposes on its own rows.
altxyz-search and altxyz-listings answer different kinds of row from the same body.query. A search row is one catalogue card, with body.enrich (on by default) adding that card's last_sale and, with body.grade given, its in_grade Alt Value.
Turning body.enrich off returns card identity alone in a single request rather than the enriched version. A listings row is one live offer for sale, carrying its own price_usd or current bid, watch_count, view_count and the card's alt_value_at_listing as stored on that listing rather than looked up fresh.
altxyz-card-value-history accepts id, asset_id or url in place of body.card_id. It also accepts date_from/start_date and date_to/end_date in place of body.from and body.to. altxyz-card accepts the same card_id aliases, and altxyz-card-sales accepts the same card_id and date aliases.
Alongside the daily points and the window summary, the response also carries ready_for_display, Alt's own flag for whether that stretch of history is settled enough to show rather than still catching up. altxyz-cert-lookup adds other_matches only when the same certificate number resolves to more than one card at a different grading company, rather than silently guessing which grader the number belongs to.
{
"body": {
"card_id": "e5c5faea-533f-48fe-8013-a918d87a8b52",
"grade": "PSA 9"
}
}POST /api/v1/altxyz/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).altxyz-card and chart how that value moved using altxyz-card-value-history.altxyz-cert-lookup to confirm the card, grade and recorded sales behind that number.altxyz-sales and altxyz-listings across marketplaces to compare recent sold prices against current asking prices.card_id from altxyz-search and refresh its population and last sale through altxyz-card on a schedule.altxyz-listing for one Alt auction's full bid history and current state as an auction nears its end time.altxyz-card-value-history requires body.grade; body.from defaults to 365 days before body.to, and body.to defaults to today.altxyz-sales only covers sold listings from roughly the last 90 days.altxyz-cert-lookup, not CGC.body.grade, altxyz-card-sales returns only the newest body.per_grade sales of each grade, up to 100 per grade; body.per_grade is ignored once body.grade is given, since the whole history of that grade is returned instead.altxyz-listings and altxyz-sales cap body.limit at 50 rows per page and body.page at 500; altxyz-card-sales caps body.limit and body.page at 1000 each.altxyz-cert-lookup's sales list for one slab comes only from Alt's own records, Heritage and Goldin sales carrying the cert, and eBay or Fanatics listings with the cert number in the title within roughly the last 90 days; other slabs return an empty sales list.altxyz-search's body.year_min and body.year_max run from 1800 to 2100 inclusive, and the operation itself carries no price filter; body.min_price and body.max_price exist only on altxyz-listings and altxyz-sales.altxyz-card-sales' body.marketplace accepts an other value covering additional auction houses; altxyz-listings and altxyz-sales list only eight named marketplaces and do not accept other.Send the card's card_id and a grade such as PSA 10 to altxyz-card-value-history. Leaving body.from and body.to unset answers roughly the last 365 days; setting both narrows the window instead. The response's points list gives one entry per day, oldest first, each with that day's alt_value and its alt_value_low/alt_value_high band. summary adds first_value, last_value, high, low and change_pct computed over the same window, so the overall move and the day-by-day detail behind it come back from a single call.
Send the certificate number printed on the slab label as body.cert_number to altxyz-cert-lookup; cert, certificate and cert_no are accepted in its place, and a psacard.com cert-lookup link such as psacard.com/cert/43299127 works too. Add body.grading_company only when the number could belong to more than one grader or its leading zeros were dropped before sending. The response names the card and the exact grade (cert.grade, with BGS subgrades when the grader is BGS), in_grade for that grade generally, and the slab's own sales and listings specifically.
Send the card's card_id to altxyz-card-sales. Adding a grade returns the complete recorded history of that one grade; leaving grade unset instead returns the newest body.per_grade sales of every single grade available, capped at 100 each. body.marketplace narrows to one of nine venues including other; body.from and body.to bound the sale date; body.skipped includes, excludes or isolates sales Alt marks relisted or not paid; and body.sort with body.page/body.limit (up to 1000 each) controls order and paging.
Browse with altxyz-listings, filtering by body.card_id, body.grade, body.category, price or Alt Value, to get rows with each listing's own price or current bid, watcher and view counts. Take the listing_id of a row you want more detail on and send it to altxyz-listing: an Alt auction answers its full bids history newest first plus bid_history_events, while an external listing instead answers that marketplace's highest_bid_usd and buy_it_now_usd.
altxyz-card answers pop_total for the overall graded count and a population list broken down by grading_company and grade_number. Its grades list adds, for every grade with a recorded sale, that grade's alt_value and pop together, ordered highest Alt Value first. Sending body.grade adds in_grade, the same figures for that one grade read directly rather than found by scanning grades. altxyz-search carries its own card-index pop, which can differ from the sum of these per-grade counts.
Send keywords as body.query to altxyz-search; the match is typo-tolerant, and leaving body.query empty browses by filters alone. body.category narrows to one card category, and body.year_min/body.year_max bound the card's year from 1800 to 2100. body.sort orders by Alt's own relevance or by population in either direction. body.enrich, on by default, attaches each row's last_sale; setting it to false returns identity fields alone in a single request.
Send filters to altxyz-sales rather than a required card id: body.query, body.marketplace, body.category, body.grade, body.grading_company and body.sale_format each narrow the pool, and body.min_price/body.max_price bound the price. The feed itself covers roughly the last 90 days, so body.from cannot reach sales older than that. Each row names sold_date, price_usd, the venue and the card sold; body.card_id narrows the same feed to one card when that is what you actually want.
altxyz-cert-lookup reads the grading company from the certificate number itself, so body.grading_company (PSA, BGS, CGC, SGC, TAG, CSG, BVG, PSA/DNA or BCCG) is only needed to disambiguate a number shared by two graders or one sent with its leading zeros dropped. in_grade.last_sale names the newest sale of any copy at that grade, while the slab's own sales list is scoped to that one physical card alone, each entry tagged matched_by cert_field or title.