# QueryLines E&S Insurer Eligibility Lookup (NAIC IID)

> QueryLines E&S Insurer Eligibility Lookup (NAIC IID) 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).

Checks whether a surplus lines / E&S insurer is eligible to write business nationwide under NRRA by looking up the NAIC Quarterly Listing of Alien Insurers (IID), returning match status, entity details, and any state-specific restrictions.

## Facts

- Endpoint: GET https://api.querylines.com/v1/eligibility
- 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-e-s-insurer-eligibility-lookup-naic-iid-5e31fb68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1al-u3xA6L8WlEp6VXXfF

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-e-s-insurer-eligibility-lookup-naic-iid-5e31fb68
```

Example prompt: Can you check if 'Markel Bermuda Limited' with NAIC IID alien ID AA-1344102 is eligible to write surplus lines business, and flag any state-specific restrictions for California?

## When to prefer this

Use this endpoint when you need to verify whether a specific non-admitted (surplus lines / E&S) alien insurer or Lloyd's syndicate is eligible to write business under the NRRA nationwide framework, especially before placing a policy or conducting compliance checks. Prefer this over state surplus lines stamping office lookups when you need a single authoritative NAIC IID source covering all states. Use the list mode with changes_since to monitor roster changes over time.

## Known failure modes

- Unknown insurer returns match: null rather than a 404 — agent must check for null match
- Invalid alien ID format returns a validation error
- state parameter must be a valid two-letter code or the request is rejected
- changes_since must match YYYY-MM pattern or the request fails
- Payment required (402) if x402 payment header is missing or insufficient
- limit out of range 1-500 returns a parameter error

## How this service works

Surplus lines / E&S insurer eligibility from the NAIC Quarterly Listing of Alien Insurers (IID) -- nationwide under NRRA. Look up an insurer by name or alien ID (unknown insurer returns match: null, not a 404), or list the current roster of alien companies and Lloyd's syndicates with recent additions/removals. State-specific restrictions surface as data, never read as plainly eligible. $0.10 per query. Free sample: /v1/eligibility/sample. Docs: https://api.querylines.com/openapi.json

## Output

Returns a match object (null if insurer not found, never a 404) with the insurer's alien ID, name, entity type (alien_company or lloyds_syndicate), eligibility status, and any state-specific restrictions surfaced as data fields. In list mode, returns a paginated roster of all eligible alien companies and Lloyd's syndicates with additions and removals since a requested date.

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 100,
       "description": "List mode only, 1-500"
      },
      "state": {
       "type": "string",
       "description": "Two-letter state code; downgrades state-specific restrictions"
      },
      "insurer": {
       "type": "string",
       "description": "Insurer name or NAIC IID alien ID, e.g. AA-1344102"
      },
      "entity_type": {
       "enum": [
        "alien_company",
        "lloyds_syndicate"
       ],
       "type": "string"
      },
      "changes_since": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}$",
       "description": "YYYY-MM, list mode only"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "match": {
   "name": "Meridian Assurance SE",
   "status": "listed",
   "country": "Germany",
   "alien_id": "AA-1300045",
   "eligibility": "eligible",
   "entity_type": "alien_company",
   "restriction": null,
   "listed_since": "2019-01-01",
   "syndicate_no": null,
   "managing_agent": null,
   "listed_since_kind": "min_known"
  },
  "query": "AA-1300045",
  "source": "NAIC Quarterly Listing of Alien Insurers, Edition 252, July 1, 2026",
  "edition": 252,
  "authority": "naic-iid",
  "data_as_of": "2026-07",
  "report_date": "2026-07-01"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/querylines-e-s-insurer-eligibility-lookup-naic-iid-5e31fb68/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)
