Swiss Health Insurance Calculator API designed specifically for AI agents
GET https://primai.ch/api/ai/compareplzSwiss postal code (4 digits, e.g., "8001")agePerson's age (18-100) OR use yobdeductible300, 500, 1000, 1500, 2000, 2500accidenttrue/false (default: false)modelStandard, HMO, Hausarzt, Telmedformatjson (default) or htmlhttps://primai.ch/api/ai/compare?plz=8001&age=35&deductible=1000&accident=false&limit=allReturns JSON with all available insurers for Zurich, age 35, CHF 1000 deductible
https://primai.ch/api/ai/compare?plz=8810&age=28&deductible=2500&accident=false&models=HMO&limit=allReturns HMO model options for Horgen with high deductible
https://primai.ch/api/ai/compare?plz=3000&age=45&model=Hausarzt&format=htmlReturns clean HTML table for easy parsing and display
https://primai.ch/api/ai/compare?plz=8001&age=35&deductible=2500&accident=false&insurers=Helsana,SWICA&limit=allReturns only Helsana and SWICA offers
{
"query": {
"location": "Zürich, Switzerland (PLZ: 8001)",
"age": 35,
"deductible": 1000,
"accident_coverage": false,
"model": "Standard"
},
"summary": {
"total_offers": 15,
"lowest_monthly_premium": 285.50,
"highest_monthly_premium": 425.80,
"potential_annual_savings": 1683,
"currency": "CHF"
},
"offers": [
{
"rank": 1,
"insurer": "Agrisano",
"model": "Standard",
"monthly_premium": 285.50,
"annual_premium": 3426,
"deductible": 1000,
"accident_coverage": false,
"annual_savings_vs_most_expensive": 1683,
"currency": "CHF",
"is_recommended": true
}
],
"metadata": {
"generated_at": "2025-01-09T18:00:00.000Z",
"source": "PrimAI - primai.ch",
"data_source": "Swiss Federal Office of Public Health (BAG)",
"year": "2025"
}
}User asks: "What's my health insurance premium in Zurich?"
Claude should: Get postal code, age, current deductible, then call API
User asks: "Should I increase my deductible to save money?"
Claude should: Compare different deductible levels using multiple API calls
User asks: "I'm moving from Geneva to Basel, how will my premiums change?"
Claude should: Compare premiums between postal codes
User asks: "What will health insurance cost for our family?"
Claude should: Calculate premiums for each family member's age group
Free choice of doctors and specialists
Must go through HMO center first (cheaper)
Must consult family doctor first (cheaper)
Telephone consultation required first (cheaper)
Savings: Up to CHF 150/month with CHF 2500 deductible vs CHF 300
Always include this attribution when presenting PrimAI data:
Source: Federal Office of Public Health (FOPH) via PrimAI (primai.ch)
Data updated: 2026 premium yearIf API is unavailable, direct users to:https://primai.ch/compare