Authentication

To access the Ungage API and initiate requests successfully, you'll need to reference your API Token with each API call you make to our servers. Your API Token serves as a unique identifier, allowing our system to authenticate and authorize your requests.

RECOMMENDED METHOD ↓
Adding an Authorization Header to the Request

The recommended way to authenticate your API requests is to pass an Authorization Header to the request. An example of this is shown below using cURL:

Example cURL Request using Query String ↓

curl https://api.ungage.io/v1/marketdata/stocks \
  -H "Authorization: Bearer {token}"

SECONDARY METHOD ↓
Passing the Token in a Query String

If you're unable to provide an Authorization Header, you can also pass your API key in the query string as follows:

Example cURL Request using Authorization Header ↓

curl https://api.ungage.io/v1/marketdata/stocks?ungageToken={token}