API Documentation
← All tools
GET/api/v1/market-sizing

Search

market-sizingAvailable on FreeNo success wrapper

Returns a paginated list of market-sizing records with metadata (page, limit, totalItems, totalPages). Call it to browse or filter market-sizing data by spending, prevalence, or drug count, or to search by text. Returns 400 for invalid query parameters, 503 when the data is unavailable on this deployment, and 500 on other failures.

When to use it

  • Browse market-sizing records by spending range
  • Filter markets by prevalence or drug count
  • Search market-sizing records by text

Getting started

Base URL

https://app.caelrith.com/api/v1/tools

Authentication

Include your API key in the x-api-key header.

Rate limit

Every call counts against your workspace’s daily quota for regulatoryApiCallsPerDay. Exceeding it returns HTTP 429.

Plans and daily limits

PlanAvailableCalls / day
freeyes30
proyes200
custom (default)yes10,000

Plan defaults. A custom workspace may carry per-tenant overrides.

Parameters

Query parameters

ParameterTypeRequiredDescription
searchstringNomaximum length 500
containsstringNomaximum length 200
has_prevalencebooleanNobooleans arrive as strings - send 'true' or 'false'; value is parsed from the raw query string and coerced server-side
min_spendingnumberNoLower bound on spending (alias of min_weighted).
max_spendingnumberNoUpper bound on spending (alias of max_weighted).
minSpendingnumberNoLower bound on spending (alias of min_weighted).
maxSpendingnumberNoUpper bound on spending (alias of max_weighted).
min_weightednumberNoLower bound on weighted spending.
max_weightednumberNoUpper bound on weighted spending.
min_rawnumberNoLower bound on raw spending.
max_rawnumberNoUpper bound on raw spending.
min_prevalencenumberNoLower bound on prevalence.
max_prevalencenumberNoUpper bound on prevalence.
min_drug_countnumberNoLower bound on number of drugs.
max_drug_countnumberNoUpper bound on number of drugs.
pagenumberNoMin 1; default 1 (min 1; default 1)
Range: 1 to ∞
limitnumberNoRange 1-100; default 20 (range 1-100; default 20)
Range: 1 to 100
sortstringNoDefault total_prev_weighted (default total_prev_weighted)
Allowed values: total_prev_weighted, total_raw, prevalence, drug_count, key
orderstringNoDefault desc (default desc)
Allowed values: asc, desc

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/market-sizing"

Response envelope

This endpoint returns an implicit 2xx response - there is no success flag in the body.

{
  "data": { /* payload */ },
  "meta": { /* pagination, totals */ }
}

// No "success" flag on this endpoint - any 2xx JSON is a success.

Catalog version mcp-2026-10-28 · generated from the live MCP catalog