---
title: "Calculate Budget"
method: POST
path: "/api/v1/budgets/{externalId}/calculate"
tags: ["Budget"]
---

# Calculate Budget

`POST /api/v1/budgets/{externalId}/calculate`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v1/budgets/{externalId}/calculate`
- Auth: HTTP bearer

Run the cost calculation engine on a budget. Requires a destination to be assigned.

## Response `200`

- object
  - `budget` object
    - `external_id` string
    - `status` string
    - `complete_total` number

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `403`: quota_exceeded: A free monthly tool allowance is spent; the body carries `limit`, `used` and `remaining`.
- `422`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
