跳到主要内容

Statistics

Get Total Supply of XCH

This endpoint retrieves the total supply of XCH currently in circulation.

Endpoint

GET https://api.spacescan.io/stats/total-supply

Parameters

ParameterTypeDescription
networkstringOptional. Possible values: mainnet, testnet10
VersionnumberOptional. Defaults to 1

Live API Test

🚀 Test API in Browser

Request Example

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
supplystringThe total supply of XCH in circulation

Get XCH Price

This endpoint retrieves the current price of XCH in the specified currency.

Endpoint

GET https://api.spacescan.io/stats/price

Parameters

ParameterTypeDescription
curstringRequired. Currency symbol (e.g., USD)
networkstringOptional. Possible values: mainnet, testnet10
VersionnumberOptional. Defaults to 1

Live API Test

🚀 Test API in Browser

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
pricestringThe current price of XCH in the specified currency

Get Chia Blockchain Netspace

This endpoint retrieves the current netspace of the Chia blockchain.

Endpoint

GET https://api.spacescan.io/stats/netspace

Parameters

ParameterTypeDescription
metricsstringRequired. The unit for netspace (e.g., Eib, Pib, Tib)
networkstringOptional. Possible values: mainnet, testnet10
VersionnumberOptional. Defaults to 1

Live API Test

🚀 Test API in Browser

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
netspacestringThe current netspace in the specified unit

Notes

  • The authkey parameter is no longer required for these endpoints.
  • The network parameter is optional and defaults to mainnet.
  • The Version parameter is optional and defaults to 1.

For any additional information or support, please contact our API support team or refer to our comprehensive API documentation.