CoinRebate
Developer tools · REST / MCP / CLI

Integration guide for people

One entry point for CoinRebate

Choose the interface you already use to check exchange fees, costs after rebate, and country availability. Each path works on its own.

Need machine-readable context for an AI? Open the AI Agent portal

Live data

Live AI data

Every number comes from existing telemetry. Tool calls show their measurement start date, and verified visits stay separate from observed traffic.

Loading live data…

REST API

Use one no-auth GET endpoint for exchange routing, fees, and rebate data. Responses include standard CCXT IDs for bots and quant scripts.

No API key or registrationUp to 50 requests per IP every 10 seconds

Available endpoints

GET/api/v4/agent-route

Returns exchanges and a recommendation; supports purpose, kyc, exchange, country, and fees parameters.

GET/api/v4/health

Returns service status, version, and available endpoints.

Python example
import requests

params = {"purpose": "spot", "country": "US"}
response = requests.get(
    "https://www.coinrebate.vip/api/v4/agent-route",
    params=params,
    timeout=10,
)
response.raise_for_status()

recommended = response.json()["recommended"]
print(recommended["name"])
print(recommended["ccxt_id"])
print(recommended["fee_discount"])
print(recommended["signup_url"])

MCP integration

The remote MCP exposes ten read-only tools. The npm stdio package exposes nine; recommend_fee_option remains remote-only. Running the package with no arguments starts the stdio MCP server.

Remote MCP endpoint

https://www.coinrebate.vip/api/mcp

Paste this URL to connect without installing a package or running npx.

Run directly
npx -y @coinrebate/mcp-server
Claude Desktop / Cursor config
{
  "mcpServers": {
    "coinrebate": {
      "command": "npx",
      "args": ["-y", "@coinrebate/mcp-server"]
    }
  }
}

Ten tools

get_exchange_fees

View spot and futures fees, including rates after rebate.

compare_fees

Compare spot or futures exchanges by effective fee after rebate.

get_best_referral

Get the referral code, rebate, and signup link for one exchange.

get_latest_news

Read the latest crypto market articles from CoinRebate.

calculate_trading_cost

Calculate trading fees and savings for a given volume.

get_compliant_exchanges

Filter currently available exchanges by country and purpose.

recommend_fee_option

Return or abstain from a fee recommendation for the user context (remote MCP only).

list_tradfi_perps

List Binance stock and commodity perpetuals from official exchangeInfo data.

get_perp_stats

Read changes and historical weekly rank for one TradFi perpetual from official Binance klines.

check_referral_link

Check a configured exchange referral URL while probing only allowlisted hosts.

CLI

Install once and run each command independently. Output is human-readable by default; add --json for scripts or agents.

Install globally
npm i -g @coinrebate/mcp-server
coinrebate fees binance

See fees and rates after rebate for one exchange or all exchanges.

coinrebate compare --purpose spot --country CN

Rank exchanges by effective fee after rebate.

coinrebate referral binance --country CN

Get the signup link and referral code for one exchange.

coinrebate cost binance --volume 100000 --type spot

Enter trading volume to calculate fees and savings.

coinrebate compliant --country US --purpose spot

Check which exchanges are currently available in a country.

Every command supports --help and --json. An unknown exchange returns the current list of valid names.

API deprecation policy

Breaking changes are announced on this page at least 90 days in advance and identified through Deprecation and Sunset response headers.

Machine-readable assets

Use these stable endpoints for code generation, capability discovery, or AI-ready site context.

This page is for people

If you are configuring an AI agent, continue to the machine-first portal.

Open the AI Agent portal