contact: hello@chiaprofitability.com

Get started

API Endpoint :

=> https://api.chiaprofitability.com/
                

The Chia Network™ API provides programmatic access to Chia (XCH) Blockchain data. The API is free to use. The API endpoint is CORS enabled. Please note that you should not make more than 30 calls per minute to the API.

The API is only accessible through HTTPS (any HTTP request will automatically be rerouted to HTTPS). Make sure that your application supports SSL before sending any request or an error will occur.

get chia netspace


Request :

=> https://api.chiaprofitability.com/netspace

Result :

{
	"success": true, 
	"daychange": 9.0721360205706, 
	"netspace": 9994249371279570000, 
	"timestamp": 1621632751
}
                

Returns the total storage space allocated to Chia Network™.

API endpoint:
https://api.chiaprofitability.com/netspace


OUTPUT

Field Type Description
success Boolean "true" if the request went through, "false" if an error occurred.
daychange Float 24h netspace change in percent.
netspace Integer total Chia netspace in bytes.
timestamp Integer last update time.

get chia market data


Request :

=> https://api.chiaprofitability.com/market

Result :

{
	"success": true, 
	"price": 837.72, 
	"daymin": 780.99513209247, 
	"daymax": 887.04656339911, 
	"daychange": 5.000477486511, 
	"timestamp": 1621718603
}
                

Returns Chia (XCH) market data.

API endpoint:
https://api.chiaprofitability.com/market


OUTPUT

Field Type Description
success Boolean "true" if the request went through, "false" if an error occurred.
price Float current Chia (XCH) price in $USD.
daymin Float lowest Chia (XCH) price from the last 24h in $USD.
daymax Float highest Chia (XCH) price from the last 24h in $USD.
daychange Float 24h price change in percent.
timestamp Integer last update time.