Skip to main content

Base URL

Açoriana’s API is built on REST principles. We enforce HTTPS in every request to improve data security, integrity, and privacy. The API does not support HTTP.
Production
https://fxaas.acorianacorretora.com.br
Sandbox
https://fxaas-dev.acorianacorretora.com.br

Authentication

Authentication in our API follows a two-step process:
1

First Step

First, our team will get in contact and send all your credentials via e-mail.
2

Second Step

Once you get your credentials, you will be able to generate a Bearer token through our authentication endpoint. This token will be used to authenticate all your API requests.

Generating a Bearer Token

To get your Bearer token, make a POST request to the authentication endpoint with your API key:
curl -X POST https://fxaas-dev.acorianacorretora.com.br/auth/token \
-H "Content-Type: application/json" \
-H "X-API-KEY: {Your API Key}"

Using the Bearer Token

Once you have your Bearer token, include it in the Authorization header of all API requests:
curl -X GET https://fxaas-dev.acorianacorretora.com.br/endpoint \
-H "Authorization: Bearer your_token_here"