SocialToAIStart freeConsole

Xiaohongshu Transcript API

Extract spoken transcript and timed segments from public Xiaohongshu video notes via REST API or MCP. 24 credits per call. Invoke via POST /v1/call/xiaohongshu.transcript or the MCP call tool. Costs 24 credits per successful call; failed calls are free.

What you get

FieldTypeMeaning
textstringFull transcript text
segmentsarrayTimed segments with start/end timestamps
sourcestringTranscript source (native caption or ASR)
media_urlsarrayExtracted audio/video source URLs

The request

Endpoint: POST https://socialtoai.app/v1/call/xiaohongshu.transcript. Pass id and a fresh Idempotency-Key header:

curl -X POST "https://socialtoai.app/v1/call/xiaohongshu.transcript" \
  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"id": "65a1b2c30000000012345678"}'

Python example

import os, uuid, requests

resp = requests.post(
    "https://socialtoai.app/v1/call/xiaohongshu.transcript",
    headers={
        "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={"id": "65a1b2c30000000012345678"},
    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="xiaohongshu.transcript".

Try it live in the Console Playground →