/}

Otomate Data API

v2

Real-time Hyperliquid trader analytics, market sentiment, technical indicators, and cohort intelligence. Pay-per-request in USDC via the x402 protocol — no subscription, no API keys.

10 endpointsUSDC on BaseAI-agent native60 req/min

How x402 Works

1

Request

Make a GET request to any endpoint. If no payment is attached, you get a 402 response with payment instructions.

2

Pay

Send USDC on Base to the facilitator. x402 client libraries handle this automatically.

3

Receive

Retry with the payment receipt in the X-PAYMENT header. Data is returned instantly.

Quick Start

import { wrapAxiosWithPayment, x402Client } from "@x402/axios";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
import axios from "axios";

const signer = createWalletClient({
  account: privateKeyToAccount(process.env.PRIVATE_KEY),
  chain: base,
  transport: http(),
});

const client = new x402Client();
registerExactEvmScheme(client, { signer });

const api = wrapAxiosWithPayment(
  axios.create({ baseURL: "https://api.otomate.trade/api/v1" }),
  client
);

// Automatically handles 402 → pay USDC → retry
const whales = await api.get("/leaderboard?sort=equity&cohort=WHALE&limit=10");
const btcSentiment = await api.get("/market/sentiment?coin=BTC");
const indicators = await api.get("/indicators/BTC");
const fundingHistory = await api.get("/funding-rates/history?symbol=BTC-PERP&hours=48");

Install: npm install @x402/axios @x402/evm viem axios (TypeScript) or pip install x402 (Python)

Pricing

$0.005
Wallet lookup
$0.01
Leaderboard / Indicators / Trades
$0.02
Cohort Bias
$0
No subscription

Settlement: USDC on Base mainnet. Facilitated by x402.org.

Endpoints

Base URL: https://api.otomate.trade/api/v1

Error Codes

All errors return a structured JSON body with a machine-readable code and human-readable message. Some errors include a details object with valid values.

CodeStatusDescription
INVALID_ADDRESS400Address must be 0x followed by 40 hex characters
WALLET_NOT_FOUND404No wallet data found for this address
INVALID_SORT400Invalid sort parameter — returns valid options in details
INVALID_COHORT400Invalid cohort tier — returns valid tiers in details
INVALID_TIMEFRAME400Invalid timeframe — valid: 1d, 7d, 30d, 90d
INVALID_ASSET400Unsupported asset — valid: BTC, ETH, SOL
TRADER_NOT_FOUND404No trader data found for this address
DATA_NOT_READY503Data not yet computed — retry in 30 seconds
RATE_LIMIT_EXCEEDED429Too many requests — limit: 60/min
INTERNAL_ERROR500Unexpected server error

Error Response Format

{
  "error": {
    "code": "INVALID_SORT",
    "message": "Invalid sort parameter: xyz",
    "details": { "validValues": ["score", "pnl", "roi", "equity", "..."] }
  }
}

Rate Limiting

60
requests / minute
Per IP address
No API key needed
Standard headers
RFC 6585 compliant

Response Headers

RateLimit-Limit— Max requests per window (60)
RateLimit-Remaining— Requests left in current window
RateLimit-Reset— Seconds until window resets

Data Freshness

Cached endpoints include a meta.cache object with TTL and source. Non-cached endpoints query the database directly.

EndpointTTLSource
/indicators/:asset60sRedis
/market/sentiment10 minRedis
/market/cohort-bias30 minRedis
/wallets, /leaderboardNoneDB
/funding-rates/historyNoneDB
/wallets/:address/tradesNoneDB

Data Coverage

Per-Wallet Metrics (25+)

  • Composite score (0-10) with Sharpe & Sortino ratios
  • PnL: 1d, 7d, 30d, all-time, unrealized
  • ROI: 1d, 7d, 30d, 90d
  • Win rate, profit factor, max drawdown
  • Equity, margin used, positions snapshot
  • Cohort classification, avg daily PnL
  • Avg hold time, avg trade size, avg leverage
  • Copiers count, favorites count
  • Top coins, trade count, equity history
  • Recent trade history with fills

Market-Level Analytics

  • Per-coin long/short ratio & total open interest
  • Average leverage by direction
  • Cohort bias: what whales are trading and which direction
  • Global network stats: wallets, equity, volume
  • Cohort distribution (Shrimp → Leviathan)
  • Live whale activity feed with positions
  • Technical indicators: RSI, EMA, MACD, SMA
  • Historical funding rates with annualized APY

AI Agent Integration

FREE

Two free discovery endpoints let AI agents (OpenClaw, LangChain, CrewAI, ChatGPT plugins, etc.) auto-discover and integrate the Otomate Data API without any payment or authentication.

GET/api/v1/openapi.jsonNo payment required

Full OpenAPI 3.1 specification — all 10 endpoints, parameters, response schemas, and x402 payment info. Feed this URL directly to any LLM or agent framework for automatic tool generation.

curl https://api.otomate.trade/api/v1/openapi.json
GET/.well-known/ai-plugin.jsonNo payment required

AI plugin manifest following the standard /.well-known/ convention. Declares the API name, capabilities, auth method (none — x402 handles payment), and links to the OpenAPI spec.

curl https://api.otomate.trade/.well-known/ai-plugin.json

Agent Quick Start

# 1. Discover the API (free — no payment needed)
spec=$(curl -s https://api.otomate.trade/api/v1/openapi.json)

# 2. Feed to your agent framework
#    - OpenClaw: register as external tool via OpenAPI URL
#    - LangChain: OpenAPIToolkit.from_openapi_spec(spec)
#    - CrewAI: add as tool with OpenAPI schema
#    - ChatGPT: use /.well-known/ai-plugin.json for plugin discovery

# 3. Agent calls endpoints — x402 handles payment automatically
#    Agent wallet needs USDC on Base (< $0.02 per request)

Cohort Tiers

SHRIMP
< $1K
FISH
$1K–$10K
DOLPHIN
$10K–$50K
WHALE
$50K–$500K
LEVIATHAN
> $500K

Built by Otomate. Powered by x402 + USDC on Base.

PointsPortfolio