The Insights API is protected by access tokens. To request an access token, you will need both your client_id
and client_secret
. The Bearer token must then be included in any API request Authorization
headers.
Key | Value | Required |
---|---|---|
client_id | {your_client_id} | Yes |
client_secret | {your_client_secret} | Yes |
grant_type | 'client_credentials' | Yes |
This request will return a collection of personalized financial content for a user. For this example, we will be requesting Benzinga news, but we have a range of different data sources including Twitter and FxStreet. The items are returned sorted by event date, with the most recent headlines appearing first.
Key | Value | Required |
---|---|---|
datasources | ['Benzinga'] | Yes |