API Documentation

We have released a new API version! Select v1 to see the old version.

Authentication

Authentication

Private

You can find your API Key(s) on your Account API Access Keys page.

You must include a valid API Key with every request in-order to access to the API.

If your API Key is not authorized, a status code of 401 will be returned.

Language SDK Authentication

Use your API Key according to the SDK documentation and code examples on Github.

Select one of the Language SDKs for more information.

URL Parameter Authentication

Simply include your API Key in the HTTPS request by specifying an api_key URL parameter set to the value of your API Key.

For example:

https://api-v2.intrinio.com/securities/AAPL/prices?api_key={{base64_encoded_api_key}} https://api-v2.intrinio.com/securities/AAPL/prices?api_key=OjA1ZTFiNGZiN2U4Y2JlNjAwNzE0OGQ4YjM2YTFmNjRk

* Showing your API Key.
* Example API Key is not valid.



Authorization Header Authentication

Include your API Key in the HTTPS request by specifying an Authorization header with the value:

Bearer [API_KEY]

Simply replace [API_KEY] with your valid API Key.

For example:

Authorization: Bearer {{base64_encoded_api_key}} Authorization: Bearer OjA1ZTFiNGZiN2U4Y2JlNjAwNzE0OGQ4YjM2YTFmNjRk

* Showing your API Key.
* Example API Key is not valid.



Public

For public/untrusted environments (such as client-side JavaScript), use our public key authentication over HTTPS.

You can create a Public Access Key on your Account Access Keys page. Make sure to specify all domains from which this key may be used. Any domain not listed will be rejected by the API. For development purposes, localhost is listed as a domain by default. Make sure to delete this domain before going to production.

To include a public key in your HTTPS request, specify it as the value of an X-Authorization-Public-Key header.

If your public key is not authorized, a status code of 401 will be returned.