1. Home
  2. Docs
  3. Airports API
  4. Authentication

Authentication

Authentication during testing

During the test phase, you can use our API without authentication. However, we do check how many requests a client does, so if you rank up a lot of usage you will get a 403 error for reaching the test quota.

If you reach your quota during testing, please get in touch with us and we’ll be happy to help you out.

Unauthenticated calls cannot submit changes, but only retrieve data using the GET method.

Unmetered and always free calls

There are some endpoints that are unmetered and always free. These are all grouped under the api.aviowiki.com/free space, for example https://api.aviowiki.com/free/airports/search.

You can make as many calls as you want to these, both for personal and commercial use.

See the Docs

Authentication in production

API calls in production environments are to be authenticated using the Authorization header with Bearer type.

Get your API key

Throughout this documentation, we will use Bearer Token 00112233-4455-6677-8899-aabbccddeeff. You should substitute this with your own token when making test calls.

Example of authenticated API call:

curl --request GET \
  --url 'https://api.aviowiki.com/airports/search?query=Los%20Angeles' \
  --header 'authorization: Bearer 00112233-4455-6677-8899-aabbccddeeff'

Test Now

Of course, our replies return appropriate response codes. If you receive a response code in the 4xx or 5xx range, the response body will follow the Error data model.

Go to Error data model

Was this article helpful to you? Yes No

How can we help?