API Documentation

Build powerful applications with our comprehensive API platform

Getting Started

Welcome to the Root Digit API. Our RESTful API provides programmatic access to our AI, blockchain, and robotics platforms.

Base URL

https://api.rootdigit.com/v1

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

API Endpoints

GET/api/v1/blockchain/balance

Get wallet balance and transaction history

POST/api/v1/ai/predict

Run AI predictions on your data

POST/api/v1/robotics/control

Send control commands to robotic systems

GET/api/v1/analytics/report

Generate comprehensive analytics reports

Code Examples

JavaScript

const response = await fetch('https://api.rootdigit.com/v1/blockchain/balance', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    'https://api.rootdigit.com/v1/blockchain/balance',
    headers={
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
    }
)

data = response.json()
print(data)

cURL

curl -X GET https://api.rootdigit.com/v1/blockchain/balance \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Rate Limits

Default Rate Limits

  • • Free tier: 100 requests per hour
  • • Starter: 1,000 requests per hour
  • • Professional: 10,000 requests per hour
  • • Enterprise: Custom limits

Error Handling

The API uses standard HTTP response codes to indicate success or failure:

200Success
400Bad Request
401Unauthorized
429Rate Limit Exceeded
500Internal Server Error

Cookie Policy

We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. You can also choose "Necessary Only" to limit cookies to essential website functions only. Learn more