Blog

  1. Blog
  2. Alternative EtherScan API
šŸ—“ Mar 07, 2023 | šŸ•‘ 4 min

Alternative EtherScan API

If you're currently using the EtherScan API but need a more feature-rich alternative, consider using CryptoMation. We provide a straightforward way to migrate to our facilities while offering full response compatibility.

Our API fully supports EtherScan API and other networks. Additionally, we recommend using our Universal API for new projects, as it is more versatile and supports standard code errors.

How to Get a Transaction List like EtherScan API

Note: You can find the data schema and API description on our docs: EtherScan Compatibility API.

Root link: https://api.cryptomation.com/scan/eth

Example request for getting transactions:

curl https://api.cryptomation.com/scan/eth?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
copy

Response:

{
  "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"
    }
  ]
}
copy

How get transaction list like ethScan

āš ļø You can find the data schema and API description on our docs: EthScan Compatibility API.

Root link: https://api.cryptomation.com/scan/eth

Example request for getting transactions:

curl https://api.cryptomation.com/scan/eth?apikey=API_KEY&module=account&action=txlist&tag=latest&address=0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20&page=1&offset=100
copy

Response:

{
  "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"
    }
  ]
}
copy

More info?

Much more info about our API method you could found on our docs!


Ready to get started?

Our api help your project gain easy access to a sea of crypto data.

If you want to try our Universal API, please enter your email or login from Google Gmail:

Continue with