CoinRebate API v4.0

Free crypto exchange fee optimization API for AI agents and developers.FREENO AUTH

Base URL: https://www.coinrebate.vip
OpenAPI Spec: /openapi.json · Health: /api/v4/health · LLMs: /.well-known/llms.txt

Endpoints

Fee Router

GET /api/v4/agent-route

Returns fee discount data for all supported exchanges with a smart recommendation.

ParameterTypeDescription
purposestringfutures or spot — sort by best fit
kycstringfalse — only return DEX (no KYC required)
exchangestringReturn single exchange, e.g. binance

Health Check

GET /api/v4/health

Returns service status. Use before integrating to verify availability.

Quick Start

curl

curl https://www.coinrebate.vip/api/v4/agent-route

# AI-only (no KYC)
curl https://www.coinrebate.vip/api/v4/agent-route?kyc=false

# Best for futures trading
curl https://www.coinrebate.vip/api/v4/agent-route?purpose=futures

Python

import requests

data = requests.get("https://www.coinrebate.vip/api/v4/agent-route").json()
best = data["recommended"]

print(f"Exchange: {best['exchange']}")
print(f"CCXT ID:  {best['ccxt_id']}")
print(f"Code:     {best['referral_code']}")
print(f"Discount: {best['fee_discount']}")

# Use with CCXT
import ccxt
exchange = getattr(ccxt, best["ccxt_id"])({
    "options": {"defaultType": "swap"}
})
print(f"Connected to {exchange.id}")

TypeScript

const res = await fetch("https://www.coinrebate.vip/api/v4/agent-route?kyc=false");
const { recommended } = await res.json();

console.log(`Use ${recommended.exchange} (${recommended.ccxt_id})`);
console.log(`Referral: ${recommended.referral_code}`);

Response Format

{
  "version": "4.0",
  "disclaimer": "NFA. Fee comparison only.",
  "recommended": {
    "exchange": "Hyperliquid",
    "type": "DEX",
    "ccxt_id": "hyperliquid",
    "fee_discount": "Points Boost",
    "referral_code": "LULALA",
    "signup_url": "https://www.coinrebate.vip/go/hyperliquid",
    "kyc_required": false,
    "reason": "No KYC, zero gas — ideal for AI agents"
  },
  "all_exchanges": [ ... ]
}

Rate Limits

50 requests per IP per 10 seconds. Exceeding returns 429 Too Many Requests with a retryAfter field (seconds).

Supported Exchanges

ExchangeTypeDiscountCCXT IDKYC
BinanceCEX20% OFFbinanceYes
OKXCEX20% OFFokxYes
BybitCEX20% OFFbybitYes
BitgetCEX20% OFFbitgetYes
Gate.ioCEX30% OFFgateioYes
HyperliquidDEXPoints BoosthyperliquidNo ✨
AsterDEX10% RebateNo
💡 For AI Agents: Hyperliquid requires no KYC — generate a wallet and start trading immediately. Ideal for automated and programmatic trading.