{"uid":"cap_IhPz_q6jSbK0GHRhX2-vG","slug":"querylines-e-s-insurance-premium-time-series-0a14c1d6","name":"QueryLines E&S Insurance Premium Time Series","description":"U.S. excess & surplus (E&S / surplus lines) insurance premium and policy-count time series by state, coverage line, and month, quarter, or year. Aggregated from state stamping office publications; every response cites its source report. Florida live, more states coming. $0.10 per query. Free discovery endpoints: /v1/coverage and /v1/lines. Docs: https://api.querylines.com/openapi.json","url":"https://api.querylines.com/v1/premium","method":"GET","headers":{},"bodySchema":{"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":["state"],"properties":{"to":{"type":"string","pattern":"^\\d{4}-\\d{2}$","description":"Month as YYYY-MM"},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}$","description":"Month as YYYY-MM"},"line":{"type":"string","default":"all","description":"Coverage line name or source code; 'all' for statewide totals"},"state":{"type":"string","description":"Two-letter state code, e.g. FL"},"county":{"type":"string","description":"County name (annual county-level data only); omit for statewide totals"},"granularity":{"enum":["month","quarter","half","year"],"type":"string","default":"month"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"period":"2026-06","premium":1877013891,"policy_count":204624,"renewal_premium":null,"new_business_premium":null}],"line":"all","state":"FL","source":"FSLSO FL Monthly Premium Report, June 2026","data_as_of":"2026-06","granularity":"month","report_date":"2026-06-30"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AhTStoZVWrwUlSHNDknwa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns U.S. excess & surplus lines insurance premium and policy-count time series data filtered by state, coverage line, and time period","exampleAgentPrompt":"Pull me the quarterly excess and surplus lines premium totals for Florida from January 2020 through December 2023, broken out by all coverage lines.","exampleUseCases":null,"resultDescription":"A time series array of E&S insurance premium amounts and policy counts for the requested state, coverage line, and time period, with each data point citing its source stamping office report. Granularity can be monthly, quarterly, half-yearly, or annual depending on the parameter supplied.","failureModes":["State not yet supported returns an error or empty result — only FL, TX, CA, IL, WA, NY are live","Requesting monthly granularity for NY will fail or return no data since NY is annual only","CA monthly data only available from 2017 onward; earlier requests may return empty","TX history only available to 2009; requests before that return no data","Invalid state code returns a validation error","Malformed date format (not YYYY-MM) returns a 400 error","Coverage line code not recognized returns an error or falls back to 'all'","Insufficient USDC balance or x402 payment failure blocks the query at $0.10 per call"],"whenToPreferThis":"Use this endpoint when you need raw time series data — premium dollars or policy counts — for a specific U.S. state and E&S coverage line over a chosen time window. Prefer this over the year-over-year summary endpoint when you need granular monthly or quarterly trends rather than a comparative snapshot, and over the cross-state comparison endpoint when you are focused on a single state's history. Ideal for building charts, trend analyses, or feeding downstream models with historical E&S market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:29.642Z","isFirstParty":false}