DealScore Score API

The Score API from DealScore — 1 operation(s) for score.

Operations 1

POST /api/score Score a used-car deal #

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-score-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-score-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DealScore Score 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: Score
paths:
  /api/score:
    post:
      operationId: scoreDeal
      summary: Score a used-car deal
      description: Grade an asking price against market comps. Send asking_price and mileage, plus either vin or year, make, and model. trim and zip are optional. A 5-digit zip narrows comps to a local market.
      security:
      - apiKey: []
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                vin:
                  type: string
                year:
                  type: integer
                  minimum: 1980
                  maximum: 2027
                make:
                  type: string
                model:
                  type: string
                trim:
                  type: string
                asking_price:
                  type: number
                  exclusiveMinimum: 0
                mileage:
                  type: number
                  minimum: 0
                zip:
                  type: string
                  pattern: ^\d{5}$
              required:
              - asking_price
              - mileage
              additionalProperties: false
      responses:
        '200':
          description: Scored deal.
          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'
        '500':
          description: The deal could not be scored.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnableToScore'
      tags:
      - Score
components:
  schemas:
    InvalidJson:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          const: Invalid JSON body
    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
    UnableToScore:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          const: Unable to score this deal
    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