TestWell Quote API

The Quote API from TestWell, for quote.

GitHub OpenAPI

Operations 1

POST /api/agent/quote_order All-in order quote #

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/test-well-com:test-well-com-quote-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

test-well-com-quote-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TestWell Agent Quote API
  version: 1.2.0
  description: 'Cash-pay lab tests without insurance: search TestWell''s catalog, get all-in quotes by state (Quest, Labcorp, BioReference in NY/NJ), find draw sites by ZIP, look up physician-reviewed reference ranges, convert units, calculate free testosterone, compare providers and read guides. Read-only; purchases complete on test-well.com.


    Pricing rule: sticker prices plus one flat $6.00 lab processing fee per order. All endpoints are public, read-only and rate limited (120 requests/minute/IP).'
  contact:
    name: TestWell
    url: https://www.test-well.com/developers
    email: support@test-well.com
  termsOfService: https://www.test-well.com/terms
servers:
- url: https://www.test-well.com
tags:
- name: Quote
paths:
  /api/agent/quote_order:
    post:
      operationId: quote_order
      summary: All-in order quote
      description: 'Price a set of tests/panels exactly as TestWell''s checkout would: per-lab prices for the user''s state (New York and New Jersey route to BioReference; Rhode Island is not served), the single $6 lab processing fee, the total, items that can''t be ordered and why, and a prefilled cart URL.'
      tags:
      - Quote
      x-openai-isConsequential: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                items:
                  minItems: 1
                  maxItems: 25
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 120
                  description: Catalog slugs or ids, e.g. ['tsh', 'vitamin-d']
                state:
                  description: US state code or name where the user will be drawn, e.g. 'FL' or 'Florida'
                  type: string
                  minLength: 2
                  maxLength: 40
                lab:
                  description: Preferred lab outside NY/NJ (default quest)
                  type: string
                  enum:
                  - quest
                  - labcorp
                  - bioreference
              required:
              - items
            examples:
              example1:
                summary: Two tests in Florida at Quest
                value:
                  items:
                  - tsh
                  - vitamin-d
                  state: FL
                  lab: quest
              example2:
                summary: Routed to BioReference with its price
                value:
                  items:
                  - general-wellness-panel
                  state: NY
      responses:
        '200':
          description: Tool result
          content:
            application/json:
              schema:
                type: object
                required:
                - tool
                - result
                properties:
                  tool:
                    type: string
                    enum:
                    - quote_order
                  result:
                    type: object
                    properties:
                      ok:
                        type: boolean
                      error:
                        description: Present when ok=false, e.g. state not served
                        type: string
                      state:
                        type: string
                      lab:
                        type: string
                      labName:
                        type: string
                      lines:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            slug:
                              type: string
                            type:
                              type: string
                            name:
                              type: string
                            lab:
                              type: string
                            price:
                              type: number
                              description: USD
                            url:
                              type: string
                              description: Absolute https URL on test-well.com
                          additionalProperties: {}
                      unavailable:
                        description: Requested items the routed lab cannot run in this state
                        type: array
                        items: {}
                      subtotal:
                        type: number
                        description: USD
                      labFee:
                        type: number
                        description: USD
                      total:
                        description: 'All-in total: subtotal + the single lab processing fee'
                        type: number
                      currency:
                        type: string
                      checkoutUrl:
                        description: Prefilled cart on test-well.com — purchases complete there; null when nothing is orderable
                        anyOf:
                        - type: string
                          description: Absolute https URL on test-well.com
                        - type: 'null'
                      notes:
                        type: array
                        items:
                          type: string
                    additionalProperties: {}
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolError'
components:
  schemas:
    ToolError:
      type: object
      properties:
        error:
          type: string
        issues:
          type: array
          items:
            type: object
            additionalProperties: true
      required:
      - error
externalDocs:
  url: https://www.test-well.com/developers
  description: Developer documentation
x-mcp:
  url: https://www.test-well.com/mcp
  serverCard: https://www.test-well.com/.well-known/mcp/server-card.json