curl https://portal.bridgelinepf.com/api/v1/partner/quotes \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}'
const res = await fetch('https://portal.bridgelinepf.com/api/v1/partner/quotes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}),
})
const quote = await res.json()
import os
import uuid
import requests
res = requests.post(
"https://portal.bridgelinepf.com/api/v1/partner/quotes",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": False
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": False
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": False,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
},
timeout=60,
)
quote = res.json()
{
"id": "qte_3kBdws4Iboz3EfcUQN2z68",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_2bX9kQ7m",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "eligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": true,
"limit": "TX",
"actual": "TX"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": []
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": "opt_25_10",
"options": [
{
"id": "opt_25_10",
"down_payment_rate": 0.25,
"term_months": 10,
"apr": 0.1184,
"down_payment": "12155.11",
"amount_financed": "36465.32",
"monthly_payment": "3847.40",
"finance_charge": "2008.64",
"total_of_payments": "38473.96",
"total_cost": "50629.07"
}
// ...29 more options
]
}
{
"id": "qte_0ttEraHBIn4mMQxrxzvIa7",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_7Rt4Lp2x",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "ineligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": false,
"limit": "TX",
"actual": "CA"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": [
{
"code": "INSURED_STATE_NOT_ELIGIBLE",
"param": "insured.address.state",
"message": "We finance insureds in TX only; this insured is in CA."
}
]
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": null,
"options": []
}
{
"error": {
"type": "invalid_request",
"code": "VALIDATION_FAILED",
"message": "Invalid request body: broker_email: \"broker_email\" is not a field here.",
"param": "broker_email",
"details": [
{
"code": "UNKNOWN_FIELD",
"param": "broker_email",
"message": "\"broker_email\" is not a field here."
}
],
"doc_url": "https://docs.bridgelinepf.com/errors#VALIDATION_FAILED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "api_error",
"code": "SERVICE_UNAVAILABLE",
"message": "Quoting is temporarily unavailable. Retry shortly.",
"doc_url": "https://docs.bridgelinepf.com/errors#SERVICE_UNAVAILABLE",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
Create a partner quote
Prices one or more policies financed together as one loan and returns every down payment × term option we can offer, at the agency’s cost (price_basis “agency_cost”): the price before the agency that takes the quote adds its own compensation. The quote belongs to your partner account; no agency is attached and no link is returned. A deal we cannot finance still returns 201, with eligibility.status “ineligible”, its reasons and no options; 422 is only for malformed input. A deal we can finance is never priced without your account’s pricing settings: if they cannot be read, the request is refused with 503 and nothing is stored.
curl https://portal.bridgelinepf.com/api/v1/partner/quotes \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}'
const res = await fetch('https://portal.bridgelinepf.com/api/v1/partner/quotes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}),
})
const quote = await res.json()
import os
import uuid
import requests
res = requests.post(
"https://portal.bridgelinepf.com/api/v1/partner/quotes",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": False
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": False
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": False,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
},
timeout=60,
)
quote = res.json()
{
"id": "qte_3kBdws4Iboz3EfcUQN2z68",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_2bX9kQ7m",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "eligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": true,
"limit": "TX",
"actual": "TX"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": []
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": "opt_25_10",
"options": [
{
"id": "opt_25_10",
"down_payment_rate": 0.25,
"term_months": 10,
"apr": 0.1184,
"down_payment": "12155.11",
"amount_financed": "36465.32",
"monthly_payment": "3847.40",
"finance_charge": "2008.64",
"total_of_payments": "38473.96",
"total_cost": "50629.07"
}
// ...29 more options
]
}
{
"id": "qte_0ttEraHBIn4mMQxrxzvIa7",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_7Rt4Lp2x",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "ineligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": false,
"limit": "TX",
"actual": "CA"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": [
{
"code": "INSURED_STATE_NOT_ELIGIBLE",
"param": "insured.address.state",
"message": "We finance insureds in TX only; this insured is in CA."
}
]
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": null,
"options": []
}
{
"error": {
"type": "invalid_request",
"code": "VALIDATION_FAILED",
"message": "Invalid request body: broker_email: \"broker_email\" is not a field here.",
"param": "broker_email",
"details": [
{
"code": "UNKNOWN_FIELD",
"param": "broker_email",
"message": "\"broker_email\" is not a field here."
}
],
"doc_url": "https://docs.bridgelinepf.com/errors#VALIDATION_FAILED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "api_error",
"code": "SERVICE_UNAVAILABLE",
"message": "Quoting is temporarily unavailable. Retry shortly.",
"doc_url": "https://docs.bridgelinepf.com/errors#SERVICE_UNAVAILABLE",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
price_basis: "agency_cost"): what the agency pays before it adds its own compensation. See partner quotes.
- A deal we can’t finance is still a
201:eligibility.statusisineligible,eligibility.reasonssays why, andoptionsis empty. A422means only that the request was malformed, and it lists every problem at once indetails. - The body carries the insured and the policies, the same deal fields an agency sends. There is no
broker_email: a partner key has no broker to name, so sending it is a422. - No link is returned. A partner quote has no page to send to anyone yet.
- A deal we can finance is never priced without your account’s pricing settings. If they can’t be read, the request is refused with
503 SERVICE_UNAVAILABLEand no quote is stored; retry afterRetry-After. A deal we can’t finance is answeredineligibleeither way, since nothing is priced. - Quotes expire 30 days after they’re created. Each call counts toward your daily quote limits.
curl https://portal.bridgelinepf.com/api/v1/partner/quotes \
-H "Authorization: Bearer $BRIDGELINE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}'
const res = await fetch('https://portal.bridgelinepf.com/api/v1/partner/quotes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.BRIDGELINE_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": false
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": false
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": false,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
}),
})
const quote = await res.json()
import os
import uuid
import requests
res = requests.post(
"https://portal.bridgelinepf.com/api/v1/partner/quotes",
headers={
"Authorization": f"Bearer {os.environ['BRIDGELINE_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"insured": {
"name": "Lone Star Fabrication LLC",
"fein": "74-0000000",
"address": {
"line1": "1200 Industrial Blvd",
"city": "Houston",
"state": "TX",
"postal_code": "77002"
}
},
"policies": [
{
"premium": "46100.00",
"taxes_and_fees": [
{
"description": "Surplus lines tax (4.85%)",
"amount": "2235.85",
"earned": False
},
{
"description": "Stamping fee (0.075%)",
"amount": "34.58",
"earned": False
},
{
"description": "Policy fee",
"amount": "250.00"
}
],
"minimum_earned": {
"rate": 0.25
},
"effective_date": "2026-10-15",
"expiration_date": "2027-10-15",
"carrier": {
"name": "Scottsdale Insurance Company",
"naic_code": "41297"
},
"coverages": [
{
"type": "general_liability"
},
{
"type": "commercial_property",
"description": "Commercial Property (Ex-Wind)"
}
],
"auditable": False,
"document_type": "binder",
"policy_number": "CPS7712045",
"metadata": {
"submission_policy_id": "POL-889213"
}
}
]
},
timeout=60,
)
quote = res.json()
{
"id": "qte_3kBdws4Iboz3EfcUQN2z68",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_2bX9kQ7m",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "eligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": true,
"limit": "TX",
"actual": "TX"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": []
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": "opt_25_10",
"options": [
{
"id": "opt_25_10",
"down_payment_rate": 0.25,
"term_months": 10,
"apr": 0.1184,
"down_payment": "12155.11",
"amount_financed": "36465.32",
"monthly_payment": "3847.40",
"finance_charge": "2008.64",
"total_of_payments": "38473.96",
"total_cost": "50629.07"
}
// ...29 more options
]
}
{
"id": "qte_0ttEraHBIn4mMQxrxzvIa7",
"object": "partner_quote",
"livemode": true,
"status": "active",
"client_reference_id": "SUB-2026-0412",
"metadata": {
"submission_id": "SUB-10442"
},
"created_at": "2026-10-12T15:04:05Z",
"expires_at": "2026-11-11T15:04:05Z",
"price_basis": "agency_cost",
"totals": {
"premium": "46100.00",
"taxes_and_fees": "2520.43",
"total": "48620.43",
"weighted_minimum_earned_rate": 0.25,
"financing_start_date": "2026-10-15"
},
"policies": [
{
"id": "pol_7Rt4Lp2x",
"total": "48620.43",
"minimum_earned": {
"rate": 0.25
},
"carrier": {
"name": "Scottsdale Insurance Company",
"am_best": {
"rating": "A+",
"source": "am_best"
}
},
"metadata": {
"submission_policy_id": "POL-889213"
}
}
],
"eligibility": {
"status": "ineligible",
"checks": [
{
"code": "INPUT_VALID",
"passed": true
},
{
"code": "INSURED_STATE",
"passed": false,
"limit": "TX",
"actual": "CA"
},
{
"code": "PREMIUM_MIN",
"passed": true,
"limit": "4500.00",
"actual": "48620.43"
},
{
"code": "PREMIUM_MAX",
"passed": true,
"limit": "175000.00",
"actual": "48620.43"
},
{
"code": "AM_BEST_MIN",
"passed": true,
"limit": "A-"
},
{
"code": "ISSUER",
"passed": true
},
{
"code": "COVERAGE",
"passed": true
},
{
"code": "POLICY_BACKDATE",
"passed": true,
"limit": "30 days"
},
{
"code": "DATE_UNIFORMITY",
"passed": true
},
{
"code": "POLICY_TERM",
"passed": true,
"limit": "3 months",
"actual": "12 months"
},
{
"code": "MINIMUM_EARNED_MAX",
"passed": true,
"limit": "90%",
"actual": "25.4%"
}
],
"reasons": [
{
"code": "INSURED_STATE_NOT_ELIGIBLE",
"param": "insured.address.state",
"message": "We finance insureds in TX only; this insured is in CA."
}
]
},
"assumptions": [
{
"code": "EARNED_ASSUMED",
"param": "policies[0].taxes_and_fees[2].earned",
"message": "Not marked; treated as earned (not refunded on cancellation)."
}
],
"warnings": [],
"binding_readiness": {
"ready": true,
"issues": []
},
"recommended_option_id": null,
"options": []
}
{
"error": {
"type": "invalid_request",
"code": "VALIDATION_FAILED",
"message": "Invalid request body: broker_email: \"broker_email\" is not a field here.",
"param": "broker_email",
"details": [
{
"code": "UNKNOWN_FIELD",
"param": "broker_email",
"message": "\"broker_email\" is not a field here."
}
],
"doc_url": "https://docs.bridgelinepf.com/errors#VALIDATION_FAILED",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
{
"error": {
"type": "api_error",
"code": "SERVICE_UNAVAILABLE",
"message": "Quoting is temporarily unavailable. Retry shortly.",
"doc_url": "https://docs.bridgelinepf.com/errors#SERVICE_UNAVAILABLE",
"request_id": "req_8fJ2kQ9xLm4TzW7nB3cY5pDv"
}
}
Headers
Body
Response
The quote, eligible or not.
An indicative quote owned by a partner, priced at the agency's cost: a stored snapshot, not a price lock.