{"uid":"cap_QLSBDto-tiaZYGScN5FC0","slug":"querylines-e-s-insurance-cross-state-compare-fbd2432b","name":"QueryLines E&S Insurance Cross-State Compare","description":"Compare U.S. excess & surplus (E&S / surplus lines) insurance premium and policy-count series across multiple states side by side, on normalized cross-state coverage categories. Aggregated from state stamping office publications with source attribution. $0.50 per query. Docs: https://api.querylines.com/openapi.json","url":"https://api.querylines.com/v1/compare","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":["states"],"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 or normalized category; 'all' for totals"},"states":{"type":"string","description":"Comma-separated two-letter state codes, e.g. FL,TX or FL,CA"},"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":{"line":"all","series":{"FL":[{"period":"2026-06","premium":1877013891,"policy_count":204624,"renewal_premium":null,"new_business_premium":null}]},"source":{"FL":"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.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WIo0QKxGMLCqaquYLjSV7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compare excess & surplus lines insurance premium and policy-count time series across multiple U.S. states side by side, normalized by coverage category.","exampleAgentPrompt":"Can you pull a side-by-side comparison of excess and surplus lines insurance premiums for Florida, Texas, and California from January 2021 through December 2023, broken out quarterly across all coverage lines?","exampleUseCases":null,"resultDescription":"Returns a normalized cross-state time series of E&S insurance premium amounts and policy counts, organized by state and coverage category, with source attribution from state stamping office publications, aligned to the requested granularity (month/quarter/half/year).","failureModes":["Invalid or unsupported state codes return a 400 error","Date range outside available data window returns empty series or 404","Malformed YYYY-MM date format causes validation error","Unsupported coverage line category causes error","Missing required 'states' parameter returns 400","Payment failure (x402) causes 402 response blocking data access"],"whenToPreferThis":"Use this endpoint when you need to compare E&S/surplus lines insurance market data across two or more U.S. states simultaneously with normalized coverage categories. Prefer this over the single-state time series endpoint when cross-state benchmarking or market share analysis is the goal. Ideal for insurance analysts, regulators, or market researchers comparing state-level surplus lines market trends.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:19.622Z","isFirstParty":false}