📔
Blockchain API guides
  • Welcome to Data123 Documents!
  • Quick Start
  • Reference
    • API Reference
      • Aleo
        • RPC Methods
          • Latest Height
          • Latest Hash
          • Latest Block
          • Latest State Root
          • Get Block
          • Get Blocks
          • Get Block Transactions
          • Get Transaction
          • Get Confirmed Transaction
          • Get Memory pool Transactions
          • Get Progrem
          • Get Mapping Names
          • Get Mapping Value
          • Get State Path For Commitment
          • Find Block Hash
          • Find Transaction ID From Program ID
          • Find Transaction ID From Transition ID
          • Find Transition ID
          • Get Environment Info
          • Transaction Broadcast
      • Drand
        • JSON-RPC Methods
      • Filecoin
        • JSON-RPC Methods
      • Ethereum
        • JSON-RPC Methods
      • Starknet
Powered by GitBook
On this page
  • Get your API keys
  • Blockchain API Endpoint

Quick Start

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

PreviousWelcome to Data123 Documents!NextAPI Reference

Last updated 1 year ago

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}'