Cryptocurrency Content API

CryptoRTP’s JSON API allows you to retrieve and manipulate business login content using HTTP requests.

There are two main goals:

Provide a simple, consistent external interface who retrieving cryptocurrency content.
Create a stable, understandable internal implementation of blockchain news.

Status: OK
Version: 1.1.0
Controller: Core

Requests use a simple REST-style HTTP GET or POST. To invoke the API, include a non-empty query value for json in the URL.

CryptoRTP’s JSON API operates in two modes:

Implicit mode is triggered by setting the JSON query var to a non-empty value on any page. The content that would normally appear on that page is returned in JSON format.

Explicit mode is triggered by setting JSON to a known method string. Request methods for a complete method listing.

Implicit mode examples:

https://cryptortp.com/?json=1
https://cryptortp.com/?p=40;json=1
https://cryptortp.comtag/lookup/?json=1

Explicit mode examples:

https://cryptortp.com/?json=get_recent_posts
https://cryptortp.com/?json=get_tag_posts&tag_slug=ethereum

User-friendly:

https://cryptortp.com/api/get_recent_posts/
https://cryptortp.com/api/get_post/?post_id=40
https://cryptortp.com/api/get_tag_posts/?tag_slug=ethereum

The 1.0 release of the CryptoRTP’s JSON API introduces a modular cryptocurrency news controller system. This allows developers and publishers flexibly to add features to their own application and content, and give users more control over which methods they have enabled.