> For the complete documentation index, see [llms.txt](https://truq-services.gitbook.io/merchants/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://truq-services.gitbook.io/merchants/parameter-guide/source-and-destination.md).

# Source and Destination

Generally, when you request our API to book a trip, we expect you to send two required fields, the source and destination object. However, getting the source and destination object requires the latitude, longitude and state of a precise location. Our API fetches latitude and longitude from Google Maps API services, using Place Autocomplete API to find the latitude and longitude of a location. Since the API requires this information, you can fetch the data yourself from any third-party service.

{% code title="Source and Destination" %}

```json
{
    "source": {
        "address": "Ikoyi",
        "latitude":  6.4500,
        "longitude": 3.4333,
        "state": "Lagos"
    },
    "destination": {
        "address": "Ikoyi",
        "latitude":  6.4500,
        "longitude": 3.4333,
        "state": "Lagos",
        "stops": {
            "number": 0,
            "stopovers": []
        }
    },
    ...
}
```

{% endcode %}
