Converting BNFCR from a Script: the API

Updated 10 November 2026 · the published endpoints, the five-step flow, rate limits, and the one step a script cannot do for you

If you hold BNFCR and would rather drive the conversion from a script than from a web form, there is a documented way to do it: bnfcrconvert.com publishes its whole public flow as JSON, in an API guide and an OpenAPI 3.1 specification, with a plain-text summary for agents at /llms.txt. This page is the human-readable version of those documents: what the endpoints do, what they return, and where a script will get stuck.

First, the free route: Binance's own swap costs nothing — try it. Its Futures Credits Trading Mode FAQ states that BNFCR "cannot be withdrawn directly, however, it can be swapped to BTC, ETH, or BNB before withdrawal". The path is Futures (USDⓈ-M) → Assets → find BNFCR → Swap → BTC, ETH or BNB → confirm. If that option works on your account, use it: it is free and needs no API key at all. Some EU and other regional Binance accounts show a BNFCR balance and cannot use the Swap/Convert option — the rest of this page is for them.

1. What the API does, and the one thing it does not automate

The API is not a broader service with a programmable interface — it is the same single operation the website performs: BNFCR → BNB, executed on your own Binance USDⓈ-M Futures account with an API key you create. There is no selectable output asset, the BNB is credited to that same Futures wallet, and the service never pays out USDT, USDC, BTC, ETH or fiat. Funds never leave your Binance account, so there is nothing to withdraw from us and no balance of yours that we hold.

The part worth knowing before you write any code: the fee payment cannot be automated through this API. The service fee is an on-chain USDT or USDC transfer that you send to the address on the invoice, and there is no endpoint that pays it. A script can do steps 1, 2, 4 and 5 unattended; step 3 needs an actual on-chain send, which means the flow is at best semi-automatic unless you drive a wallet yourself.

2. The five steps

StepCallBody / actionReturns
1POST /api/balanceapi_key, api_secretbalance — your BNFCR, as a float
2POST /api/invoice/createapi_key, api_secret, conversion_amount, asset (USDT or USDC), chain (solana, polygon or bsc), optional emailinvoice_id, fee_amount_exact, fee_asset, fee_chain, fee_address, expires_at
3— (yours)Send exactly fee_amount_exact of fee_asset on fee_chain to fee_address, on-chain—
4GET /api/invoice/{invoice_id}Poll every 10 sstatus, time_left in seconds
5POST /api/invoice/{invoice_id}/convertapi_key, api_secret — the same key that created the invoicebnb_amount, bnfcr_amount, invoice_id

Two details that save a debugging session. conversion_amount is any value above zero up to your BNFCR balance, so you can convert part of a balance rather than all of it — an amount above the balance is a validation error, not a clamp. And the email field on step 2 is optional but useful for an unattended run: it receives the invoice ID plus the payment and conversion receipts, which is the difference between a crashed script you can reconstruct and one you cannot.

The status values you will see at step 4 are AWAITING_PAYMENT, EXPIRED, PAID, PAID_LATE, CONVERTING, DONE and FAILED. The documented polling rule is to continue until the status is PAID or PAID_LATE and to stop on EXPIRED or FAILED.

3. The four rules that decide whether your payment is matched

Matching is mechanical, and these are the published critical rules — three of the four are about the amount that arrives, not the amount you send:

The chain you pick only affects gas, which goes to the network rather than to us: roughly $0.001 on Solana, $0.015 on Polygon and $0.02 on BSC. Note that the fee is never taken in BNFCR and never in BNB, so an unattended run needs USDT or USDC that is not part of the BNFCR balance you are converting.

4. Rate limits and error handling

EndpointLimit
POST /api/balance10/min, 100/h
POST /api/invoice/create5/min, 30/h
GET /api/invoice/{invoice_id}60/min, 600/h
POST /api/invoice/{invoice_id}/convert5/min, 30/h

A 10-second poll interval sits comfortably inside the 60/min budget for the status endpoint. On 429 the response body is {error, detail} and a Retry-After header gives the wait in seconds — use it rather than a fixed backoff.

The one error shape that catches people out: /api/balance returns HTTP 200 with success=false when Binance rejects the credentials. Check the success field, not just the status code. Error responses carry the shape {"success": false, "error": "human-readable reason"}, with 400 for a validation error, malformed JSON or an amount above your balance, 403 when the credentials do not match the invoice, 404 for an unknown invoice, 409 when the invoice is not in a convertible state, 413 for too large a payload, 415 when the Content-Type is not application/json, and 502 for a Binance upstream error on the balance check, the quote or the accept.

That 403 deserves its own line, because it is the one that can strand a paid invoice: the conversion is refused if the credentials do not match the ones the invoice was created with. Do not rotate or delete the key between step 2 and step 5. If the fee is paid and the Binance-side swap then fails, write to support@bnfcrconvert.com — the terms describe a best-effort refund of the fee minus on-chain gas, at the operator's discretion, rather than an automatic entitlement.

The API key — this much and nothing more: Use a key created for this one conversion, not the key your trading bot runs on.
Short version: the flow is POST /api/balance → POST /api/invoice/create → pay the fee on-chain yourself → GET /api/invoice/{invoice_id} → POST /api/invoice/{invoice_id}/convert, all JSON over HTTPS, with the fee payment as the step no endpoint can do for you. Everything on this page comes from the API guide; the OpenAPI specification has the request and response schemas. bnfcrconvert.com performs one operation — BNFCR → BNB on your own Binance Futures account, non-custodial, with the BNB credited to that same Futures wallet — and is operated by ESA DEVELOPMENT s.r.o. (Czech Republic); it is not an exchange, not regulated and not affiliated with Binance. See also the 3-step route, what a rejected balance check means and how the fee payment is matched.
Convert BNFCR now →
Guides