Batch update the operational status of multiple peer-to-peer (C2C) advertisements simultaneously, allowing merchants to publish, pause, or take down ads in bulk.
/sapi/v1/c2c/ads/updateStatus
This endpoint executes batch status updates across multiple C2C (P2P) advertisements in a single request. Merchants and automated trading bots use this operation to quickly toggle advertisement visibility—such as publishing offline ads online, pausing active ads during non-working hours, or closing completed listings.
By supporting array inputs (`advNos`), developers can control entire portfolios of peer-to-peer offer listings simultaneously without making repetitive single-item API calls.
Parameters accepted in Body and HTTP Headers.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
clientType |
Header | STRING | Required |
Client Device Type initiating the request (e.g., WEB, APP).
|
advNos |
Body | ARRAY | Required | Array of target C2C advertisement number strings to update. |
advStatus |
Body | INT | Required |
Target status code: 1 Published / Online, 2 Paused / Offline, 3 Closed / Deleted.
|
x-gray-env |
Header | STRING | Optional | Environment flag identifier used for stage testing. |
x-trace-id |
Header | STRING | Optional | Custom client trace ID for request tracking. |
x-user-id |
Header | STRING | Optional | Target user identifier for user-specific ad checks. |
Using batch updates minimizes network latency and rate limit usage compared to updating ads individually.
Always inspect the returned failedList array to confirm if any specific ad number failed to update.
Example POST request using cURL to pause multiple advertisements.
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/ads/updateStatus' \
-H 'clientType: WEB' \
-H 'Content-Type: application/json' \
-d '{
"advNos": [
"1122334455667788",
"9988776655443322"
],
"advStatus": 2
}'
Example response returned on batch status update execution.
{
"code": "000000",
"message": "success",
"data": {
"successList": [
"1122334455667788",
"9988776655443322"
],
"failedList": []
},
"success": true
}
| Field | Type | Description |
|---|---|---|
code |
STRING |
Standard Binance status code ("000000" indicates success).
|
data.successList |
ARRAY | Array of advertisement number strings that successfully transitioned to the target status. |
data.failedList |
ARRAY | Array of advertisement number strings that failed to update. |
success |
BOOLEAN | Indicates overall request execution state. |
Workflow for batch updating C2C advertisement status.
advNos for status update.
successList.
Instantly take all active merchant advertisements offline during extreme crypto market volatility or banking outages.
Automatically publish ads at the start of business hours and pause them overnight using scheduled server cron jobs.
Batch close outdated or exhausted advertisement listings with a single API call.
This article is part of our complete learning guide covering professional cross-exchange cryptocurrency arbitrage.
Explore the Spot Arbitrage Guide →This article is part of our complete learning guide covering Binance P2P automation, merchant tools, and automated trading.
Explore the Binance P2P Automation Guide →