Quickstart
Welcome to the APRO AI Oracle API. We provide a wide range of oracle data, including market data and news. All data undergoes distributed consensus to ensure its trustworthiness and immutability.
Getting Started
Contact Our BD Team Apply for API access through our Business Development team. We offer basic plans and higher-rate paid plans.
Test with Your API Key Use the code samples below to test your key and make API requests.
Integrate with Your Application After verifying your API key, explore this documentation to start building.
⚠️ Important: Always route your API calls through your own backend server to protect your API key.
🔐 API Authentication & Credit System
V1: No API key required.
V2: Requires
X-API-KEY
andX-API-SECRET
headers.
All API requests are subject to credit-based rate limiting. Each endpoint will indicate how many credits it consumes.
Base URL
TestNet: https://api-ai-oracle-test.apro.com MainNet:https://api-ai-oracle.apro.com
Making an API Request
To call the API, direct the request to the specified API method and attach the required parameters. For a complete reference of available API methods, see the APRO AI Oracle API v1 in the sidebar.
Example Using Axios in TypeScript
V1: Fetch Supported Currencies
import axios from 'axios'
function API() {
async function apiFunction() {
const res = await axios
// "Call URL", {configuration headers}
.get("https://api-ai-oracle-test.apro.com/v1/ticker/currencies/list?size=50&page=1")
.catch((error) => console.log(error))
console.log(res)
}
}
V2: Fetch Supported Currencies (with API key)
import axios from 'axios'
function API() {
async function apiFunction() {
const res = await axios
// "Call url", {configuration headers}
.get("https://api-ai-oracle.apro.com/v2/ticker/currencies/list?size=50&page=1",
{
headers: {
'X-API-KEY': 'YOUR_API_KEY',
'X-API-SECRET': 'YOUR_API_SECRET',
}
}
)
.catch((error) => console.log(error))
console.log(res)
}
}
Evaluating API Responses
Our API responses follow a standard response structure. Responses are returned in JSON format.
Last updated