跳到正文
cccskills
免费在 GitHub 公开

fiat

Check Binance options for buying or selling crypto with government-issued currencies, such as yen or euros. Look up country-specific payment methods, limits, and reference prices, plus order and payment history when API credentials are available.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Query Binance fiat payment capabilities — supported countries, currencies, payment methods, limits, and crypto prices — via public APIs, plus authenticated order/payment history lookup. Use whenever users ask about buying or selling crypto with fiat, depositing or withdrawing fiat, fiat-crypto exchange rates, payment options in a specific country, or their fiat order history — even if they don't explicitly mention Binance APIs.

集成工具Binance
查看安装方法

适用场景

  • Check supported currencies and services for a country
  • Compare payment methods and transaction limits
  • Look up fiat-to-crypto reference prices
  • Review fiat order and payment history

包含的文件(5)

  • SKILL.md8.2 KB
  • CHANGELOG.md273 B
  • LICENSE.md1.0 KB
  • references/authentication.md3.4 KB
  • references/sapi-endpoints.md7.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Binance Fiat Skill

Query Binance fiat payment capabilities, available payment methods, pricing, and supported currencies/countries using public APIs (no authentication required). For order and payment history, see Authenticated Endpoints.

Base URL

https://www.binance.com/bapi/fiat/v1/public/fiatpayment/agent

Available APIs

1. get_capabilities

Query supported fiat currencies, cryptos, and business types for a country.

curl "https://www.binance.com/bapi/fiat/v1/public/fiatpayment/agent/get-capabilities?country={COUNTRY_CODE}"

Optional: businessType (BUY, SELL, DEPOSIT, WITHDRAW) to filter.

Response: data.supportedBusinessTypes, data.fiatCurrencies[] (with code, name, supportedBusinessTypes), data.cryptoCurrencies[]

2. get_buy_and_sell_payment_methods

curl "https://www.binance.com/bapi/fiat/v1/public/fiatpayment/agent/get-buy-and-sell-payment-methods?businessType={BUY|SELL}&fiatCurrency={FIAT}&cryptoCurrency={CRYPTO}&country={COUNTRY_CODE}"

All 4 parameters required.

Response: data.paymentMethods[] and data.p2pPaymentMethods[], each with code, paymentMethodName, fiatMinLimit, fiatMaxLimit, cryptoMinLimit, cryptoMaxLimit, quotation, suspended

3. get_deposit_and_withdraw_payment_methods

curl "https://www.binance.com/bapi/fiat/v1/public/fiatpayment/agent/get-deposit-and-withdraw-payment-methods?businessType={DEPOSIT|WITHDRAW}&fiatCurrency={FIAT}&country={COUNTRY_CODE}"

All 3 parameters required. No cryptoCurrency, no quotation, no P2P methods.

Response: data.paymentMethods[] with code, paymentMethodName, fiatMinLimit, fiatMaxLimit, suspended

4. get_price

curl "https://www.binance.com/bapi/fiat/v1/public/fiatpayment/agent/get-price?fiatCurrency={FIAT}&cryptoCurrency={CRYPTO}&country={COUNTRY_CODE}"

Optional: businessType (BUY or SELL, defaults to BUY).

Response: data.bestPrice — indicative reference price, may differ from execution price

Recommended Workflow

  1. get_capabilities first — confirms what's supported before making other calls
  2. Payment methods API — BUY/SELL → get_buy_and_sell_payment_methods; DEPOSIT/WITHDRAW → get_deposit_and_withdraw_payment_methods
  3. get_price — add if the user wants exchange rate info

Skip step 1 for simple price queries (e.g., "What's BTC in USD?").

Calling APIs

Use WebFetch or Bash (curl). All responses follow:

{ "code": "000000", "message": null, "data": { ... }, "success": true }

code: "000000" = success; otherwise check message.

Action Links

After presenting API results, always include a relevant action link so the user can proceed directly on Binance. Build the URL dynamically based on the fiat currency, crypto currency, and business type from the conversation context.

URL Templates

Business TypeURL TemplateExample
BUYhttps://www.binance.com/en/crypto/buy/{FIAT}/{CRYPTO}Buy BTC with USD
SELLhttps://www.binance.com/en/crypto/sell/{FIAT}/{CRYPTO}Sell BTC for USD
DEPOSIThttps://www.binance.com/en/fiat/deposit/{FIAT}Deposit USD
WITHDRAWhttps://www.binance.com/en/fiat/withdraw/{FIAT}Withdraw USD

Language-aware URL

Replace the /en/ locale segment to match the user's language. Supported locales:

en, zh-CN, zh-TC, ru, es, es-LA, fr, vi, en-TR, it, pl, id, uk-UA, ar,
en-AU, pt-BR, en-IN, en-NG, ro, bg, cs, lv, sv, pt, es-MX, el, sk, sl,
es-AR, fr-AF, en-KZ, en-ZA, en-NZ, en-BH, ar-BH, ru-UA, de, kk-KZ,
ru-KZ, ja, da-DK, en-AE, en-JP, hu, lo-LA, si-LK, az-AZ, uz-UZ, pt-AO

Common mapping examples:

User languageLocaleExample URL
Englishenhttps://www.binance.com/en/crypto/buy/USD/BTC
简体中文zh-CNhttps://www.binance.com/zh-CN/crypto/buy/CNY/BTC
Português (BR)pt-BRhttps://www.binance.com/pt-BR/crypto/buy/BRL/BTC
Türkçeen-TRhttps://www.binance.com/en-TR/crypto/buy/TRY/BTC

For regional English variants (en-AU, en-IN, en-NG, en-AE, en-NZ, etc.), use the specific regional locale rather than plain en — this ensures the user sees region-appropriate content.

Default to en if the user's language is unclear.

Always include at least one action link when the conversation involves a specific fiat/crypto pair or business type. For general questions, include all relevant links from get_capabilities. Format as a call-to-action, e.g.: "Ready to buy? Buy BTC with USD on Binance"

Presenting Results

  • Table format for payment methods (names, limits, pricing); flag suspended methods
  • Note that prices are indicative/reference prices
  • Respond in the user's language
  • Always end with the relevant action link(s)

Price Sorting and Best Value Logic

Price direction depends on the business type — always apply the correct comparison:

Business TypeBetter price directionRationale
BUYLower price is betterYou pay less fiat per unit of crypto — same fiat buys more crypto
SELLHigher price is betterYou receive more fiat per unit of crypto sold

When summarizing: for BUY highlight the lowest quotation; for SELL highlight the highest quotation. Example (BUY USD/BTC): $70,236 beats $74,291 — more BTC per dollar.

Wallet Payment Method (BUY)

If the BUY response includes a payment method with code containing WALLET (case-insensitive), it represents buying crypto using the user's Binance fiat wallet balance.

When this occurs, proactively mention:

"One of the available payment methods is your Binance fiat wallet balance. If your wallet doesn't have sufficient funds, you'll need to deposit fiat first. Would you like me to look up the available deposit methods for you?"

If the user confirms, call get_deposit_and_withdraw_payment_methods with businessType=DEPOSIT using the same fiat currency and country, and present the results along with the Deposit action link.

Order & Payment History (Authenticated)

See references/sapi-endpoints.md for authenticated endpoints (order/payment history, deposit/withdraw records). Requires Binance API key and secret.

Country Code Reference

Use ISO 3166-1 alpha-2 codes: BR, GB, DE, FR, JP, KR, AU, etc. Never use US as the country parameter — US users are not supported by Binance fiat payment APIs.

Country Inference Rules

Determine the country parameter using this priority order:

  1. Explicit context — If the country is already known from the conversation (user stated it, or inferred in a prior turn), reuse it without re-inferring.

  2. Fiat currency → country mapping — Map directly from currency. Examples:

    • SGD → SG, BRL → BR, JPY → JP, KRW → KR, AUD → AU, GBP → GB, CAD → CA, INR → IN, TRY → TR, MXN → MX, NGN → NG
    • EUR → FR (since the user did not specify a country, use FR as the default for EUR)
    • USD → SG (since the user did not specify a country, use SG as the default for USD)

    MANDATORY: US MUST NEVER be used as the country parameter under any circumstances.

  3. Empty results — If the API returns no payment methods or an unsupported combination, ask: "No results found for your current settings. Would you like to try a different country? If so, please tell me which country." Then use the country the user provides.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

binance

免费

Use an authenticated command-line tool to work with Binance spot trading, futures, and asset conversion. The skill provides command references for these tasks, alongside wallet operations and other Binance services.

中文简介正在准备中。当前显示英语简介。

  • Work with Binance spot and futures trading
  • Convert crypto assets through Binance Convert
  • Find commands for wallet and account operations
ccxt/ccxt4.4万2026年10月18日 更新

Manage a Binance Web3 wallet through the baw command-line tool. Check balances, transfer or swap tokens, manage limit orders and token permissions, and access prediction markets and DeFi, blockchain-based financial services.

中文简介正在准备中。当前显示英语简介。

  • Check wallet balances and transaction history
  • Send tokens, swap assets, and manage limit orders
  • Review and revoke token spending permissions
ccxt/ccxt4.4万2026年10月18日 更新

Explore World Cup match predictions, related news, and market probabilities. Adjust model factors to compare possible outcomes, then optionally hand off to Binance Agentic Wallet for prediction-market trading, where orders require an explicit choice and confirmation.

中文简介正在准备中。当前显示英语简介。

  • Review AI predictions for a World Cup match
  • Compare model probabilities with market probabilities
  • Recalculate probabilities with adjusted factors
ccxt/ccxt4.4万2026年10月18日 更新

Look up Ondo tokens representing US stocks through Binance Web3. Retrieve prices, holder counts, company details, trading restrictions, and candlestick data, and compare token prices with underlying stock prices while accounting for shares represented by each token.

中文简介正在准备中。当前显示英语简介。

  • Research available tokenized US stocks
  • Check trading restrictions and their reasons
  • Compare token and underlying stock prices
ccxt/ccxt4.4万2026年10月18日 更新

ccxt-cli

免费

Use ccxt-cli to query cryptocurrency exchanges from the terminal without writing application code. Check prices, balances, and orders, stream live market data, display candlestick charts, and return JSON results for shell scripts.

中文简介正在准备中。当前显示英语简介。

  • Check market prices and account balances from the terminal
  • Test API credentials and inspect request errors
  • Compare live prices across exchanges
ccxt/ccxt4.4万2026年10月18日 更新

Build cryptocurrency exchange integrations in C# and .NET with CCXT. Get guidance on setup, market data, orders, authentication, and error handling, using REST for individual requests and WebSocket connections for live price and order book updates.

中文简介正在准备中。当前显示英语简介。

  • Adding cryptocurrency prices to a C# application
  • Implementing order placement and cancellation
  • Monitoring live prices and order books
ccxt/ccxt4.4万2026年10月18日 更新

查看 ccxt 的全部技能

报告此技能的问题