What is RESTful API?

What is RESTful API?

A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. A RESTful API is based on representational state transfer (REST) technology, an architectural style, and approach to communications often used in web services development.

arrow Overview

The Apirone bitcoin REST API uses HTTP methods and a RESTful endpoint structure.
You have to format requests in JSON and the APIs return JSON-formatted responses.

All requests over secure HTTPS protocol only.

To construct a REST call, combine:
  • The HTTP method
  • The full URI to the resource
  • HTTP headers, if required
  • The JSON-formatted payload, if required

The REST API endpoint URL: https://apirone.com/api/

arrow Errors

Apirone uses standard HTTP status codes when returning errors.
Additionally, we provide details about errors in the body of the response.

arrow HTTP status codes:

200 Request successfully executed. Success.
400 Bad Request. Invalid request format.
401 Unauthorized request. Invalid API Key.
402 Failed request. We had a problem with our API.
403 Forbidden. You do not have access to the requested resource.
404 Not Found. API not found.
50x Internal Server Error. We had a problem with our server .