📌
Red Flag A!ert
  • API Introduction
  • Authentication
  • Format & Pagination
  • Company
    • Company
    • Other Resources
    • Including additional resources
    • Attributes
    • Search
  • Company Resources
    • Addresses
    • Balance Sheet
    • Cashflow
    • Contacts
    • CCJs
    • Directorships
    • Filing History
    • Group Company
    • Mortgages
    • Parent Company
    • Previous Names
    • Profit & Loss
    • Ratio Analysis
    • Shareholders
    • Unpaid Debt
    • Unpaid Losses
  • Directors
    • Directorship
    • Attributes
    • Search
  • AML
    • Introduction
    • ID & AML Check
    • Charges
    • Search
    • Example Request
    • Response
  • Appendix
    • 1: Dissolution Status Codes
    • 2: SIC Sections
    • 3: RFA Health Ratings
Powered by GitBook
On this page

Was this helpful?

Authentication

PreviousAPI IntroductionNextFormat & Pagination

Last updated 5 years ago

Was this helpful?

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 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.

requests