Skip to main content

Quick start

Sign up to Erguvan and subscribe to a plan, create an API key on the API keys page and use it to send a request to the estimates endpoint:

Create an estimate
curl -X "POST" "https://www.erguvan.co/api/estimates/shipping-road" \
-H 'Authorization: Bearer YOUR_ERGUVAN_API_KEY' \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{ "shipmentMass": { "amount": 15, "unit": "t" }, \
"firmAverageLoadCarried": { "amount": 20, "unit": "t" }, \
"distance": { "amount": 300, "unit": "km" } }'

Congrats, you have just created an estimate! 🥳