Swyfft Partner API
Quote homeowners insurance across Admitted and E&S carriers in a single call with the Swyfft Partner API.
The Swyfft Partner API lets agencies, raters and CRM platforms quote homeowners (HO) insurance programmatically. A single call rates both Admitted and Excess & Surplus (E&S) carriers for a property address and returns live quotes you can adjust element by element.
What you'll find here
- API Reference: all 5 operations, grouped into Capabilities, Quote Groups and Status, with request and response schemas, examples and a live API playground.
- SDKs: client libraries for C#, Python and TypeScript, generated by APIMatic, with code samples on every endpoint.
- Context Plugin: brings the Swyfft API and SDKs into AI coding assistants such as Claude Code, Cursor and Codex.
Base URLs
| Environment | Base URL |
|---|---|
| Production | https://www.swyfft.com |
| Sandbox | https://demo.swyfft.com |
All v2 paths start with /partnerapi/v2.
Authentication
Send the API key Swyfft issued you in the X-SwyfftApiKey header:
X-SwyfftApiKey: <your-api-key>Rater and CRM intermediary platforms (for example QuoteRush) also send their own X-SwyfftIntermediaryKey, which overrides the calling account's channel for that request. Direct agency calls omit it.
To get a key, contact partnerapi@swyfft.com.
Your first quote in four calls
- Check your key:
GET /partnerapi/v2/ping - Discover carriers and elements for a state:
GET /partnerapi/v2/capabilities/{productLine}/{state} - Rate an address:
POST /partnerapi/v2/quote-groupsreturns Admitted and E&S quotes in one group. - Adjust coverage:
PATCH /partnerapi/v2/quote-groups/{quoteGroupId}/quotes/{quoteId}. Common elements such asYearBuiltandRoofAgecarry over to every quote in the group.
You can read the group again at any time with GET /partnerapi/v2/quote-groups/{quoteGroupId}.
Retries
Create a quote group is get-or-create: repeating the same request for the same agency and address returns the existing group while it still has live quotes. Retry sequentially, never in parallel: overlapping requests for one address can create duplicate groups.
