Overview
👋 Introduction¶
Welcome to Reflexivity's API documentation - your guide into the future of financial analysis.
Reflexivity is the ultimate investing platform for global institutional investors and wealth advisors. Reflexivity monitors billions of financial data points daily and alerts you to the ones that actually matter.
🧬 APIs Overview¶
- Reflexivity APIs are provided as JSON REST based services.
- All requests must be authenticated using a bearer token.
- Authentication tokens can be requested from the Reflexivity OAuth service.
- An account
id
andsecret
must be provided when requesting an authentication token. - The Reflexivity team can supply the required account
id
andsecret
.
📍 Addresses¶
Reflexivity services can be found at the following addresses:
Development | Staging | Production | |
---|---|---|---|
Authentication | https://auth.dev.rflx.co.uk | https://auth.staging.rflx.co.uk | https://auth.reflexivity.com |
API | https://api.dev.rflx.co.uk | https://api.staging.rflx.co.uk | https://api.reflexivity.com |
IP | 35.190.21.243/32 | 35.190.21.243/32 | 34.110.222.251/32 |
🔐 Authentication¶
In order to access the Reflexivity API, an end user must:
-
Acquire an OAuth access token
- Request their account
id
andsecret
from the Reflexivity back office. - Create an OAuth request. Example:
{ "client_id": "<account id>", "client_secret": "<account secret>" }
- Request an OAuth access token
Token is valid for 24h.$ curl -d ${OATH_REQUEST} -X POST https://${AUTH_ADDR}/oauth/token
Example request:
curl -d '{ "client_id": "<account id>", "client_secret": "<account secret>" }' -X POST https://auth.dev.rflx.co.uk/oauth/token
Example response:
{ "access_token": "eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOlsidG9nZ2xlLmFpIl0sImV4cCI6MTcxMTEwNzA2Mi4wNjY4NzY2LCJpYXQiOjE3MTEwMjA2NjIuMDY2ODc3NiwiaXNzIjoidG9nZ2xlLmFpIiwianRpIjoiYjgwZTZlYWEtMjBiYy00YzI1LTk0MDktYTIxOTNiNGU5NWFmIiwibmJmIjoxNzExMDIwNjYyLjA2Njg3NjYsInNjb3BlIjoiZmVlZDpHZXRBcnRpY2xlIGVudGl0eTpHZXRTbmFrZSBhbmFseXNpczpnZXRfY29tcGFzcyIsInNvdXJjZSI6MH0.cgoM-KU-bh-mEC4t9kaqbtBzvhl9AvD4ntlOk2wa7I6FtyFrAhrpxPYQ-T67WgJo4RafbxT7FOg5GtNc9cT91_A3djBPTAghgy2Su4jiRr8odjU41FLtGpeBWokli2SZ7v6sP31gEjQbAq4PdmnsY-GOSxp1y4ZHi7sIP67StS5sPkyGH4Q71e-k_tDy7oeBOLC4ctYJMLghms3CL8gkOgTKjNsqy6PDyRyUijoWFG5SaPCh9oQpirbjZSuXGIuOjz-EJzmO_Kcm5oRRabqaZe7pYX_gd1A9eu2jBmKKsDz9Kafw0D_fh5KYWwObcyGimH-xz1EVVEaN-kGYJrWFLg", "scope": "feed:GetArticle entity:GetSnake analysis:get_compass", "expires_in": 86400, "token_type": "Bearer" }
- Request their account
-
Include the access token in the HTTP Authorization header. Example:
The$ curl -H "Authorization: Bearer ${ACCESS_TOKEN}" -X GET ${API_ADDR}/${ENDPOINT}
ENDPOINT
s are detailed in the service documentation, specifically in the OpenAPI specifications.