API
Catalogue, live listings and sold-price data as JSON.
The read endpoints below are open: no account and no API key. The account endpoints use a bearer token; how to get one is in /auth.md. Requests are rate limited per IP address, and a request over the limit gets a 429 response. Use of the API is covered by our Terms of Service.
Machine-readable description
- /openapi.json: OpenAPI 3.1 description of everything on this page.
- /.well-known/api-catalog: API catalog (RFC 9727) linking to the description, the docs and the health check.
POST /mcp: MCP server (Streamable HTTP, no credential) offering the read endpoints as tools. Described by /.well-known/mcp/server-card.json.GET /api/health: health check. 200 when the site is ready, 503 when it is not.
All paths are relative to https://beaniexchange.com.
Search the Beanie catalogue
GET /api/beanies
q: Free-text search.category: Catalogue category.letter: First letter of the name, A-Z, or # for anything else.collection: Collection slug.sort: Sort order.offset: Rows to skip.limit: Rows to return.
Live listings, grouped by beanie
GET /api/listings
q: Free-text search.collection: Collection slug.offset: Groups to skip; pass the previous page's nextOffset.
Estimated value of a beanie in a given condition
GET /api/price
Pass key (the normalized catalogue key) or name. A name the catalogue does not know is only looked up live for an authenticated caller.
key: Normalized catalogue key, e.g. princess.name: Beanie name, used when key is absent.condition: Condition grade.hangTag: Hang tag condition.
Aggregate sold-price statistics
GET /api/sold/trends
key: Normalized catalogue key; all beanies when absent.from: Start of the range. Defaults to twelve months ago.to: End of the range. Defaults to now.
Create an account and receive a bearer token
POST /api/mobile/auth/register
Exchange an email and password for a bearer token
POST /api/mobile/auth/login
The signed-in account; also renews an ageing token
GET /api/mobile/me (bearer token required)
Delete the signed-in account
DELETE /api/mobile/me (bearer token required)
Questions
Email [email protected].
