For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

API users are provided with an API key and secret. Please contact us for prices.

Authentication is handled using HTTP Basic Authentication:

Authorisation: Basic xxxxxx

where 'xxxxx' is the result of base64 encoding the api key and secret.

Most programming languages will have a library to handle this. For example, in Python the requests library can make an authenticated request by doing:

requests.get('https://api2.redflagalert.net/v4/companies/', auth=('key', 'secret'))

If you have any problems with authentication in your chosen language, please contact us for assistance.

Last updated