fiat
它能做什么
这个技能使用公开信息,回答在 Binance 上用普通货币买卖加密货币的问题。适合想了解自己所在国家有哪些付款方式的人。
适用场景
- ✓当你想知道自己所在国家可用哪些付款方式的时候。
- ✓当你想查看买入或卖出的法币限额的时候。
- ✓当你想查看某种加密货币以法币计价的当前价格的时候。
技能链接
https://github.com/ccxt/ccxt/blob/master/.agents/skills/fiat/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我可以用什么付款方式,在巴西用雷亚尔购买 USDT?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会针对你询问的国家、货币和加密货币,调用 Binance 的公开信息接口,然后总结找到的选项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
get_capabilitiesfirst — confirms what's supported before making other calls- Payment methods API — BUY/SELL →
get_buy_and_sell_payment_methods; DEPOSIT/WITHDRAW →get_deposit_and_withdraw_payment_methods 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 Type | URL Template | Example |
|---|---|---|
| BUY | https://www.binance.com/en/crypto/buy/{FIAT}/{CRYPTO} |
Buy BTC with USD |
| SELL | https://www.binance.com/en/crypto/sell/{FIAT}/{CRYPTO} |
Sell BTC for USD |
| DEPOSIT | https://www.binance.com/en/fiat/deposit/{FIAT} |
Deposit USD |
| WITHDRAW | https://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 language | Locale | Example URL |
|---|---|---|
| English | en |
https://www.binance.com/en/crypto/buy/USD/BTC |
| 简体中文 | zh-CN |
https://www.binance.com/zh-CN/crypto/buy/CNY/BTC |
| Português (BR) | pt-BR |
https://www.binance.com/pt-BR/crypto/buy/BRL/BTC |
| Türkçe | en-TR |
https://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 t
常见问题
它需要我的 Binance 账户吗?
不需要。本技能的公开部分无需身份验证,但订单记录需要。
它能查看我的法币订单记录吗?
可以,但那需要使用另一份参考文档中描述的需身份验证接口。
这个技能涵盖哪些法币操作?
买入、卖出、存入和提取法币都作为业务类型被涵盖。
详情
作者的原始描述
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.
repo: ccxt/ccxt
热度
- GitHub 星标
- 45k
- 排名
- #6369
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
binance-agentic-wallet
45k帮你的智能体通过 baw 命令行管理 Binance Web3 钱包,包括登录、查询余额、转账、代币兑换和限价订单。
binance-sports-ai-analyzer
45k帮你的智能体查询世界杯比赛的预测、AI 分析和新闻洞察,并在你调整信号后重新计算胜率。
binance-tokenized-securities-info
45k帮你的智能体在 Binance Web3 上查询 Ondo 代币化美股,包括代币列表、公司信息、交易状态和链上价格。
binance
45k帮你的智能体通过 binance-cli 工具使用 Binance 现货、USD-M 合约和 Convert 功能。使用前需先完成身份验证设置。