API Documentation

Integrate our powerful comment generation API into your applications.

🚀 API Access Available in Business Plan

Get API access with our Business plan for $49.99/month

Authentication

Authorization: Bearer YOUR_API_KEY

Endpoints

Generate Comments

POST /api/v1/generate-comments

Request Body:

{
  "context": "Video description or URL",
  "style": "funny | supportive | trendy | question | compliment | casual",
  "count": 5,
  "language": "en"
}

Response:

{
  "success": true,
  "comments": [
    "Generated comment 1",
    "Generated comment 2",
    "Generated comment 3"
  ],
  "usage": {
    "requests_remaining": 9995,
    "reset_date": "2025-02-01"
  }
}

Rate Limits

  • Business Plan: 10,000 requests/month
  • Enterprise: Custom limits available

Error Codes

CodeDescription
200Success
400Bad Request
401Unauthorized
429Rate Limit Exceeded
500Internal Server Error

SDKs & Libraries

JavaScript/Node.js

npm install @tiktok-generator/sdk

Python

pip install tiktok-generator

Need Help?

Contact our developer support at [email protected]