Page cover

API Reference

Reference for Dollar Infinite's REST API (if/when publicly available).

Current Note (February 2026): The whitepaper doesn't document public endpoints yet. This section is a placeholder for future API. Meanwhile, interact directly via smart contracts (see Smart Contract Documentation).

Base URL (planned)

https://api.dollarinfinite.com/v1

Authentication (planned)

  • Header: X-API-Key: your-key-generated-in-dashboard

  • Or via wallet signature (EIP-712) for authenticated endpoints

Main Endpoints (hypothetical examples based on project)

GET /pool/stats

Returns global USDT Pool statistics.

Response Example (JSON):

json

{
  "success": true,
  "data": {
    "tvl_usdt": "1250000.50",
    "active_users": 1520,
    "current_apy_average": "0.72",
    "total_yields_paid": "85000.75",
    "bot_success_rate": "99.7",
    "bot_total_operations": 26000,
    "last_updated": "2026-02-02T22:00:00Z"
  }
}

GET /user/:address/positions

Returns user's active positions (requires authentication via signature).

Response Example:

json

GET /affiliate/:address/commissions

Returns pending commissions balance and history.

Response Example:

json

GET /bot/performance

AI Bot statistics.

Response Example:

json

Rate Limits (planned)

  • 100 requests/min per IP

  • 500 requests/min per authenticated API Key

Future SDKs

  • JavaScript/TypeScript SDK planned (@dollarinfinite/sdk)

  • Future example: npm install @dollarinfinite/sdk

Current Status: No documented public API yet. Use direct contract calls via web3/ethers.js.

Suggestion: If you need real-time data, check the dashboard or BSCScan directly until API is launched.

β†’ Next: Integration Guide

Last updated