New advertisers: 50% off your first month with code FIRSTMONTHSee slots
binance avatar

Onchain Pay Open Api

Fiat-to-crypto purchase and on-chain send API with payment methods, quotes, orders, and networks.

skills.sh installs
6.1K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers buying crypto with fiat or sending Binance-held crypto to any external on-chain wallet in one flow
  • Includes 8 endpoints: payment-method-list, trading-pairs, estimated-quote, pre-order, order, crypto-network, and p2p/trading-pairs
  • Signs every request with RSA SHA256 via a bundled sign_and_call.sh script and requires a destination address and network
  • Designed for partners integrating crypto buying, on-ramp checkout, and merchant payment flows

Install

$ npx -y skills add binance/binance-skills-hub --skill onchain-pay-open-api -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Binance Onchain-Pay Open API Skill

Call Binance Onchain-Pay Open API endpoints with automatic RSA SHA256 request signing.

Use Cases & Scenarios

This skill is designed for the following scenarios:

1. πŸ’³ Fiat-to-Crypto Purchase & Send

When to use: User wants to buy crypto with fiat currency and send directly to an external on-chain wallet address

  • Buy USDT with USD/EUR/TWD using credit card β†’ Send to MetaMask address on BSC
  • Purchase BTC with Google Pay β†’ Transfer to hardware wallet
  • Buy USDC with P2P β†’ Send to DeFi protocol contract address

Key APIs: trading-pairs β†’ payment-method-list β†’ estimated-quote β†’ pre-order

2. πŸ”„ Direct Crypto Transfer (Send Primary)

When to use: User has crypto in Binance account and wants to send to external address

  • Send existing USDT from Binance Spot to friend's wallet address
  • Transfer ETH to Uniswap contract for trading
  • Move crypto from Binance to self-custodial wallet (Trust Wallet, Ledger, etc.)

Key APIs: pre-order with SEND_PRIMARY customization

Details

Repository
github.com/binance/binance-skills-hub
Categories
Web3 & Crypto, Finance & Trading
First seen
Apr 16, 2026

More from binance/binance-skills-hub

All 14

Similar to Onchain Pay Open Api

More Web3 & Crypto