The Undesirables Info API

The Info API from The Undesirables — 4 operation(s) for info.

GitHub OpenAPI

Operations 4

GET / Root #
GET /health Health #
GET /jp/card/{game}/{set_code}/{card_id} Jp Card Page #
GET /card/{product_id} Card Page #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/the-undesirables-com:the-undesirables-com-info-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

the-undesirables-com-info-api-openapi.yml Raw ↑
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