Blockchain network API

  • Description
  • API endpoint
  • Request limits
  • Nodes
    • get Nodes statistics
    • get Node list
  • Mempool
    • get Transaction statistics

Blockchain network API

version 1

Network state, mining difficulty and hashrate. Mining pull distribution. Information about nodes, unconfirmed transactions and unconfirmed pool statistics. Reasonable transaction fee rate, calculated from last blocks and mempool state.

API endpoint

For all supported cryptocurrencies, APIs are available for Mainnet, Testnet, and the Tor network. For testnet networks available coins faucet and explorers.

Mainnet URL: https://api.bitaps.com/{currency}/v1/
Testnet URL: https://api.bitaps.com/{currency}/testnet/v1/
Tor Mainnet URL: http://bitaps4nifcusilt.onion/{currency}/v1/

Available currency value: btc, ltc.

Request limits

For API, restrictions of requests by IP addresses apply. Standard limit 15 requests within 5 seconds for a single IP address. If you need more requests, then you need to purchase an API token. For questions about obtaining a token API, contact support@bitaps.com. If the limit is exceeded, a page with the status 429 to many requests is given in response to the request. If an error is received, you should wait for the time limit to be restored, otherwise the IP address will be blocked for 3 minutes. The current status of the limits can be found in the response headers Ratelimit-Remaining and Ratelimit-Reset .

Nodes

Nodes statistics
get /nodes/statistic
Information on the number of detected nodes on IPv4, IPv6 and Tor networks in the last 30 minutes. Distribution across countries, user agents and block heights.
Responses
application/json
200
data
object
required
   network
object
IPv4, IPv6 and Tor network statistics
required
   country
object
Country statistics
optional
   agent
object
User agent statistics
optional
   height
object
Blockchain height statistics
optional
time
integer
Request time
required
Node list
get /nodes/list
List of detected nodes in the last 30 minutes.
Responses
application/json
200
data
array
Node list
required
time
integer
Request time
required

Mempool

Transaction statistics
get /mempool/transactions
Responses
application/json
200
data
object
required
   transactions
array
Last 100 transactions
required
   statistics
object
Transaction statistics
required
time
integer
Request time
required