Shows prices from different insurance companies based on the provided property and contents cost. You must provide at least one of property_cost or contents_cost. You can also provide both
curl --request GET \
--url https://staging.yasmina.ai/api/v1/property/prices \
--header 'Authorization: Bearer <token>'
{
"tawuniya": {
"name": "Tawuniya",
"name_ar": "التعاونية",
"logo": "http://localhost:8000/images/tawuniya-logo.png",
"coverages": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"ac_repair",
"emergency_repairs",
"theft",
"earthquakes"
],
"price": 476.1
},
"medgulf": {
"name": "Medgulf",
"name_ar": "ميدغلف",
"logo": "http://localhost:8000/images/medgulf-logo.png",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes"
],
"price": 508.3
},
"walaa": {
"name": "Walaa",
"name_ar": "ولاء",
"logo": "http://localhost:8000/images/walaa-logo.jpeg",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"liability"
],
"price": 603.75
},
"takaful_alrajhi": {
"name": "Takaful Alrajhi",
"name_ar": "تكافل الراجحي",
"logo": "https://mdckhobar.sa/wp-content/uploads/2024/10/Al-Rajhi-Takaful.png",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"srcc_protection",
"business_interruption"
],
"price": 399.05
},
"wataniyeh": {
"name": "Wataniyeh",
"name_ar": "الوطنية",
"logo": "https://www.jordanfinancialservices.com/sites/default/files/images/logos/nic-01.jpg",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"accidental_home_damage"
],
"price": 632.5
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Lists prices
The response is of type object
.
curl --request GET \
--url https://staging.yasmina.ai/api/v1/property/prices \
--header 'Authorization: Bearer <token>'
{
"tawuniya": {
"name": "Tawuniya",
"name_ar": "التعاونية",
"logo": "http://localhost:8000/images/tawuniya-logo.png",
"coverages": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"ac_repair",
"emergency_repairs",
"theft",
"earthquakes"
],
"price": 476.1
},
"medgulf": {
"name": "Medgulf",
"name_ar": "ميدغلف",
"logo": "http://localhost:8000/images/medgulf-logo.png",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes"
],
"price": 508.3
},
"walaa": {
"name": "Walaa",
"name_ar": "ولاء",
"logo": "http://localhost:8000/images/walaa-logo.jpeg",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"liability"
],
"price": 603.75
},
"takaful_alrajhi": {
"name": "Takaful Alrajhi",
"name_ar": "تكافل الراجحي",
"logo": "https://mdckhobar.sa/wp-content/uploads/2024/10/Al-Rajhi-Takaful.png",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"srcc_protection",
"business_interruption"
],
"price": 399.05
},
"wataniyeh": {
"name": "Wataniyeh",
"name_ar": "الوطنية",
"logo": "https://www.jordanfinancialservices.com/sites/default/files/images/logos/nic-01.jpg",
"benefits": [
"fires",
"explosion",
"storms",
"floods",
"maintenance",
"emergency_repairs",
"theft",
"earthquakes",
"accidental_home_damage"
],
"price": 632.5
}
}