Client Experience Specification
The CORE API provides separate endpoints for risk ratings, updates, incidents and country profiles to enable you to integrate our data with your own applications. API response can be filtered and sorted by metadata and is available in a variety of formats.
Try it out!
In this page you can browse the endpoints, parameters, as well as try out any endpoint with example responses without any credentials (authorization header is required but not validated)
Before using the CORE API you need to get your API credentials (client id and secret). Contact firstname.lastname@example.org for more information.
Once you get your credentials, you can get an access token making the following request:
curl -X GET \ https://login.microsoftonline.com/eeb14196-63dc-45aa-ac42-0a4583b12590/oauth2/v2.0/token \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'client_id=<YOUR-CLIENT-ID>&client_secret=<YOUR-CLIENT-SECRET>&grant_type=client_credentials&scope=https://api.controlrisks.com/.default'
After you get your access token you can hit any api endpoint by including an Authorization header, for example:
curl -X GET \ 'https://api.controlrisks.com/client-exp/api/riskRatings?language=en' \ -H 'Authorization: Bearer <YOUR-ACCESS-TOKEN>'