Monero (XMR)

Monerod's API is split up in normal HTTP routes and a JSON-RPC endpoint. Most methods are available on one but not on the other, so in most cases both will be used

C49_API_KEY=INSERT_YOUR_KEY_HERE

# /json_rpc example
curl https://rpc.chain49.com/monero/json_rpc \
 -d '{"jsonrpc":"2.0","id":"0","method":"getblockheaderbyheight","params":{"height":912345}}' \
 -H 'Content-Type: application/json' \
 -H 'X-API-Key: '$C49_API_KEY

# HTTP POST example
curl https://rpc.chain49.com/monero/get_transactions \
 -d '{"txs_hashes":["d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408"]}' \
 -H 'X-API-Key: '$C49_API_KEY

Detailed documentation for each method can be found in the official docs here: https://www.getmonero.org/resources/developer-guides/daemon-rpc.html

Here is a list of all allowed methods (Monerod runs in restricted mode but no further method white/blacklisting is done)

HTTP MethodsJSON-RPC (/json_rpc)
/json_rpcgetblockcount / get_block_count
/getblocks.bin & /get_blocks.binon_getblockhash / on_get_block_hash
/getblocks_by_height.bin & /get_blocks_by_height.bingetblocktemplate / get_block_template
/gethashes.bin & /get_hashes.binget_miner_data
/get_o_indexes.binsubmitblock / submit_block
/get_outs.bingetlastblockheader / get_last_block_header
/gettransactions & /get_transactionsgetblockheaderbyhash / get_block_header_by_hash
/get_alt_blocks_hashesgetblockheaderbyheight / get_block_header_by_height
/is_key_image_spentgetblockheadersrange / get_block_headers_range
/sendrawtransaction & /send_raw_transactiongetblock / get_block
/get_public_nodesadd_aux_pow
/get_transaction_poolget_info
/get_transaction_pool_hashes.binhard_fork_info
/get_transaction_pool_hashesget_output_histogram
/get_transaction_pool_statsget_version
/getinfo & /get_infoget_fee_estimate
/get_limitget_txpool_backlog
/get_outsget_output_distribution
/get_output_distribution.binrpc_access_info
/getheightrpc_access_submit_nonce
rpc_access_pay