The CryptoMation API is a suite of high-performance RESTful JSON endpoints that are specifically designed to meet the mission-critical demands of application developers, data scientists, and enterprise business platforms.
We support the following networks: etherium
, polygon
, near
, binance smart chain
, tron
This API reference includes all technical documentation developers need to integrate third-party applications and platforms.
Additional answers to common questions you could ask from our email or you could send Feature Request
For developers eager to hit the ground running with the CryptoMation API here are a few quick steps to make your first call with the API.
cryptocurrency
you can choose any network.API Key
box in the top left panel.Transactions information by address.
Example curl request:
curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/transactions?network=polygon&apikey=API_KEY
address required | string Address for gettings balance |
apikey required | string Your api_key |
network required | string Default: "ethereum" Enum: "eth" "ethereum" "polygon" "bsc" "near" Network name |
{- "status": "OK",
- "result": [
- {
- "blockNumber": "24741197",
- "timeStamp": "1644422471",
- "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
- "nonce": "0",
- "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
- "transactionIndex": "46",
- "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
- "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
- "value": "1000000000000000000",
- "gas": "21000",
- "gasPrice": "29214713675",
- "isError": "0",
- "txreceipt_status": "1",
- "input": "0x",
- "contractAddress": "",
- "cumulativeGasUsed": "5892989",
- "gasUsed": "21000",
- "confirmations": "5311365"
}
]
}
Balance information by address.
Example curl request:
curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/balance?network=polygon&apikey=API_KEY
address required | string Address for gettings balance |
apikey required | string Your api_key |
network required | string Default: "ethereum" Enum: "eth" "ethereum" "polygon" "bsc" "near" Network name |
format required | string Default: "wei" Enum: "gwai" "wei" Format result |
{- "result": "1877875075040749336",
- "status": "OK"
}
Get currency rate, help your project getting information about currency.
For example:
curl https://api.cryptomation.com/cryptocurrency/exchange?apikey=API_KEY&symbol=ETH&convert=USD
Also you could send not only symbols with currency, but also you could send symbol with currency and amount of currency:
For example:
curl https://api.cryptomation.com/cryptocurrency/exchange?apikey=API_KEY&symbol=10 ETH&convert=USD
apikey required | string Your apikey |
symbol required | string Example: symbol=BTC,ETH Cryptocurrency symbols |
convert required | string Example: convert=USD,EUR Cryptocurrency convert symbols |
{- "result": "22.222",
- "status": "OK"
}
Save on transactions and forget about thinking gas pricing during creating transaction
For example:
curl https://api.cryptomation.com/gasstation/?apikey=API_KEY&network=eth
apikey required | string Your apikey |
network required | string Default: "ethereum" Enum: "eth" "ethereum" "polygon" Network |
{- "result": {
- "safeLow": 27,
- "standard": 30,
- "fast": 36,
- "fastest": 39,
- "network": "ethereum"
}, - "status": "OK"
}
Transaction information API compatible with BSCScan.
Example curl request:
curl https://api.cryptomation.com/scan/bsc?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "status": "1",
- "message": "OK",
- "result": [
- {
- "blockNumber": "24741197",
- "timeStamp": "1644422471",
- "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
- "nonce": "0",
- "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
- "transactionIndex": "46",
- "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
- "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
- "value": "1000000000000000000",
- "gas": "21000",
- "gasPrice": "29214713675",
- "isError": "0",
- "txreceipt_status": "1",
- "input": "0x",
- "contractAddress": "",
- "cumulativeGasUsed": "5892989",
- "gasUsed": "21000",
- "confirmations": "5311365"
}
]
}
Balance information by address.
Example curl request:
curl https://api.cryptomation.com/scan/bsc?apikey=API_KEY&module=account&action=balance&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "result": "1877875075040749336",
- "status": "1",
- "message": "OK"
}
Transaction information API compatible with PolygonScan.
Example curl request:
curl https://api.cryptomation.com/scan/eth?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "status": "1",
- "message": "OK",
- "result": [
- {
- "blockNumber": "24741197",
- "timeStamp": "1644422471",
- "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
- "nonce": "0",
- "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
- "transactionIndex": "46",
- "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
- "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
- "value": "1000000000000000000",
- "gas": "21000",
- "gasPrice": "29214713675",
- "isError": "0",
- "txreceipt_status": "1",
- "input": "0x",
- "contractAddress": "",
- "cumulativeGasUsed": "5892989",
- "gasUsed": "21000",
- "confirmations": "5311365"
}
]
}
Balance information by address.
Example curl request:
curl https://api.cryptomation.com/scan/eth?apikey=API_KEY&module=account&action=balance&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "result": "1877875075040749336",
- "status": "1",
- "message": "OK"
}
Transaction information API compatible with PolygonScan.
Example curl request:
curl https://api.cryptomation.com/scan/polygon?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "status": "1",
- "message": "OK",
- "result": [
- {
- "blockNumber": "24741197",
- "timeStamp": "1644422471",
- "hash": "0x43d539e31a8671b98e4867d613234c2e9fadeece989939d46428c8ecfbb2101f",
- "nonce": "0",
- "blockHash": "0x928706113f3e304c3beae06d1cfd13cb26a0bfb80d0a4ae795d2971752f33811",
- "transactionIndex": "46",
- "from": "0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20",
- "to": "0x25cbd58702f9976d1be6af14e33a5875176762d2",
- "value": "1000000000000000000",
- "gas": "21000",
- "gasPrice": "29214713675",
- "isError": "0",
- "txreceipt_status": "1",
- "input": "0x",
- "contractAddress": "",
- "cumulativeGasUsed": "5892989",
- "gasUsed": "21000",
- "confirmations": "5311365"
}
]
}
Balance information by address.
Example curl request:
curl https://api.cryptomation.com/scan/polygon?apikey=API_KEY&module=account&action=balance&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20
object (ScanRequest) | |
apikey required | any Your api_key |
module required | string Default: "account" Enum: "account" "transaction" account |
address required | any the string representing the address to check for balance |
tag | string the string pre-defined block parameter, either earliest, pending or latest |
{- "result": "1877875075040749336",
- "status": "1",
- "message": "OK"
}
gRPC is a cross-platform open source high performance Remote Procedure Call (RPC) framework. gRPC was initially created by Google, which has used a single general-purpose RPC infrastructure called Stubby to connect the large number of microservices running within and across its data centers for over a decade.
⚠ We support grpc API for getting cryptodata from multiple networks ( etherium
, polygon
, near
, binance smart chain
, tron
) .
getBalance
- get balance of account in the networkgetTransactions
- get transactions of account in the networkprotoc --go_out=plugins=grpc:. universal-api.proto