> For the complete documentation index, see [llms.txt](https://docs.distance.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.distance.tools/tools/api.md).

# API

Distance API, a powerful distance calculation API for **airline**, **car**, and **maritime** travel. With Distance API, developers can easily integrate **distance calculation functionality** into their applications, allowing users to quickly and accurately determine the distance between waypoints using a variety of travel methods. The API detailed routing information, route segmentation and Country-wise distance breakdown.

{% content-ref url="/pages/YNbyBJ3mUx7aXsXZgmE1" %}
[API Reference](/tools/api/api-reference.md)
{% endcontent-ref %}

## Account, billing and payment

To access and make requests to Distance API, you must first create an account at [developers.distance.tools](https://developers.distance.tools). We use a white-label solution called **Nadles** to manage account creation, subscription handling, usage tracking, and rate limiting.

{% content-ref url="/pages/EGuYdcsQtVMtn5Jgpsrv" %}
[Getting started](/tools/api/getting-started.md)
{% endcontent-ref %}

All payments for API access are processed through **Paddle** (paddle.com), our third-party payment provider. Paddle is responsible for handling transactions, including taxes and invoicing. As a result, API customers will receive invoices directly from Paddle when making a purchase. For any payment-related inquiries, please refer to Paddle’s buyer support at [paddle.com/legal-buyers/](https://paddle.com/legal-buyers/).

{% content-ref url="/pages/TofypYaJ3Ai1nYglFiZL" %}
[Privacy policy](/legal/privacy-policy.md)
{% endcontent-ref %}

## Migration

If you require assistance migrating from RapidAPI to our platform, we have prepared a comprehensive migration guide available at [faq/migration](/tools/api/faq/migration-guide.md). This guide provides step-by-step instructions to ensure a smooth transition and addresses common questions you might have during the migration process.

{% content-ref url="/pages/rEa82YXutHusY4O0wTiY" %}
[Migration guide](/tools/api/faq/migration-guide.md)
{% endcontent-ref %}

## Are you ready? Create your developer acount: <a href="#are-you-ready-create-your-developer-acount" id="are-you-ready-create-your-developer-acount"></a>

{% embed url="<https://developers.distance.tools/>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.distance.tools/tools/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
