Bound.re API allows you to manage your products and location items, as well as perform geospatial searches.
This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include an Authorization
header with the value "Bearer {YOUR_AUTH_KEY}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting the API Tokens page in your account settings.
APIs for managing products
curl --request GET \
--get "https://bound.re/api/v1/products" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
curl --request POST \
"https://bound.re/api/v1/products" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"kkcbgasgvc\",
\"description\": \"Quisquam ea enim illo aperiam voluptas.\",
\"external_id\": \"ewoatfstfd\",
\"currency_code\": \"vbu\",
\"max_exposure_allowed\": 2.9256408,
\"search_radius_unit\": \"mi\",
\"search_radius_distance\": 5.14208
}"
The ID of the product.
curl --request GET \
--get "https://bound.re/api/v1/products/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The ID of the product.
curl --request PUT \
"https://bound.re/api/v1/products/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"fiuamoq\",
\"description\": \"Dolor fugit dolorum sit.\",
\"external_id\": \"szleqtwtdolgjaiogt\",
\"currency_code\": \"bsq\",
\"max_exposure_allowed\": 457.36,
\"search_radius_unit\": \"km\",
\"search_radius_distance\": 1476.60115584
}"
APIs for upserting location items
The ID of the product.
curl --request PUT \
"https://bound.re/api/v1/products/1/location-items" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"external_id\": \"quasi\",
\"cover_status\": \"quotation\",
\"coverage_amount\": 0,
\"cover_start_date\": \"2025-02-28T13:59:12+00:00\",
\"cover_end_date\": \"2071-07-30\",
\"location\": {
\"line1\": \"cgbpzdnzbhi\",
\"line2\": \"jdqwwtwfpueozxjblqyuydw\",
\"town\": \"eydpxxncpswhenym\",
\"county\": \"hmozd\",
\"country\": \"unhc\",
\"postal_code\": \"szqpyzsgvohj\"
},
\"max_exposure_allowed\": 1,
\"search_radius_unit\": \"km\",
\"search_radius_distance\": 0
}"
{
"outcome": "added" | "not_added",
"search_radius_unit": "km" | "mi",
"search_radius_distance": 100,
"max_exposure_allowed": 1000000,
"max_exposure_from_date": "2024-05-01",
"max_exposure_to_date": "2024-10-20",
"max_exposure_amount_including_item": 754300,
"max_exposure_amount_excluding_item": 704300,
"total_exposure_amount_currency": "GBP"
}