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:

200OK.The request is successful.
400Bad Request.The request contains an invalid parameter or value
401Unauthorized.Authentication credentials were missing or invalid.
404Not Found.The requested resource could not be found.
409Conflict.The operation was aborted due to a conflict.
429Too Many Request.Too many requests were sent in a given period of time. Retry the request after some delay.
500Internal Server Error.Internal Server Error.
503Service Unavailable.The server is currently unavailable.