The Undesirables Retired API

The Retired API from The Undesirables — 6 operation(s) for retired.

GitHub OpenAPI

Operations 7

POST /api/v1/accuracy/report Report Actual Grade #
POST /api/v1/grade/upload Grade Card Upload #
GET /api/v1/grade Grade Card #
GET /api/v1/grade-or-not Grade Or Not #
POST /api/v1/batch-triage Batch Triage Post #
GET /api/v1/batch-triage Batch Triage Get #
POST /api/v1/loan-monitor Loan Monitor Register #

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-retired-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-retired-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Undesirables — AI Tools Retired 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: Retired
paths:
  /api/v1/accuracy/report:
    post:
      tags:
      - Retired
      summary: Report Actual Grade
      description: 'RETIRED 2026-10-02 — answers 410. grade-outcome reports for the AI grader, which is retired. Kept installed; can be switched back on.


        🆓 **FREE** — Report your actual PSA/BGS grade vs our prediction.


        Builds the public accuracy dashboard. The more reports, the stronger the trust signal.

        No payment required — we want this data.'
      operationId: report_actual_grade_api_v1_accuracy_report_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_report_actual_grade_api_v1_accuracy_report_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
  /api/v1/grade/upload:
    post:
      tags:
      - Retired
      summary: Grade Card Upload
      description: 'RETIRED 2026-10-02 — answers 410. AI card grading from uploaded bytes — same pipeline as /api/v1/grade. Kept installed; can be switched back on.


        💰 **$0.10 USDC** — Grade a card from UPLOADED BYTES (no public URL needed).


        Send either a multipart `file` or a base64 `image_base64`. Accepts JPEG, PNG

        and **HEIC/HEIF** — iPhone photos work directly, no conversion on your side.


        **Your image is never stored.** It is decoded in a temporary directory that

        is deleted immediately after grading, EXIF (including GPS) is stripped during

        decode, and nothing is written to any database or log.'
      operationId: grade_card_upload_api_v1_grade_upload_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_grade_card_upload_api_v1_grade_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
  /api/v1/grade:
    get:
      tags:
      - Retired
      summary: Grade Card
      description: 'RETIRED 2026-10-02 — answers 410. AI card grading — our own blind study (2026-08-31) scored 3.5% exact through slab plastic. Kept installed; can be switched back on.


        💰 **$0.10 USDC** — AI Vision Card Grading.


        Analyzes centering, corners, edges, surface, and print quality

        using Qwen VL to predict PSA and Beckett grading scores.


        Returns `402 Payment Required` — sign a USDC/USDG payment to access.'
      operationId: grade_card_api_v1_grade_get
      parameters:
      - name: image_url
        in: query
        required: true
        schema:
          type: string
          description: Public HTTPS URL of the card image
          title: Image Url
        description: Public HTTPS URL of the card image
      - name: game
        in: query
        required: false
        schema:
          type: string
          description: Game for grading context
          default: Pokemon
          title: Game
        description: Game for grading context
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
  /api/v1/grade-or-not:
    get:
      tags:
      - Retired
      summary: Grade Or Not
      description: 'RETIRED 2026-10-02 — answers 410. grading-ROI decisions built on the AI grade. Kept installed; can be switched back on.


        💰 **$0.10 USDC** — Grade-or-Not Decision Engine.


        Answers the REAL question collectors have: "Will grading this card make me money?"


        Combines: predicted grade × graded market value − (grading fee + shipping + raw value)

        to give a clear GO / NO-GO verdict with expected ROI.


        Returns `402 Payment Required` — sign USDC payment on Base to access.'
      operationId: grade_or_not_api_v1_grade_or_not_get
      parameters:
      - name: card_name
        in: query
        required: true
        schema:
          type: string
          description: Card name (e.g. 'Base Set Charizard Holo')
          title: Card Name
        description: Card name (e.g. 'Base Set Charizard Holo')
      - name: raw_price
        in: query
        required: false
        schema:
          type: number
          description: Current raw card value in USD (0 = auto-lookup)
          default: 0
          title: Raw Price
        description: Current raw card value in USD (0 = auto-lookup)
      - name: predicted_grade
        in: query
        required: false
        schema:
          type: number
          description: Your predicted PSA grade (0 = use our AI estimate)
          default: 0
          title: Predicted Grade
        description: Your predicted PSA grade (0 = use our AI estimate)
      - name: service_tier
        in: query
        required: false
        schema:
          type: string
          description: 'PSA service tier: economy, regular, express, super_express, walk_through'
          default: economy
          title: Service Tier
        description: 'PSA service tier: economy, regular, express, super_express, walk_through'
      - name: shipping_cost
        in: query
        required: false
        schema:
          type: number
          description: Round-trip shipping/insurance estimate in USD
          default: 15.0
          title: Shipping Cost
        description: Round-trip shipping/insurance estimate in USD
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
  /api/v1/batch-triage:
    post:
      tags:
      - Retired
      summary: Batch Triage Post
      description: 'RETIRED 2026-10-02 — answers 410. batch grading and ranking built on the AI grade. Kept installed; can be switched back on.


        💰 **$0.50 USDC** — Batch Card Triage (POST + JSON body). Up to 20 card

        image URLs → each AI-graded and ROI-ranked, best profit first.'
      operationId: batch_triage_post_api_v1_batch_triage_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_batch_triage_post_api_v1_batch_triage_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
    get:
      tags:
      - Retired
      summary: Batch Triage Get
      description: 'RETIRED 2026-10-02 — answers 410. batch grading and ranking built on the AI grade. Kept installed; can be switched back on.


        💰 **$0.50 USDC** — Batch Card Triage (GET variant; query params).

        Functionally identical to the POST endpoint; exists so the CDP Bazaar can

        index this tool (CDP does not index POST-only resources).'
      operationId: batch_triage_get_api_v1_batch_triage_get
      parameters:
      - name: image_urls
        in: query
        required: true
        schema:
          type: string
          description: Comma-separated card image URLs (max 20)
          title: Image Urls
        description: Comma-separated card image URLs (max 20)
      - name: game
        in: query
        required: false
        schema:
          type: string
          description: TCG game for grading context
          default: Pokemon
          title: Game
        description: TCG game for grading context
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
  /api/v1/loan-monitor:
    post:
      tags:
      - Retired
      summary: Loan Monitor Register
      description: 'RETIRED 2026-10-02 — answers 410. paid loan monitoring — no outside loan was ever registered. Kept installed; can be switched back on.


        💰 **$1.00 USDC** — monitor one funded loan for its whole term.

        Re-marked daily against the fresh calibrated board; a signed webhook

        fires on liquidation breach, margin call, regime shift, risk widening

        or lost coverage. Silent while healthy unless heartbeat=true.'
      operationId: loan_monitor_register_api_v1_loan_monitor_post
      parameters:
      - name: product_id
        in: query
        required: true
        schema:
          type: integer
          description: TCGplayer product id
          title: Product Id
        description: TCGplayer product id
      - name: loan_amount_usd
        in: query
        required: true
        schema:
          type: number
          exclusiveMinimum: 0
          title: Loan Amount Usd
      - name: term_days
        in: query
        required: false
        schema:
          type: integer
          description: 7, 14 or 30 — loan maturity
          default: 30
          title: Term Days
        description: 7, 14 or 30 — loan maturity
      - name: webhook_url
        in: query
        required: true
        schema:
          type: string
          description: HTTPS endpoint to notify
          title: Webhook Url
        description: HTTPS endpoint to notify
      - name: grade
        in: query
        required: false
        schema:
          type: string
          description: Optional slab grade, e.g. 'PSA 10'
          title: Grade
        description: Optional slab grade, e.g. 'PSA 10'
      - name: heartbeat
        in: query
        required: false
        schema:
          type: boolean
          description: Also send a daily all-clear
          default: false
          title: Heartbeat
        description: Also send a daily all-clear
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_batch_triage_post_api_v1_batch_triage_post:
      properties:
        image_urls:
          type: string
          title: Image Urls
          description: Comma-separated card image URLs (max 20)
        game:
          type: string
          title: Game
          description: TCG game for grading context
          default: Pokemon
      type: object
      required:
      - image_urls
      title: Body_batch_triage_post_api_v1_batch_triage_post
    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
    Body_grade_card_upload_api_v1_grade_upload_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
          description: Card image (JPEG/PNG/HEIC/HEIF)
        image_base64:
          type: string
          title: Image Base64
          description: Base64 image bytes, alternative to `file`
        game:
          type: string
          title: Game
          description: TCG game for grading context
          default: Pokemon
      type: object
      title: Body_grade_card_upload_api_v1_grade_upload_post
    Body_report_actual_grade_api_v1_accuracy_report_post:
      properties:
        card_name:
          type: string
          title: Card Name
          description: Name of the card that was graded
        predicted_grade:
          type: number
          title: Predicted Grade
          description: The grade our AI predicted
        actual_grade:
          type: number
          title: Actual Grade
          description: The actual PSA/BGS grade received
        game:
          type: string
          title: Game
          description: Game the card belongs to
          default: Pokemon
        image_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Url
          description: Original image URL if available
        psa_cert_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Psa Cert Number
          description: PSA cert number for verification
        reporter_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Reporter Note
          description: Any additional context
      type: object
      required:
      - card_name
      - predicted_grade
      - actual_grade
      title: Body_report_actual_grade_api_v1_accuracy_report_post