API Documentation

API Reference

/api/check_historic_node

Checks the status of a node based on the last crawl<br> result see /api/check_historical_node

Returns: json dict {"result":{"user_agent":"/Groestlcoin:2.17.2/", "version":" .... }}

/api/check_node

Checks the current status of a node. This is a live result, so response times will be longer - to view a saved<br> result see /api/check_historic_node.

Returns: json dict {"result":{"user_agent":"/Groestlcoin:2.17.2/", "version":" .... }, "nodes":[["127.0.0.1:1331, 157532132191], ...]}

/api/get_networks

Returns a list of all available network names

Returns: JSON string, ex. "['groestlcoin','testnet']"

/api/get_nodes

Gets a list of all nodes visible during the past 30 days

Returns: json array [{"address":"127.0.0.1" ... }, {"address":"0.0.0.0", "port:1331}]

/api/gzip_file/<filename>

Returns a crawl result as a gzipped response

Returns: gzip encoded html response

/api/node_history

Returns the data associated with a node, and all crawler visitations on record

Returns: json dict {"node":{"user_agent":"/Groestlcoin/", "last_seen": ... }, "history":{"timestamp":157032190321,"height":56000, "success":1 ...}}