> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedora.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Delivery Fee

### 📝 Summary

This endpoint allows users to calculate the cost for a potential delivery. By providing necessary parameters such as the pickup location, delivery destination, and package dimensions/weight, the system will compute and return the estimated delivery fee and any associated taxes or surcharges. This enables users to determine the final price before confirming a delivery request.

***

### Requests

##### Example

<Expandable>
  ```json theme={null}
  {
    "sender_address": "Aso housing estate, Lugbe, Abuja",
    "receiver_address": "Grandeur squares and cubes estate, FHA, Lugbe, Abuja"
    "scope":"insterstate" // insterstate, intracity
  }
  ```
</Expandable>

##### Params

<Expandable>
  **Description:**

  | Name               | Location | Type   | Required | Description           |
  | ------------------ | -------- | ------ | -------- | --------------------- |
  | `body`             | body     | object | no       | none                  |
  | `sender_address`   | body     | string | yes      | none                  |
  | `receiver_address` | body     | string | yes      | none                  |
  | `scope`            | body     | string | yes      | interstate, intracity |
</Expandable>

### Responses

| HTTP Status Code                 | Meaning                                                          | Description | Data schema |
| -------------------------------- | ---------------------------------------------------------------- | ----------- | ----------- |
| <Badge color="green">200</Badge> | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)          | none        | Inline      |
| <Badge color="red">422</Badge>   | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.3.1) | none        | Inline      |

<ResponseExample>
  ```json sample response theme={null}
  ```
</ResponseExample>
