Quick Start

It's very easy for you to use APIs, let's get started

Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

You can generate an API key at any time.

To create an API key:

  1. Sign up in offical website and go to the API keys section.

  2. Click Create API.

  3. Select a blockchian and type in a name for the key and click Create.

  4. Copy or write down the created API key.

Blockchain API Endpoint

https://api.data123.io/<BLOCKCHAIN>/<API KEY>/<VERSION>

BLOCKCHAIN: Aleo, Filecoin, ethereum .......

NETWORK: mainnet, testnet

Take a look at how you might call this method of Aleo via curl:

REST:

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/transaction/at1td9klwgpevhgqcpfd5tvu88pv67uajugnxqysd93w40kx8na2cyq8qh3ls

JSON-RPC:

curl https://api.data123.io/aleo/<API KEY>/rpc/v1/testnet3 \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"getTransaction","params":['at1td9klwgpevhgqcpfd5tvu88pv67uajugnxqysd93w40kx8na2
cyq8qh3ls'],"id":1}' 

Last updated