Weibo Media Download API
Extract full-resolution images and video download URLs from any public Weibo post. 2 credits per call. Invoke via POST /v1/call/weibo.media or the MCP call tool. Costs 2 credits per successful call; failed calls are free.
What you get
| Field | Type | Meaning |
|---|---|---|
videos | array | Direct watermark-free video stream URLs |
audios | array | Extracted audio stream URLs |
images | array | Original high-resolution image and cover URLs |
subtitles | array | Available subtitle track URLs |
The request
Endpoint: POST https://socialtoai.app/v1/call/weibo.media. Pass id and a fresh Idempotency-Key header:
curl -X POST "https://socialtoai.app/v1/call/weibo.media" \
-H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"id": "5012345678901234"}'Python example
import os, uuid, requests
resp = requests.post(
"https://socialtoai.app/v1/call/weibo.media",
headers={
"Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={"id": "5012345678901234"},
timeout=30,
)
print(resp.json())Use over MCP
Connect Claude, ChatGPT, Cursor, or Codex to https://socialtoai.app/mcp and ask your assistant to run call with op="weibo.media".