Blog
Travel insurance API for AI agents: quote, disclose, and bind
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:
- Eligibility depends on the traveller, not only the trip. Residency, age, trip cost, and when the trip was first paid can decide whether a plan is offered at all.
- The price comes with text. Exclusions, policy wording, and disclaimers are part of what the traveller agrees to. The insurer writes them, and the agent shouldn’t rewrite them.
- A quote is not cover. The policy exists only after a bind or purchase step, and some APIs issue it only after payment is confirmed.
- Some options have deadlines. Cancel For Any Reason (CFAR) cover, for example, often has to be bought within a set number of days of the first trip payment.
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.
- 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.
- 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.
- 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:
- Travel Protection Insurance’s
quote_travel_insurancetool needs the traveller’s US state, travel dates, destination, and prepaid trip cost, plus the date of the first trip payment to check CFAR. - ByteTravel’s
insurance-get-quotestool needs origin and destination countries, start and end dates, and the number of travellers, and its description tells the assistant to ask for anything missing before calling. - Cover Genius’s Create Offer takes customer fields (country, region, currency, language) and a business context whose fields are set per partner in an offer schema agreed with Cover Genius.
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:
- Cover Genius’s Create Offer response returns products with price and tax, a
pds_urlper product, and content blocks with a title, description, benefits, inclusions, exclusions, and disclaimers, which Cover Genius’s docs say to use when presenting the offer. Commission and surcharge can be requested as extra fields. - Travel Protection Insurance has a separate
get_travel_insurance_coverage_detailstool for covered cancellation reasons, benefit limits, and state restrictions, and its quote tool says whether CFAR is available to this traveller, and why not when it isn’t.
What this means for the agent:
- Show the price the tool returned, with its currency, and who the insurer is.
- Pass the insurer’s disclosure text and links through as returned. Summarising them in the model’s own words loses the parts the insurer chose to say.
- If the API says a plan isn’t available to this traveller, say so. Don’t look for a plan with looser terms in another tool.
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.
- XCover’s Confirm Offer takes the accepted quote ids, the insured people, and the policyholder, and accepts an
x-idempotency-key. A repeat with the same key returns409with the original result (treat it as success), and423while the first request is still running. Keys are kept for 48 hours. - With
require_payment_confirmation: true, XCover leaves the booking inPENDING_PAYMENTuntil a separate Confirm Booking call after payment is collected; only then is itCONFIRMEDand the policies issued. - Travel Protection Insurance’s
start_travel_insurance_checkoutcreates the quote and returns a link. It needs the traveller’s name and email, which its server instructions say to share only with the traveller’s agreement. Until the traveller pays on the site, there is no policy. - Treppy’s solutions page describes the same split as
quote_comparethenbind, with the policy issued in the chat.
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:
- Read the booking first.
allow_updatesandfields_allowed_to_updatesay what can be changed; don’t offer edits for anything else. - Some fields can’t change through the API. Per XCover, a change of residency needs a new offer.
- Price-affecting changes take two calls: quote the update (new price and
price_diff), then confirm it once the customer accepts. That’s the same quote-then-yes rule as the first sale. - Claims and post-purchase service run through XCover, Cover Genius’s consumer platform, and the booking response carries a claims link (
fnol_link).
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
- Ask for what eligibility depends on (residency, ages, dates, trip cost, first payment date) before quoting.
- Quote freely, bind on a yes. Quotes and coverage reads can run without asking; bind, change, and cancel wait for an explicit yes.
- Relay, don’t rewrite. Show the insurer’s disclosures and document links as returned, next to the price.
- Don’t recommend beyond the facts. Describe what each plan covers, using the insurer’s text. Whether a traveller needs cover is their decision.
- Pass the quote id, not the price. Bind against the accepted quote, with an idempotency key.
- Say what you have. “Quoted”, “ready to buy”, “awaiting payment”, or “covered”, and name the insurer.
- Keep the policy with the trip. Store the policy reference with the itinerary so changes and claims start from it.
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: Agentic Embedded Protection launch (Oct. 13, 2026)
- Cover Genius partner docs: XCover
- Cover Genius partner docs: Create Offer
- Cover Genius partner docs: Confirm Offer
- Cover Genius partner docs: Confirm Booking
- Cover Genius partner docs: Modification
- Treppy: travel insurance API and MCP server for AI agents
- VisitorsCoverage: Treppy launches MCP server (June 9, 2026)
- Travel Protection Insurance: Travel Protection in AI assistants
- ByteTravel
- TravelPulse: Travefy integrates Berkshire Hathaway Travel Protection
- Holafly: Holafly launches Ultra
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.