---
title: "Compare TestWell with another lab-testing service"
method: POST
path: "/api/agent/compare_provider"
tags: ["compare"]
---

# Compare TestWell with another lab-testing service

`POST /api/agent/compare_provider`

## Request

- Base URL: `https://www.test-well.com`
- URL: `https://www.test-well.com/api/agent/compare_provider`
- Auth: none declared

Honest side-by-side of TestWell and another direct-to-consumer lab service (Quest Direct, Labcorp OnDemand, Function Health, JustLabs, Ulta Lab Tests, …): pricing model, per-order fees, labs, turnaround, where each wins, spot prices on common tests as sticker AND all-in, with verification dates…

## Request body

- object
  - `provider` string: Competitor slug or name, e.g. 'quest-direct', 'Function Health', 'justlabs'

## Response `200`

Tool result

- object
  - `tool` 'compare_provider', required
  - `result` object, required
    - `found` boolean
    - `competitor` object
      - `name` string
      - `url` string
      - `pricingModel` string
      - `perOrderFees` unknown
      - `labPartners` string[]
      - `statesServed` number
    - `testwell` object
    - `verdict` string
    - `spotPrices` object[]
      - `test` string
      - `testwell` unknown
      - `competitor` unknown
      - `note` string, nullable
    - `testWellWinsAt` string[]
    - `competitorWinsAt` string[]
    - `testWellNotFor` string[]
    - `verified` string: Date the competitor's prices were verified
    - `sources` string[]
    - `url` string: Absolute https URL on test-well.com
    - `providers` object[]: Returned when no provider was named
      - `slug` string
      - `name` string
      - `url` string

## Other responses

- `400`: Invalid input
- `429`: Rate limited

---

[API](https://skmtc.dev/test-well/apis/testwell-agent-api.md) · [All operations](https://skmtc.dev/test-well/apis/testwell-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/test-well/apis/testwell-agent-api/revisions/6e260731dfa4?raw)
