Skip to main content
Our API supports JSONP (JavaScript Object Notation with Padding) callbacks. Add the callback parameter with a valid JavaScript function name and the JSON response is wrapped for use in cross-domain scripts. JSONP works with the JSON format only. Example request (API v2):
Send your API key with Authorization: Bearer <api_key> on the request. JSONP does not replace Bearer authentication on v2.

Sample response

The browser receives executable JavaScript. With API v2, the payload uses the standard success envelope and nested data object: