Blog

Travel insurance API for AI agents: quote, disclose, and bind

By Loris Mazloum

On Oct. 13, 2026, Cover Genius launched Agentic Embedded Protection, a way for AI agents to show priced, context-aware cover inside the conversation, with disclosures, instead of sending the user to an insurer’s page. The same week, Travefy said advisors would quote Berkshire Hathaway Travel Protection from the trip record without retyping it, and Holafly put flight claims and luggage protection inside an eSIM plan. Cover is moving into the chat, the advisor’s workflow, and other products’ bundles.

What builders still lack is the API side of it. This guide is the insurance counterpart to our eSIM, airport lounge, and airport transfer guides: the jobs the agent has to run, the calls behind each one, and where insurance differs from the other extras. If you want the consumer-plugin view, our piece on Manulife’s quotes in ChatGPT covers it; this one is about the calls.

This is a technical guide, not insurance or legal advice. Selling insurance is regulated, and the rules depend on the market and on who sells. We describe how public APIs are built; we don’t say what your business may or must do.

Why insurance is not just another extra

An eSIM or a lounge pass is a product with a price. A policy has more attached to it, and the agent has to carry all of it:

Three ways the sale ends today

Public insurance APIs and MCP servers for agents end the sale in one of three ways. Know which one you’re wiring before you write the prompt.

  1. Quote or compare only. The agent prices plans, and the purchase happens somewhere else. ByteTravel’s consumer MCP server and several comparison servers on our travel MCP servers map work this way.
  2. Quote, then a checkout link. The agent prices the trip and creates a checkout the traveller finishes on the insurer’s site. Travel Protection Insurance works this way: per its docs, no tool charges a card, and each checkout link expires one hour after it is created.
  3. Quote, then bind in the session. The agent’s platform confirms the purchase through the API, and the policy is issued. Cover Genius’s XCover Offers API and Treppy’s API are built for this, under a partner agreement.

The first two keep payment on the insurer’s page. The third puts the bind call, and the responsibility for how it is presented, on your platform. Our guide to taking payment for ancillaries covers the payment side.

The four calls an agent needs

1. Collect the trip facts, don’t guess them

The quote is only as good as its inputs, and most of them are already in the trip the agent holds. The required fields differ by API:

The rule for the agent: take what the trip record already knows, ask for the rest, and never fill a field it doesn’t know. A guessed state of residence or trip cost gives a price for someone else’s policy. Travefy’s point is the same one from the advisor side: quote from the trip record, so nobody retypes it.

2. Quote, and keep the insurer’s disclosures with the price

This is where insurance differs most from other extras. A good insurance API returns the text the traveller needs to read alongside the price:

What this means for the agent:

3. Bind only after a yes, and know what you got back

The bind is the paid, committed step. It runs after the traveller has seen the offer and accepted it, with an idempotency key so a retry never buys twice.

As with transfers, say what you have: “covered” only on an issued policy, “awaiting payment” for a pending one, and “ready to buy” for a link.

On who decides, Cover Genius’s own research is a useful constraint: it found that fewer than 7% of consumers want an agent selecting or purchasing paid protection on its own, while most prefer an agent that recommends and a human who approves. That matches the hard stop between quote and bind.

4. Read and change after the sale

Trips change after the policy is bought, and the policy has to follow. XCover’s docs describe in-place modification:

When a flight is cancelled or delayed, the policy is one of several extras that have to respond. We cover that event loop in When the flight breaks, the extras have to answer the same event.

Four public insurance contracts compared

This compares published contracts as of Nov. 27, 2026, not the cover itself.

  Cover Genius (XCover Offers API) Treppy Travel Protection Insurance ByteTravel
Surface REST API for partners REST API; MCP server announced June 2026 Public MCP server, plus an OpenAPI quote API Public consumer MCP server
Access API key and signing secret from Cover Genius; partner code from its solutions engineers Partner API key with a sandbox No account or sign-in No account
Who can buy Set per partner offer schema Several carriers behind one contract, per Treppy US residents except Hawaii Not stated in the tool
Quote returns Products, price, tax, policy document link, benefits, exclusions, disclaimers Quotes across carriers and plans Price under two plans, CFAR availability; coverage details in a separate tool Insurance quotes in 12 currencies
How the sale ends Confirm Offer (idempotent); optional two-step payment confirmation Bind and issue, per Treppy Checkout link, valid 1 hour; no card charged by any tool No bind tool among its six tools
After the sale Read, modify, quote-then-confirm price changes; claims via XCover Not covered on the public page On the insurer’s site Not covered

Sources: each provider’s docs, linked below, and the two public MCP servers’ own initialize and tools/list responses on Nov. 27, 2026. Our MCP server evaluation checklist covers the questions to ask before adding any of them.

Where bundles fit

Holafly’s Ultra plan shows another route: protection bundled into a product the traveller already buys. For the agent, a bundle is one price and one set of terms, which is simpler to sell but harder to compare. If you’re deciding between cover as its own tool and cover as part of a wider shelf, our insurance vs a multi-ancillary shelf checklist covers that choice. We don’t repeat it here.

Agent rules for travel insurance

Where Ancilair fits

Ancilair is being built as a shelf of travel extras for AI agents, over MCP, REST, and CLI under one token. Travel insurance maps to two routed tool ids on the insurance use case: anc.insurance.quote then anc.insurance.bind, with a named supplier as its own tool id when only that supplier should answer. Customers bring their own supplier key or OAuth. Prices are the supplier’s rate, quoted on the call, with 0% markup. The bind runs only after an explicit yes, with an Idempotency-Key. A quote is not a policy, and the use-case page says so.

It is in pre-launch. The prompts on that page are marked coming soon, and pricing lists the self-hosted version as free with Ancilair Cloud coming soon. Insurers and distributors with a partner API can ask to be listed through List your offer.

Sources

Cover Genius, Treppy, Travel Protection Insurance, ByteTravel, Travefy, Berkshire Hathaway Travel Protection, and Holafly did not review this article, and Ancilair has no partnership with them. Details summarised from public sources as of Nov. 27, 2026. Not insurance or legal advice: coverage, eligibility, and exclusions are set by each insurer’s policy terms, and insurance distribution rules depend on the market. Ancilair is in pre-launch.

Questions

What does an AI agent need from a travel insurance API?
Four things: a clear list of the trip facts that set price and eligibility, a quote that returns the insurer's own disclosures (exclusions, policy wording, disclaimers) next to the price, a bind or purchase call that runs only after the traveller accepts, with an idempotency key, and read and change calls for after the sale.
Is a travel insurance quote the same as a policy?
No. A quote is a price for a set of trip facts. The policy exists only after the bind or purchase step, and on some APIs only after payment is confirmed. Until then, the agent should say the traveller has a quote, not cover.
Can an AI agent buy travel insurance on its own?
Technically, some APIs can bind in one call. Cover Genius says its research found fewer than 7% of consumers want an agent selecting or purchasing paid protection autonomously, and that consumers overwhelmingly favour an agent-recommended, human-approved workflow. Whether and how an agent may sell insurance also depends on the distribution rules where the traveller lives, which this article does not cover.
Which travel insurance providers publish an API or MCP server for agents?
Public examples as of Nov. 27, 2026 include Cover Genius's XCover Offers API (partner credentials from Cover Genius), Treppy (partner API key with a sandbox; MCP server announced June 2026), Travel Protection Insurance (public MCP server for US residents that ends in a checkout link), and ByteTravel (public consumer MCP server with an insurance quote tool). Scope and access change; check each provider's docs.
Is Ancilair generally available?
No. Ancilair is in pre-launch. The open-source, self-hosted version and Ancilair Cloud are coming; the insurance use-case page shows the routed tool ids and the prompts are marked coming soon.
Is this insurance or legal advice?
No. This is a technical guide for builders of AI travel products. It describes how public APIs are built; it does not say what any business may or must do to distribute insurance. Coverage, eligibility, and exclusions are set by each insurer's policy terms.