Docs

CryptoMation API (v8.1.1)

Introduction

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

Quick Start Guide

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.

  1. Sign up for a free Developer Portal account. You can sign up at my.cryptomation.com - this is our live production environment with the latest market data. Select required networks. For cryptocurrency you can choose any network.
  2. Copy your API Key. Once you sign up you'll land on your Developer Portal account dashboard. Copy your API from the API Key box in the top left panel.
  3. Make a test call using your key. You may use the code examples provided below to make a test call with your programming language of choice.
  4. Implement your application. Now that you've confirmed your API Key is working, get familiar with the API by reading the rest of this API Reference and commence building your application!

Universal API

Universal API wallet. Get any information about your users.

Transaction by address.

Transactions information by address.

Example curl request: curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/transactions?network=polygon&apikey=API_KEY

path Parameters
address
required
string

Address for gettings balance

query Parameters
apikey
required
string

Your api_key

network
required
string
Default: "ethereum"
Enum: "eth" "ethereum" "polygon" "bsc" "near"

Network name

Responses

Response samples

Content type
application/json
{
  • "status": "OK",
  • "result": [
    ]
}

Balance of a given address.

Balance information by address.

Example curl request: curl https://api.cryptomation.com/wallet/0xdec0de7e6ed3ee7bb3a2c0baae7827d101d1ec20/balance?network=polygon&apikey=API_KEY

path Parameters
address
required
string

Address for gettings balance

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "result": "1877875075040749336",
  • "status": "OK"
}

Cryptocurrency

Cryptocurrency api

Exchange information

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

query Parameters
apikey
required
string

Your apikey

symbol
required
string
Example: symbol=BTC,ETH

Cryptocurrency symbols

convert
required
string
Example: convert=USD,EUR

Cryptocurrency convert symbols

Responses

Response samples

Content type
application/json
{
  • "result": "22.222",
  • "status": "OK"
}

GasStation

GasStation api

Gas price information

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

query Parameters
apikey
required
string

Your apikey

network
required
string
Default: "ethereum"
Enum: "eth" "ethereum" "polygon"

Network

Responses

Response samples

Content type
application/json
{
  • "result": {
    },
  • "status": "OK"
}

BSCScan API

API compatible with BSCScan services.

Transaction of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "status": "1",
  • "message": "OK",
  • "result": [
    ]
}

Balance of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "result": "1877875075040749336",
  • "status": "1",
  • "message": "OK"
}

EthScan API

API compatible with EthScan services.

Transaction of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "status": "1",
  • "message": "OK",
  • "result": [
    ]
}

Balance of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "result": "1877875075040749336",
  • "status": "1",
  • "message": "OK"
}

PolygonScan API

API compatible with PolygonScan services.

Transaction of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "status": "1",
  • "message": "OK",
  • "result": [
    ]
}

Balance of a given address.

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

query Parameters
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

Responses

Response samples

Content type
application/json
{
  • "result": "1877875075040749336",
  • "status": "1",
  • "message": "OK"
}

Introduction

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) .

GRPC Endpoint url

grpc.cryptomation.com:443

What methods are available?

  • getBalance - get balance of account in the network
  • getTransactions - get transactions of account in the network

How to use it?

  • First you need to create api keys for needed network here: 👉 CryptoMation/Console
  • Download proto file from this repository: 👉 CryptoMation/grpc-contract
  • Compile proto file with grpc compiler: 👉 protoc --go_out=plugins=grpc:. universal-api.proto