Quick Start Guide

For developers eager to hit the ground running with the Cryptoracle Open API, here are a few quick steps to make your first call:

  1. Obtain API access credentials Request the following key information via email (prddev@cryptoracle.network):

    • apiKey: A 32-character string serving as the API access identifier, to be used in the X-API-KEY field of the request header.

  2. Call API test Use the code samples we provide to initiate a test request in your local environment. Please make sure to replace the placeholders in the sample with your own key information to verify whether the API responds correctly.

  3. Integrate into your application After successfully completing the test, you can start building your application logic according to the detailed instructions in this API documentation. Familiarizing yourself with the functions and parameter structures of each API will help you use the service more efficiently.

  4. Flexible combination of indicator calls According to business needs, freely combine different APIs or indicators to achieve customized data query and analysis functions.

Note: Currently, CORS configuration prohibits using JavaScript on the client side to make HTTP requests. Do not hardcode keys in client-side code; they must be stored through backend environment variables or key management services.

View Quick Start Code Examples

curl command line

curl -X POST "https://service.cryptoracle.network/openapi/v2/endpoint" \
  -H "X-API-KEY: 711457e5-ef55-44b6-badc-9c45981eefe8" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoints": ["CO-A-02-01", "CO-A-02-02"],
    "startTime": "2025-05-01 00:00:00",
    "endTime": "2025-05-01 23:59:59",
    "timeType": "1d",
    "token": ["BTC", "ETH"]
  }'

Python

Java

Node.js

PHP

Go

C#


最后更新于