Skip to main content
Handle API responses from their status code and problem-details body. Do not treat a failed response as a successful result.

Handle the response

Read rate-limit and diagnostic headers

The rate-limit header values are ordered by second, minute, then day. Limits depend on your subscription, so read the response instead of hard-coding example values. Use curl --include while integrating to inspect both headers and the response body:
For token and data-access setup, see API tokens and data access. For endpoint-specific errors, use the generated API reference.