Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Undesirables — AI Tools Info API
description: Conformal risk forecasting and market intelligence for trading cards. Powered by x402 micropayments — USDC on Base, USDC on Solana, or USDG on Robinhood Chain; the 402 offers all three and the agent picks a leg. Free tools require no payment. Paid tools return HTTP 402 — sign a payment and retry with the payment proof header.
contact:
name: The Undesirables
url: https://oracle.the-undesirables.com/
email: oracle@the-undesirables.com
version: 1.0.0
tags:
- name: Info
paths:
/:
get:
tags:
- Info
summary: Root
description: Server info and available endpoints.
operationId: root__get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security: []
/health:
get:
tags:
- Info
summary: Health
description: 'Health check with database statistics.
The stats are CACHED (5 min): `SELECT COUNT(*)` over price_history (27.8M+
rows and growing) took ~15s on a cold page cache, which pushed /health past
the stack healthcheck''s 10s timeout and cried wolf after every restart
(2026-07-21). A health endpoint must answer fast even when the DB is cold —
liveness is reported immediately and the counts fill in from cache.'
operationId: health_health_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security: []
/jp/card/{game}/{set_code}/{card_id}:
get:
tags:
- Info
summary: Jp Card Page
description: 'Per-card page for a Japanese-print card: the dealer''s two-sided quote.
DELIBERATELY NARROW, FOR COMPLIANCE REASONS
-------------------------------------------
The upstream source permits everything except 転載 (republication). Three
choices keep this on the right side of that line, and none of them are
incidental:
* ONE card per request. Lookup is the use every price source permits;
a browsable index of 364k quotes would be a bulk surface, which is the
thing that was deleted in September. There is deliberately NO listing
route, and none should be added.
* RATE LIMITED, and that is load-bearing, not hygiene (added 2026-09-11
after sailorpepe asked the right question: "republication is still kind of
there with lookup isn''t it?"). He is correct — unlimited lookup IS
republication, just spread over time: 364,850 sequential requests
reconstructs the whole panel. Uncapped, this route was a bulk surface
wearing a lookup costume. 30/minute is generous for a human clicking
card pages and turns a full walk into 8+ days of obvious, logged
traffic. It is friction and visibility, not a wall — the wall is the
absence of a listing route.
* NO card image. The artwork is served from the source''s own CDN.
Hotlinking spends their bandwidth; rehosting is republication of their
asset outright. Either one burns the source to make a page prettier.
* The source is not named here. Attribution is not required by its terms
(unlike Yahoo Shopping, where it is mandatory), and naming a site you
harvest daily raises your profile with it.
The numbers are dealer quotes, not an order book. That is stated on the page
rather than left for a reader to assume — there is no resting size or queue
behind these, and the page should not imply otherwise.'
operationId: jp_card_page_jp_card__game___set_code___card_id__get
parameters:
- name: game
in: path
required: true
schema:
type: string
title: Game
- name: set_code
in: path
required: true
schema:
type: string
title: Set Code
- name: card_id
in: path
required: true
schema:
type: string
title: Card Id
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security: []
/card/{product_id}:
get:
tags:
- Info
summary: Card Page
operationId: card_page_card__product_id__get
parameters:
- name: product_id
in: path
required: true
schema:
type: integer
title: Product Id
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security: []
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError