Public nano_node RPC API for the NANO live network

This is a free node-as-a-service for easy access to the NANO network. You can use it for manual experiments, or integrate it for automated queries into your apps.
Unlike other RPC APIs, this one has almost all NANO RPC commands available, including the wallet commands. This API will also add decimal amounts to responses! For example, instead of "balance", it will show both raw "balance" and "balance_decimal". This makes development much easier, because many languages have trouble dealing with 128bit integers. Source code for modified node if you want to run your own.

For a list of RPC commands and parameters, see Nano Foundation's RPC documentation.

Specification

Limitations

Non-standard responses (list may be incomplete)

Future plans

Usage examples

HTTP GET:
http://api.nanex.cc/?action=account_info&account=nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3


HTTPS GET:
https://api.nanex.cc:443/?action=account_info&account=nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3


HTTP GET with a list:
http://api.nanex.cc/?action=accounts_pending&accounts[]=nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3[]=nano_3jwrszth46rk1mu7rmb4rhm54us8yg1gw3ipodftqtikf5yqdyr7471nsg1k


Tix wallet with custom node:
For custom installs, you can add the API to the URL: https://devwallet.linuxserver.io/#/api.nanex.cc. For the regular tixwallet.cc add https://api.nanex.cc on the settings page https://tixwallet.cc/#/node upon start.


POST JSON via HTTP CURL:
curl -g -d '{ "action": "account_info", "account": "nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3" }' 'http://api.nanex.cc:80'


POST JSON via HTTPS CURL:
curl -g -d '{ "action": "account_info", "account": "nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3" }' 'https://api.nanex.cc:443'


POST as application/x-www-form-urlencoded.
Header:

Host: api.nanex.cc:443
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en
Accept-Encoding: gzip, deflate
Pragma: no-cache
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

Body: action=account_info&account=nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3

Important to know

Non-HTTPS connection may be insecure for keys.

Storing private keys on the server is not a good idea for serious funds.

There is no uptime guarantee for this. Maintenance will not be scheduled.