• Installs:
  • Today: 200
  • This Week: 0
  • This Month: 0
  • All Time: 1800
Developer:userthe-basetrip

The Basetrip API Package

Get travel information for 232 countries - including basic & currency information, electricity (sockets & plugs), tipping, ATMs, credit & debit cards, driving, dial codes, internet & mobile phone prices, health, emergency numbers, embassies and more.

List of Endpoints
This is the list of endpoints this API includes. To add of the endpoints to your app, please click on “Connect to endpoint” text.
See All
Discussions
user thumbnail
preetavi: citydata...
user thumbnail
reditravel007: Not fetching the desired result...
user thumbnail
housesittingworld: Visa / Passport information on Mega plan...
user thumbnail
dbaker: Basic repsonse appears to not return textual element...
user thumbnail
TourismMedia: Customer on MEGA plan, but receives "Your plan does not support france" API response...
user thumbnail
alcovegan: How much data you provide...
See All
Readme

The Basetrip API

The Basetrip API

Welcome

Welcome to The Basetrip's API. Here you will find all the info you need to know to get started using our API, including use cases, pricing & actual requests and responses.

The Basetrip API enables you to retrieve travel information for more than 240 countries - including basic information (name, ISO codes, flag, GeoJSON etc.) currency information, electricity (sockets & plugs), tipping, ATMs, credit & debit cards, driving, dial codes, internet & mobile phone, health, emergency numbers, embassy contacts and more.

Use cases

The Basetrip API is already being used within various mobile applications, websites and industries to enrich existing user experiences. The most common ones being tourist agencies, travel agents, travel platforms, accommodation providers and publishers related to tourism/travel.

Tourism agencies

Most common scenario is enriching existing sites for tourism itineraries and routes and providing additional info on checkout page like whether to bring an electrical adapter, what is the tipping etiquette etc.

Travel agents

Agents within larger corporations are using The Basetrip to gather basic info about particular country which they then enrich with custom trip/itinerary information.

Travel platforms & accommodation providers

Travel platforms and accommodation providers are using The Basetrip to provide their users with additional data/snippets of particular city or a country, alongside their main offers like trips or apartment bookings.

Publishers

Publishers are using The Basetrip to accompany travel articles with country data i.e. if travel article is about France, publisher would provide additional snippets alongside the article about France.

Data

We are retrieving data from multiple online and offline sources including PDFs, paper tourist guides and more to combine them together and provide you with the structured data. Some data may be omitted for some countries as not all countries have all the data available. Existing data is continually updated and new data is added on monthly basis.

Contact

If you have any questions or comments, please let us know at [email protected].

Setup

To get access to the API you'll need your API key. You will receive it via email shortly after you pay the monthly subscription. When you receive API key, use it as the {{api-key}} variable. API key must be sent via X-API-Key header on every request.

Base URL

Base URL is https://api.thebasetrip.com/v2. Latest API version is v2. Old version v1 is deprecated, but fully supported until 1st of June, 2017.

Content-Type

Usage of Content-Type: application/json header is optional.

x
circle
The Basetrip
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Connect your app to APIs via RapidAPI

Consume and monitor multiple APIs through the RapidAPI SDK.
Click start to set up your app and connect to your first API.

START

Give your app a name

This app will be used in RapidAPI to collect and connect all the APIs you need.

NEXT

Connect your project

Choose your backend language and then install & require the RapidAPI SDK.

  • node
    NodeJS
  • php
    PHP
  • python
    Python
  • objc
    Obj-C
  • android
    Android
  • go
    GO
  • ruby
    Ruby
  • csharp
    C#

Install SDK

Run the following command to install the SDK:

npm install rapidapi-connect --save

Require SDK

In your code, add the following code to require the RapidAPI SDK:

NEXT

Hooray! You are connected

Use the following code to try it out by getting all the APIs that are on RapidAPI.

rapid.call('RapidAPI', 'getAll', {'{}'});
FINISH
esccloses this view
x

Login to RapidAPI

Create endpoints based on popular APIs and share with others.
Follow popular APIs and get updated. Stand out in the community of developers.

Login with Github
Login with Facebook
Login with Google
Or
Remember Me

  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
    Sign up with Github
    Sign up with Facebook
    Sign up with Google
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view