DealScore Explain API

The Explain API from DealScore — 1 operation(s) for explain.

Operations 2

POST /api/explain Explain a grade from delta_pct #
GET /api/explain Explain a grade from a delta_pct query parameter #

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/cardealscore-com:cardealscore-com-explain-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cardealscore-com-explain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DealScore Explain API
  version: 1.0.0
  summary: Score a used-car asking price, explain a grade, and check a dealer quote.
servers:
- url: https://cardealscore.com
tags:
- name: Explain
paths:
  /api/explain:
    post:
      operationId: explainGrade
      summary: Explain a grade from delta_pct
      description: Map delta_pct to a grade without scoring a vehicle.
      security:
      - apiKey: []
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                delta_pct:
                  type: number
              required:
              - delta_pct
              additionalProperties: false
      responses:
        '200':
          description: Grade for the given delta_pct.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid JSON body, or the body failed validation.
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/InvalidJson'
                - $ref: '#/components/schemas/ValidationFailed'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
      tags:
      - Explain
    get:
      operationId: explainGradeQuery
      summary: Explain a grade from a delta_pct query parameter
      description: Same grade map as POST /api/explain.
      security:
      - apiKey: []
      - bearer: []
      parameters:
      - name: delta_pct
        in: query
        required: true
        schema:
          type: number
      responses:
        '200':
          description: Grade for the given delta_pct.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: delta_pct query parameter is missing or not a number.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MissingDeltaPct'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
      tags:
      - Explain
components:
  schemas:
    InvalidJson:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          const: Invalid JSON body
    MissingDeltaPct:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          const: delta_pct query parameter required
    ValidationFailed:
      type: object
      additionalProperties: false
      required:
      - error
      - details
      properties:
        error:
          const: Validation failed
        details:
          type: object
          additionalProperties: false
          required:
          - formErrors
          - fieldErrors
          properties:
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
    Unauthorized:
      type: object
      additionalProperties: false
      required:
      - error
      - message
      - get_key_url
      - docs_url
      properties:
        error:
          const: Unauthorized
        message:
          const: 'Provide a valid x-api-key header or Authorization: Bearer <key>'
        get_key_url:
          const: https://cardealscore.com/login?next=%2Fkeys&from=api_401
        docs_url:
          const: https://cardealscore.com/docs/api#get-a-key
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: DealScore API key.
    bearer:
      type: http
      scheme: bearer
      description: API key in the Authorization header.
externalDocs:
  description: API reference
  url: https://cardealscore.com/docs/api