# QueryLines Litigation Statistics API

> QueryLines Litigation Statistics API is a paid API for AI agents from api.querylines.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns U.S. insurance litigation statistics (defense and cost containment expenses, national suit/claim share) by state and year range, sourced from state stamping-office and regulatory publications.

## Facts

- Endpoint: GET https://api.querylines.com/v1/litigation
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/querylines-litigation-statistics-api-cbea3a4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8jZR9-FAKLf6GZrj82FF3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability querylines-litigation-statistics-api-cbea3a4d
```

Example prompt: Pull the insurance litigation stats for Florida from 2016 to 2023 — I want to see defense costs per claim and Florida's share of national suits over those years.

## When to prefer this

Choose this endpoint when you need U.S. insurance litigation statistics (defense costs, suit concentration) sourced from official state stamping-office publications, particularly for Florida property insurance. Ideal for per-query, pay-as-you-go access with no subscription overhead. Prefer over general web search when you need structured, citable regulatory data with year-by-year granularity.

## Known failure modes

- Missing required 'from' or 'to' year parameters — returns validation error
- Requested year range has no available data — returns empty metrics array
- Payment not processed via x402/USDC — returns 402 Payment Required before data is served
- State not covered by available publications — returns null metrics or empty response

## How this service works

Surplus lines market data, per query. Pay-per-query API for U.S. excess & surplus (E&S) insurance market statistics, sourced from state stamping-office publications. Cents per call via x402 (USDC on Base). No account, no subscription.

## Output

Returns a JSON object with the queried year range, state, source publication name, data-as-of date, report date, a coverage note explaining scope and methodology, and an array of annual metrics including DCC total, DCC per claim, percent of national suits, and percent of national claims for each year in the range.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "to": {
       "type": "integer",
       "description": "Latest data year (inclusive)."
      },
      "from": {
       "type": "integer",
       "description": "Earliest data year (inclusive)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": 2023,
  "from": 2016,
  "state": "FL",
  "source": "FL OIR Property Insurance Stability Report, January 2026",
  "metrics": [
   {
    "year": 2022,
    "dcc_total": null,
    "dcc_per_claim": 992.89,
    "pct_national_suits": 70.83,
    "pct_national_claims": 14.93
   },
   {
    "year": 2023,
    "dcc_total": null,
    "dcc_per_claim": null,
    "pct_national_suits": 71.59,
    "pct_national_claims": 9.73
   }
  ],
  "data_as_of": "2026-01-01",
  "report_date": "2026-01-01",
  "coverage_note": "Aggregate statewide FL figures only, admitted-market homeowners. claims/suits are the MCAS share of the nation opened in Florida; values are as printed."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/querylines-litigation-statistics-api-cbea3a4d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.querylines.com](https://www.zero.xyz/host/api.querylines.com/llms.txt)
