Skip to main content
POST
List markets (parameters in the body)

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.

Nexio-Act-As-Email
string

The acting member's verified email, lowercased. Ignored without Nexio-Act-As.

Nexio-Consumer
string

The calling application (workbench).

Nexio-Consumer-Build
string

The calling application's build.

Nexio-Consumer-Vocabulary
string

The access vocabulary hash the calling build was generated against.

Nexio-Request-Id
string

A caller-chosen request id, echoed in the Nexio-Request-Id response header.

Nexio-Timeout
string

The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.

Body

application/json
class
string[] | null

Repeatable. Only markets whose appetite names one of these business classes with an acceptable or will-consider stance; asked with product, one appetite row answers both.

connection_id
string

The catalog connection to read. Absent: the org's single active connection.

cursor
string

The opaque page.next of the previous page. The filters are frozen inside it.

Narrows the product facet to values whose name or mapped carrier wording contains this text.

facets
string

Comma separated: product, product_type. Each named facet is counted by the platform over the markets that answer every other filter, and only values a served market's appetite names appear.

include_total
string

true adds total, the row count of the filtered collection.

limit
string

Page size. Defaults to 25; the collection's maximum is 100 (1000 for the summary view), and a larger value is coerced with a LIMIT_COERCED warning.

line
string[] | null

Repeatable. Only markets with a current product on one of these lines.

min_commission_pct
string

Only markets with a product paying at least this percentage. A seat denied carrier compensation is refused this filter.

naics
string

Only markets whose products do not prohibit this NAICS code.

product
string[] | null

Repeatable. Only markets whose appetite names one of these products (ids of the org's /records/products list) with an acceptable or will-consider stance, read at each appetite row's declared grain: a row at type grain answers every product of its type. An id outside the org's list is refused.

product_type
string[] | null

Repeatable. Only markets whose appetite names one of these product types (type ids of /records/products?level=type), at type grain or through one of the type's products. One question with product: a market answers either.

A search over the market's name, its products' lines and the carrier wording extraction mapped to an org product.

state
string[] | null

Repeatable. Only markets with a current product written in one of these states (two letters each).

view
enum<string>

full (the default): each market with its current products and relationships. summary: one row per market with its counts.

Available options:
full,
summary

Response

OK

data
object[] | null
required

One page of the collection, in the requested sort order.

page
object
required
request_id
string
required

The request id, as echoed in the Nexio-Request-Id response header.

source
object
required
unreachable
object[] | null
required

Parts of the answer no source could fill, each with its reason. Empty when every part was filled.

warnings
object[] | null
required

Adjustments the platform made to the request (a coerced limit, a dropped facet).

facets
object

Present only for the facets the request named in facets=.

missing_count
integer<int64>

For a hierarchy read, source records missing the requested level after source filters, before name/ID filters and pagination. Present even when zero or the page is empty.

total
object

Present only when the request sent include_total=true.