The API has predictable resource-oriented URLs.
It uses standard HTTP verbs, accepts JSON-encoded request bodies, and returns JSON-encoded responses.
When you make a request to our API, you will receive a JSON-encoded response. This means that the data returned by our API will be formatted in a way that is easy to parse and use in your own applications. JSON-encoded responses are widely supported by programming languages and frameworks, making it easy to integrate our API into your own codebase.
Status Codes
Status codes are a standard way for HTTP APIs to indicate the outcome of a requested operation. When you make a request to an API, the server will typically respond with a status code that informs you whether the request was successful or not.
The following table defines the status codes you may receive from our API:
HTTP Status Code | Description |
---|---|
200 | Successful, with response data in JSON |
201 | Successful, with response data in JSON |
400 | Failure, there was a problem with the request |
401 | Failure, there was a problem with the authentication |
404 | Failure, the specified resource was not found |
422 | Failure, there was a problem with the provided payload |
451 | Failure, blocked jurisdiction. |
429 | Failure, the rate limit exceeded. |