Surplus lines market data API

Surplus lines market data, per query.

QueryLines turns the U.S. excess & surplus (E&S) lines market statistics that state stamping offices publish every month into a queryable API. Pull premium by state and coverage line, compare markets, or track year-over-year growth for cents per call instead of a $2,000 PDF report or a $15k subscription. Pay with USDC on Base via x402. No account, no subscription. Built for developers, and for the agents that work for them.

Three ways in: curl or code against the REST API, an agent paying per query with x402, or an assistant connected over MCP.

curl
$ curl -s "https://api.querylines.com/v1/premium?state=FL"
200 response (abridged)
{
  "state": "FL",
  "line": "all",
  "granularity": "month",
  "data": [
    { "period": "2025-04", "premium": 1961471936, "policy_count": 145044 },
    { "period": "2025-05", "premium": 1886556336, "policy_count": 151452 },
    // … 2026-04, 2026-05 …
    { "period": "2026-06", "premium": 1877013891, "policy_count": 204624 }
  ],
  "report_date": "2026-06-30",
  "data_as_of": "2026-06",
  "source": "FSLSO FL Monthly Premium Report, June 2026"
}

Try it

Query the live API

This fires a real request from your browser to api.querylines.com. Pick an endpoint, set the params, see the response, including the price you'd pay for it.

$0.10/query
Response idle
Pick an endpoint and press Run query.

Live market data

Surplus lines premium, live

All coverage lines, statewide, latest 13 months. This section is rendered in your browser from /v1/premium/sample, a free endpoint: the same JSON an agent gets, no key, no payment.

Loading live data from api.querylines.com…

What's in the data

Two states, real history

Every fact row carries its source publication. Here's what's live today.

Live, machine-readable version of this table: GET /v1/coverage (free).
State Source Monthly data Annual data Dimensions
FL FL Monthly Premium Report + annual report Jan 2025 – Jun 2026 2025 annual report coverage lines, top insurers, counties, new vs renewal
TX TX stamping office monthly + annual reports Jan 2016 – Jun 2026 2009 – 2025 coverage lines (annual), top insurers
  • Is cyber liability growing in Florida?

    $ curl "https://api.querylines.com/v1/premium?state=FL&line=CYBER%20LIABILITY&granularity=month"
  • How big is the Texas E&S market this year?

    $ curl "https://api.querylines.com/v1/premium/summary?state=TX&year=2025"
  • Florida vs Texas growth, one call.

    $ curl "https://api.querylines.com/v1/compare?states=FL,TX&from=2022-01"
  • Who writes the most surplus lines premium in Florida?

    $ curl "https://api.querylines.com/v1/insurers?state=FL&period=2026-06"

Pricing

Pay for what you query

No plans, no minimums. Discovery endpoints are free so you can see what exists before you spend anything.

Discovery

$0
  • /v1/premium/sample: 13-month statewide series
  • /v1/coverage: what data exists
  • /v1/lines: coverage taxonomy

Cross-state

$0.50/query
  • /v1/compare: compare markets side by side

Pay per query with x402 (USDC on Base). Questions: hello@querylines.com

Integrate

Curl, code, or an agent that pays for itself

Free endpoints work in any client, zero setup. Paid ones settle over x402 in USDC on Base: no account, no gas from you. Pick a language below, or go deep in the docs.

curl · no payment needed
$ curl -s "https://api.querylines.com/v1/premium/sample"

Paid endpoints (/v1/premium, /v1/compare, …) return an x402 payment challenge instead of data until it's settled. Full walkthrough →

Also in the docs: Go, C#, Rust, Ruby, a pay-anything proxy, and how to set up a wallet.

MCP tools

https://api.querylines.com/mcp · streamable HTTP

  • list_linesfree
  • get_coveragefree
  • get_premium_samplefree
  • get_premium$0.10
  • get_summary$0.10
  • get_top_insurers$0.10
  • compare_states$0.50

Setup instructions in the docs →

Not writing code?

Every month we publish a plain-language market snapshot built from this same data: headline premium, policy counts, and the top coverage lines, for Florida and Texas. No API key, no curl.