Loading...
Loading...
Post content to Binance Square (Binance social platform for sharing trading insights). Auto-run on messages like 'post to square', 'square post'. Supports pure text posts.
npx skill4agent add tryshift-sh/binance-skills-hub square-postSHIFT_LOCAL_GATEWAY/binance/square-post/bapi/composite/v1/public/pgc/openApi/content/add| Header | Required | Description |
|---|---|---|
| Content-Type | Yes | |
| clienttype | Yes | |
| Field | Type | Required | Description |
|---|---|---|---|
| bodyTextOnly | string | Yes | Post content text (supports #hashtags) |
curl -X POST "${SHIFT_LOCAL_GATEWAY}/binance/square-post/bapi/composite/v1/public/pgc/openApi/content/add" \
-H 'Content-Type: application/json' \
-H 'clienttype: binanceSkill' \
-d '{
"bodyTextOnly": "BTC looking bullish today!"
}'{
"code": "000000",
"message": null,
"data": {
"id": "content_id_here"
}
}| Field | Type | Description |
|---|---|---|
| code | string | |
| message | string | Error message (null on success) |
| data.id | string | Created content ID |
https://www.binance.com/square/post/{id}data.id298177291743282https://www.binance.com/square/post/298177291743282| Code | Description |
|---|---|
| 000000 | Success |
| 10004 | Network error. Please try again |
| 10005 | Only allowed for users who have completed identity verification |
| 10007 | Feature unavailable |
| 20002 | Detected sensitive words |
| 20013 | Content length is limited |
| 20020 | Publishing empty content is not supported |
| 20022 | Detected sensitive words (with risk segments) |
| 20041 | Potential security risk with the URL |
| 30004 | User not found |
| 30008 | Banned for violating platform guidelines |
| 220003 | API Key not found |
| 220004 | API Key expired |
| 220009 | Daily post limit exceeded for OpenAPI |
| 220010 | Unsupported content type |
| 220011 | Content body must not be empty |
| 2000001 | Account permanently blocked from posting |
| 2000002 | Device permanently blocked from posting |
SHIFT_LOCAL_GATEWAYhttps://www.binance.com/square/post/{id}000000data.id