API quickstart

Make your first export request in 30 seconds.

3 min read·API & integrations

All requests use Bearer authentication and JSON bodies.

Create an export

curl https://api.exportcomments.xyz/v1/exports \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.tiktok.com/@user/video/123",
    "format": "csv"
  }'

Poll for status

curl https://api.exportcomments.xyz/v1/exports/$EXPORT_ID \
  -H "Authorization: Bearer $API_KEY"

When status becomes "COMPLETED", the response includes a fileUrl you can download.

Did this article help?

Still stuck? Open a ticket and a real human will reply within 24 hours.

Contact support