Getting started

Welcome to The Basetrip's API documentation. Here you will find all the info you need to know to get started using our API, including endpoints & sample responses.

Getting the API key

To get the API key you need to schedule a call with us in order to get the register link and go through the checkout process. After your payment is successful you will receive an API key which you can then immediately use with The Basetrip API.

Making requests

There are two main endpoints - one for country list and one for country details . For each endpoint we provided a sample request and response.

Base URL is

When you receive your API key, use it as x-api-key header on every request.

The only supported type is application/json content type.


If you need help feel free to send us a message via email.