Skip to navigation

Which states and carriers are covered?

Capabilities list the states your key can quote and every carrier Truvo works with, and each quote request names the carriers it asked.
View as Markdown

States

GET /v1/capabilities answers an API key with one entry for each line it can quote. Each entry’s states lists the states where that key can quote the line. If a line isn’t in the answer, that key can’t quote it. The same answer also carries advisor_line, the staffed number a person can call 24/7, and sold_lines, every line Truvo sells with online and by_phone states. A live key also gets access.live, which is approved or not_approved. Over MCP, get_capabilities returns the same fields.

  • Sandbox key: states lists the same states as a live key. Sandbox quotes name the carriers that quote that state live, with mock prices.
  • Live key: While access.live is not_approved, the capabilities list is empty. GET /v1/capabilities and POST /v1/callback_requests still run. To get live access, book a call from the Go live page of the portal. Until then, other key-protected routes that are on return 403 live_access_not_approved, unless the address is rate limited, and other MCP tool calls return that answer as a tool error with isError: true. Once live access is approved, states lists the states where a carrier can quote the line today. The list changes when a carrier opens or closes a state. See Keys and environments.

Each entry in actions lists its own states too, because an action can work in fewer states than its line.

A quote request in a state where Truvo can’t quote the line gets 422 invalid_input, in the sandbox and live, and field_errors names the state field. Read states before you send a request.

Carriers

The same answer has all_carriers: every carrier that appears in the carrier registry, one name each, with a public slug when one exists. The list spans every line Truvo sells, not only personal_auto, renters, and pet. Its description says that, and that a quote request doesn’t ask every one of them. A registry carrier with no public slug appears as a name only.

capabilities[].states is the yes or no for a line and state: a state is listed when a consumer request of that line can get quotes there. The list is the rater’s consumer coverage. The sandbox list matches live.

To see how carriers answered one request:

  • market_outcomes on the quote request shows how carriers answered, with each carrier’s ID and name in carrier.id and carrier.name.
  • Each quote names its carrier in source.carrier, with an id and a name.

See Versions and changes.