BYDFi API integration services (Spot · Perpetuals · MoonX · OpenFinance)

Production-ready connectors for BYDFi accounts, market data, copy trading, and on-chain MoonX flows — under signed authorization and with full audit trails.

From $300 · Pay-per-call available
OpenData · OpenFinance · Crypto exchange protocol analysis · CEX + DEX

Connect BYDFi accounts, perpetual positions, and MoonX on-chain trades to your stack

BYDFi is a global crypto exchange founded in 2020 that now serves 1,000,000+ users across 190+ countries, holds a US MSB license and a South Korea CODE VASP registration, publishes Proof-of-Reserves with an 800 BTC protection fund, and in August 2025 became the Official Cryptocurrency Exchange Partner of Newcastle United FC. We help teams turn that surface area into clean, queryable APIs.

Spot & perpetual data APIs — 1,000+ spot tokens (BTC, ETH, XRP, SOL and emerging assets) and 500+ perpetual pairs with up to 200x leverage, exposed as unified order, position, and PnL endpoints with paging and date filters.
MoonX on-chain bridge — Pull fills from BYDFi's April 2025 MoonX product across Solana, Ethereum, Base, and BNB Chain (500,000+ memecoin pairs) without managing wallets or RPC nodes yourself.
Copy trading & bot signals — Subscribe to follower stats, lead-trader rosters, Spot Grid Bot fills, Martingale ladders, and Auto-Invest schedules so your dashboards and risk engines see every leg.
Statement export & BYDFi Card — Wallet balances, deposits, withdrawals, fiat on-ramp receipts (Banxa, Transak, Mercuryo, Paybis, Coinify, Legend Trading) and BYDFi Card spend, packaged as JSON, CSV, or Excel for accounting and tax.

What we deliver

Deliverables checklist

  • OpenAPI 3.1 spec covering account, market, trading, copy-trade, and MoonX endpoints
  • Protocol & auth report (HMAC-SHA256 signing, timestamp window, rate-limit table)
  • Runnable source in Python and Node.js, including WebSocket reconnect logic
  • Postman collection plus pytest / Jest harnesses with sandbox fixtures
  • Compliance brief mapping flows to MiCA, FATF Travel Rule, and US MSB requirements
  • Optional Docker image with a hosted gateway for pay-per-call billing

Engagement options

Choose either model based on your team's preferences — both produce the same technical artefacts; the difference is who runs the runtime.

  • Source delivery from $300 — we hand over runnable Python/Node.js source plus docs; you self-host. Pay only after you've validated the deliverables.
  • Pay-per-call API — call our hosted BYDFi gateway, settle monthly per request. No upfront cost; ideal for proof-of-concept or low-volume teams.

Data available for integration (OpenData inventory)

The table below maps BYDFi data domains to where they originate inside the app, the granularity you can pull, and what business problem each one typically solves. We treat this as the source of truth when scoping a project.

Data typeSource (screen / feature)GranularityTypical use
Spot order historyTrade → Spot → OrdersPer-fill, ms timestamp, fee currencyReconciliation, tax (cost basis, FIFO/LIFO)
Perpetual positions & PnLDerivatives → USDT-M / Coin-MPer-position snapshot + funding eventsRisk dashboards, margin alerts, daily PnL
Wallet balancesAssets → Spot / Funding / DerivativesPer-coin, free vs. locked, USD valuationTreasury, NAV calculation, custody reporting
Deposits & withdrawalsAssets → HistoryTx hash, network, address, statusFATF Travel Rule, AML monitoring
Fiat on-ramp invoicesBuy Crypto (Banxa, Transak, Mercuryo, Paybis, Coinify, Legend Trading)Provider, fiat amount, FX, feesCost-of-acquisition analytics, accounting
Copy-trading flowsCopy Trading → Followers / LeadersSubscription, allocation, mirrored fillPerformance attribution, fiduciary reporting
Bot strategy fillsSpot Grid · Martingale · Auto-InvestGrid level, DCA tranche, realized profitStrategy backtesting, P&L attribution
MoonX on-chain tradesMoonX → Solana / ETH / Base / BNBTx hash, slippage, route, gasDeFi analytics, alpha tracking, audit
BYDFi Card transactionsCard → StatementsMerchant, MCC, FX rate, settlement coinExpense management, employee spend
Market & reference dataMarkets → Tickers / Klines1m–1M klines, depth, funding ratePricing engines, risk models, charts

Typical integration scenarios

1. Multi-exchange portfolio & tax sync

An accounting platform pulls spot fills, perpetual realized PnL, and fiat on-ramp invoices from BYDFi every 15 minutes, normalizes them into a unified ledger, then pushes them to Koinly, CoinTracking, or an in-house ERP. The integration covers GET /v1/spot/orders, GET /v1/futures/income, and the on-ramp callback feed; OpenFinance framing means each row carries the originating provider, FX rate, and KYC reference required by tax authorities.

2. Real-time treasury & NAV for fund managers

A crypto fund manager streams BYDFi balance snapshots and perpetual mark prices over WebSocket, joins them with custody data from cold storage, and publishes a per-minute NAV to investors. The pipeline subscribes to account.update and position.update topics, validates against the REST GET /v1/account/wallet snapshot, and writes to a time-series store for daily attribution reports.

3. Copy-trading risk overlay

A regulated broker offers copy trading to retail clients but needs an independent risk view. We expose follower allocations, leader rosters, and mirrored fills as a webhook stream so the broker's risk engine can pre-trade check leverage caps, post-trade compute slippage versus the leader, and produce a fiduciary report each evening — all aligned with the broker's MiFID II suitability rules.

4. MoonX on-chain alpha pipeline

A trading team uses BYDFi's MoonX (launched April 2025 at Paris Blockchain Week) to scout early Solana memecoins. We pipe every MoonX fill — token mint, route, slippage, gas — into ClickHouse, joined with on-chain liquidity from Birdeye and DEX Screener. Their analysts query "winners in last 24h with < 5% slippage" without writing any RPC code.

5. BYDFi Card expense automation

A Web3 startup uses BYDFi Card for global team spend. We extract daily card statements, classify by MCC, attach the settlement-coin FX rate, and push to Brex / Ramp via their import API. Employees stop submitting manual expense reports; finance gets a single ledger that reconciles fiat settlement against on-chain debits.

Technical implementation

BYDFi exposes documented REST and WebSocket surfaces at developers.bydfi.com; we wrap them with a thin protocol-analysis layer for the mobile-only flows (MoonX, Card, copy trading). The snippets below are representative — the production code we deliver includes retry, backoff, signature regeneration on clock skew, and rate-limit shaping.

Account login & HMAC signing

# Python — signed REST call to BYDFi
import time, hmac, hashlib, requests

API_KEY    = "<your_key>"
API_SECRET = b"<your_secret>"

def sign(payload: str) -> str:
    return hmac.new(API_SECRET, payload.encode(),
                    hashlib.sha256).hexdigest()

ts    = str(int(time.time() * 1000))
query = f"timestamp={ts}&recvWindow=5000"
sig   = sign(query)

r = requests.get(
    "https://api.bydfi.com/v1/account/wallet",
    params={"timestamp": ts, "recvWindow": 5000,
            "signature": sig},
    headers={"X-BYDFI-APIKEY": API_KEY},
    timeout=10,
)
print(r.json())

Statement export (spot orders)

// Node.js — paginated spot statement
POST /api/v1/bydfi/statement
Content-Type: application/json
Authorization: Bearer <ACCESS_TOKEN>

{
  "account_id": "u_8f21",
  "venue":      "spot",
  "symbol":     "BTCUSDT",
  "from_ts":    1735689600000,
  "to_ts":      1738368000000,
  "cursor":     null,
  "limit":      500
}

// Response (truncated)
{
  "rows": [
    {"order_id":"71e…","ts":1736021400123,
     "side":"BUY","price":"103245.10","qty":"0.0123",
     "fee":"0.00001230","fee_coin":"BTC","liquidity":"M"}
  ],
  "next_cursor": "eyJ0cyI6MTczNjAyMTQwMDEyM30=",
  "has_more": true
}

Position WebSocket + error handling

// WebSocket subscription with backoff
const ws = new WebSocket("wss://stream.bydfi.com/v1/private");

ws.on("open", () => ws.send(JSON.stringify({
  op: "subscribe",
  args: ["position.update", "account.update"],
  auth: { key: KEY, ts: Date.now(), sig: hmac() }
})));

ws.on("message", (raw) => {
  const msg = JSON.parse(raw);
  if (msg.code === 401)  return rotateKeyAndReconnect();
  if (msg.code === 1003) return throttle(msg.retry_after_ms);
  emit(msg.topic, msg.data);
});

ws.on("close", () => setTimeout(reconnect, backoff()));

MoonX on-chain fill webhook

# Inbound webhook payload (MoonX fill)
POST /your-endpoint/moonx
X-BYDFI-Signature: t=1736900000,v1=…

{
  "event":      "moonx.fill",
  "chain":      "solana",
  "wallet_ref": "moonx_acct_4f1",
  "tx_hash":    "5h7m…",
  "in_token":   "So111…So112",
  "out_token":  "JUP4F…wDr",
  "in_amount":  "1.250000000",
  "out_amount": "182.41",
  "route":      ["Jupiter v6"],
  "slippage_bps": 38,
  "gas_lamports": 50000
}

Compliance & privacy

Regulatory framing

BYDFi itself operates under a US FinCEN MSB registration and a South Korea CODE VASP registration. Our integrations align downstream consumers with the same regimes plus the EU's MiCA framework and the FATF Travel Rule. For UK clients we map flows to the FCA's cryptoasset financial-promotion rules; for Singapore we follow MAS PS-N02 guidance on DPT services.

Privacy & key custody

We use the customer's own BYDFi API keys, scoped read-only by default. Keys never live in source control: they're injected from AWS Secrets Manager, GCP Secret Manager, or HashiCorp Vault. Personal data follows GDPR data-minimization — only fields the customer's business need actually requires are persisted, and withdrawal addresses are hashed when used for analytics.

Data flow / architecture

A typical BYDFi pipeline has four stages: (1) Source — BYDFi REST + WebSocket and MoonX webhooks. (2) Ingestion — a stateless gateway that signs requests, applies rate-limit shaping, and normalizes responses to a unified schema. (3) Storage — Postgres for canonical orders/positions plus ClickHouse or DuckDB for time-series analytics; raw payloads kept in S3 for replay. (4) Output — REST/GraphQL for dashboards, Kafka topics for downstream services, and CSV/Excel exports for finance and audit teams.

Market positioning & user profile

BYDFi sits in the global mid-tier of centralized exchanges, behind Binance and Bybit by raw volume but ahead in regions where it has localized aggressively — notably the GCC, South Korea, and English-speaking Europe (its Newcastle United sleeve sponsorship targets exactly that audience). Its user base skews toward retail derivatives traders attracted by 1–200x leverage and copy trading, with a growing Web3 cohort drawn in by MoonX. Both Android (com.bydfi.app) and iOS apps are first-class; the desktop web app shares the same API surface, which is why a single integration covers all three.

Screenshots

Click any thumbnail to view the full-resolution screenshot. Use these to sanity-check which screen each data domain originates from before scoping an integration.

BYDFi screenshot 1 BYDFi screenshot 2 BYDFi screenshot 3 BYDFi screenshot 4 BYDFi screenshot 5 BYDFi screenshot 6 BYDFi screenshot 7 BYDFi screenshot 8

Similar apps & integration landscape

BYDFi sits inside a wider crypto-exchange and portfolio-tracker ecosystem. Teams that integrate one of these venues frequently want a unified view across the rest, which is why we keep parity connectors for each. The brief notes below describe how each service relates to the BYDFi data surface, not a ranking.

BybitHolds spot, derivatives, and copy-trade data with a unified V5 API. Teams that mirror leaders on both Bybit and BYDFi need one normalized fill stream.
BinanceThe largest CEX by spot and futures volume, with a deep REST/WebSocket stack. Often paired with BYDFi for liquidity routing and price reference.
KrakenA long-running US/EU exchange with strong fiat rails and detailed staking records that complement BYDFi's MoonX and on-ramp data.
KuCoinWide token coverage and trading bots; users who run grid bots on both KuCoin and BYDFi want a single bot-fill ledger.
OKXProvides spot, perpetuals, options, and an integrated Web3 wallet — a natural counterpart to BYDFi's CEX + MoonX dual-engine model.
CoinbaseThe reference KYC-first exchange in the US; finance teams reconcile Coinbase Prime balances against BYDFi positions for treasury reporting.
MEXCHolds 3,000+ listed assets including many early-stage tokens, often appearing alongside BYDFi MoonX in alpha-discovery pipelines.
BitgetBest known for its copy-trading product; integration teams comparing copy-trade performance across venues need both Bitget and BYDFi feeds.
Gate.ioLong tail of altcoins and structured products; combined Gate + BYDFi exports give the broadest spot coverage available outside Binance.
CoinTracker / KoinlyTax and portfolio platforms downstream of all of the above. The BYDFi connector we ship plugs directly into their CSV import schemas.

About us

OpenFinance Lab is an independent studio focused on App interface integration and authorized API delivery. The team blends engineers from quantitative trading desks, payments processors, and mobile reverse-engineering backgrounds, with shipping experience across Android, iOS, and high-throughput backend systems.

  • Centralized and decentralized exchange protocol analysis (CEX + DEX)
  • OpenBanking-style gateway design with rate-limit shaping and retry policies
  • Custom Python / Node.js / Go SDKs and pytest / Jest harnesses
  • Compliance briefs aligned with MiCA, FATF Travel Rule, and US BSA/MSB regimes
  • Source code delivery from $300 — runnable code plus docs; pay after acceptance
  • Pay-per-call hosted gateway — no upfront cost, monthly settlement

Contact

Send us your target app, the data domains you need, and any sandbox credentials. We respond with a one-page scope and a fixed quote within one business day.

Contact page

Engagement workflow

  1. Scope confirmation — which BYDFi domains (spot, perps, MoonX, Card) and which downstream system.
  2. Protocol analysis & API design — 2 to 5 business days, deliverable is an OpenAPI spec.
  3. Build & internal validation against BYDFi sandbox or read-only production keys — 3 to 8 business days.
  4. Docs, samples, and Postman / pytest harnesses — 1 to 2 business days.
  5. Typical first delivery: 5 to 15 business days. Real-time WebSocket pipelines and multi-tenant gateways are scoped separately.

FAQ

Do you use the official BYDFi developer API or reverse-engineer the mobile protocol?

We default to the documented endpoints at developers.bydfi.com (REST + WebSocket) for spot, perpetuals, account, and market data. When a feature is mobile-only — for example MoonX on-chain trading, copy-trade subscriptions, or BYDFi Card statements — we add a thin protocol-analysis layer on top of the documented surface, always under the customer's authorization.

Which BYDFi data types can you expose as APIs?

Spot order history, perpetual positions and PnL, wallet balances across coins, deposit and withdrawal records, fiat on-ramp invoices (Banxa, Transak, Mercuryo, Paybis, Coinify, Legend Trading), copy-trading follower stats, MoonX on-chain trade fills, and BYDFi Card transactions. All exports are available as JSON, CSV, or Excel.

How long does a typical BYDFi integration take?

A read-only statement and balance API drop is usually 5 to 8 business days. Adding perpetual order management, copy-trade webhooks, or MoonX on-chain sync extends delivery to 10 to 15 business days. Real-time WebSocket pipelines and multi-tenant deployments are scoped separately.

How do you handle compliance, privacy, and key management?

We work only under signed customer authorization with the user's own API keys, follow GDPR data-minimization, log every call, and rotate keys via your secret manager. For regulated jurisdictions we map flows to FATF Travel Rule, the EU MiCA framework, and the US BSA/MSB obligations BYDFi already operates under. NDAs and on-prem deployment are available.
📱 Original app overview (BYDFi: Buy BTC, XRP & SOL — appendix)

BYDFi (the name expands to "BUIDL Your Dream Finance") is a global cryptocurrency exchange founded in 2020. Forbes has listed it among the Top 10 Best Crypto Exchanges, it is tracked by both CoinMarketCap and CoinGecko, and as of 2025 it serves more than one million users across 190+ countries. In August 2025 it became the Official Cryptocurrency Exchange Partner of Newcastle United Football Club, with sleeve branding on the Premier League first-team kit.

  • MoonX (April 2025) — wallet-free Web3 memecoin trading combining a CEX-style UX with on-chain execution across Solana, Ethereum, Base, and BNB Chain; 500,000+ memecoin pairs; built with Safeheron's MPC architecture for self-custody safety.
  • Spot & perpetuals — 1,000+ spot tokens including BTC, ETH, XRP, and SOL; 500+ perpetual pairs with 1–200x leverage and a high-speed matching engine.
  • Trading tools — Copy Trading (mirror top traders, smart-money tracking), Martingale Strategy, Spot Grid Bot, and Auto-Invest scheduled DCA.
  • Fiat on-ramps & Card — partnerships with Banxa, Transak, Paybis, Coinify, Mercuryo, and Legend Trading covering 190+ countries; the BYDFi Card enables real-world spend with real-time FX settlement and 2FA risk controls.
  • Rewards — $8,100 welcome package, daily rewards, Maniac Calendar trade rebates, and event-driven Maniac Mystery Boxes.
  • Compliance posture — US FinCEN MSB registration, South Korea CODE VASP, Proof-of-Reserves with an 800 BTC protection fund.
  • Official channels — bydfi.com, business inquiries bd@bydfi.com, customer support cs@bydfi.com, 24/7 multilingual support.

Last updated: 2026-05-03