API اور MCP
میں ذاتی کلید بنائیں ورک اسپیس → API کیز اور MCP. Keys expire in 90 days, are shown once, and can be revoked. Never put a key in public client code.
REST API
Base URL: https://api.tokscripts.com/api. The /v1 alias is also supported on the API host. Send Authorization: Bearer YOUR_PERSONAL_KEY اور JSON باڈیز رائٹس کے لیے۔
curl https://api.tokscripts.com/api/transcripts \ -H "Authorization: Bearer $TOKSCRIPTS_API_KEY"
| طریقہ / اختتامی نقطہ | مقصد | دائرہ کار |
|---|---|---|
GET /transcripts?q=words | محفوظ ٹرانسکرپٹس تلاش کریں | پڑھنا |
GET /transcripts/:id | ٹرانسکرپٹ پڑھیں | پڑھنا |
POST /transcripts | سیگمنٹس یا دونوں را ٹیکسٹ ورژن امپورٹ کریں | لکھنا |
PATCH /transcripts/:id | موجودہ نظر ثانی کے ساتھ ترمیم محفوظ کریں | لکھنا |
DELETE /transcripts/:id | ٹریش؛ مستقل: ٹریش کے بعد ہی درست | لکھنا |
POST /transcribe | کسی منسلک پلیٹ فارم پر {url} کو ٹرانسکرائب کریں | نقل کرنا |
GET /usage | روزانہ الاؤنس اور UTC ری سیٹ | پڑھنا |
GET /export?format=json | 100 محفوظ ٹرانسکرپٹس تک برآمد کریں | پڑھنا |
POST /transcripts/:id/ai | ہکس، ری رائٹ، فریم ورک یا ترجمہ:es | AI + کری ایٹر |
POST /media | سورس ویڈیو، آڈیو یا گیجمنٹ ڈیٹا | لکھیں؛ Creator سوائے TikTok ویڈیو کے |
حدود اور جوابات
Ordinary transcription is unlimited. Website subtitle extraction requires no sign-in; personal API and MCP keys identify account storage and AI requests. Failed processing releases the daily reservation. AI generation shares a 10-request hourly guard. Imported transcripts are limited to 750 KB; generic API JSON requests to 1 MB. Bulk export is limited to 100 transcripts and 6 MB of source text per request.
401 کا مطلب ہے کہ کلید غائب ہے، ختم ہو گئی ہے یا منسوخ کر دی گئی ہے؛ 403 کا مطلب ہے کہ سکوپ غائب ہے؛ 402 کے لیے Creator کی ضرورت ہے؛ 429 کا مطلب ہے استعمال کی حد؛ 503 کا مطلب ہے کہ فراہم کنندہ ترتیب نہیں دیا گیا ہے۔ پروسیسنگ کی ناکامیوں پر ایک خرابی واپس آتی ہے اور ٹرانسکرپٹ نہیں بناتی۔
HTTP MCP
Endpoint: https://api.tokscripts.com/api/mcp. Manual bearer-key setup; use a client with custom authorization headers. Automatic OAuth connections and clients that cannot supply headers are not supported by this release.
ٹولز: transcribe_video, search_transcripts, get_transcript, get_usage, format_transcript, write_from_transcript۔ سورس ٹیکسٹ ناقابل اعتماد ان پٹ ہے؛ دوبارہ استعمال کرنے سے پہلے حقائق اور تخمینی ٹائم سٹیمپ کا جائزہ لیں۔
موجودہ پلیٹ فارم کی دستیابی
Check لائیو صلاحیت کی حیثیت. Free users can transcribe TikTok links. YouTube and Instagram are also available to free accounts when the media service is connected. All platforms share the same daily transcription allowance. TikTok uses the configured link provider. TikTok video downloads are free for signed-in accounts and can use the configured TikTok provider without the media service. Audio and other platform media downloads require Creator and the separate media service. Deployment credentials and provider availability determine which operations can run.