Retrieve all applicable peer-to-peer (C2C) advertisement categories supported for a specific client device type.
/sapi/v1/c2c/ads/getAvailableAdsCategory
This endpoint returns the list of available C2C (P2P) advertisement categories supported by Binance. It is used by merchant platforms, C2C trading bots, and mobile client applications to dynamically determine which ad categories can be listed or queried.
Because this operation does not require cryptographic signatures, it operates as a lightweight
public check. Required contextual information (such as clientType) must be passed in the HTTP request headers.
Header parameters accepted by the endpoint.
| Header | Type | Required | Description |
|---|---|---|---|
clientType |
STRING | Required |
Client Device Type initiating the request (e.g., WEB, APP, WEB_MOBILE).
|
x-gray-env |
STRING | Optional | Environment flag identifier used for internal gray/stage testing. |
x-trace-id |
STRING | Optional | Custom client trace ID for request lifecycle tracking and debugging. |
x-user-id |
STRING | Optional | Target user identifier if querying user-specific category access permissions. |
Unlike standard query endpoints, the mandatory clientType parameter must be placed inside the
HTTP Headers of the request rather than the URL query string.
Example request using cURL with HTTP headers.
curl -X GET \
'https://api.binance.com/sapi/v1/c2c/ads/getAvailableAdsCategory' \
-H 'clientType: WEB'
Example response returned on successful request.
{
"code": "000000",
"message": "success",
"data": [
{
"category": "BUY",
"name": "Buy Crypto",
"enabled": true
},
{
"category": "SELL",
"name": "Sell Crypto",
"enabled": true
}
],
"success": true
}
| Field | Type | Description |
|---|---|---|
code |
STRING |
Standard Binance status response code ("000000" indicates success).
|
message |
STRING | Status description or response feedback message. |
data |
ARRAY | List of available advertisement category objects. |
data[].category |
STRING |
Internal category identifier (e.g., BUY, SELL).
|
data[].name |
STRING | Human-readable category title displayed in user interfaces. |
data[].enabled |
BOOLEAN | Indicates whether the category is currently active for new advertisement posting. |
Workflow for fetching available C2C ad categories.
Populate frontend C2C ad creation forms dynamically with active categories based on the client device type.
Validate category availability before issuing automated P2P advertisement posting commands.
Verify whether specific C2C features or ad categories are enabled for Web vs. Mobile App users.
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 →