tiktok-live-api 1.4.1 ā 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ That's it. **No complex setup, no protobuf, no reverse engineering, no breakages
|
|
|
68
68
|
|
|
69
69
|
## š Try It Now ā Live Demo
|
|
70
70
|
|
|
71
|
-
Copy-paste this into a file and run it. Connects to a live TikTok stream and prints every event in real time. Works on the free Community tier ā
|
|
71
|
+
Copy-paste this into a file and run it. Connects to a live TikTok stream and prints every event in real time. Works on the free Community tier ā 2 hours per WebSocket connection.
|
|
72
72
|
|
|
73
73
|
**Save as `demo.mjs` and run with `node demo.mjs`:**
|
|
74
74
|
|
|
@@ -94,7 +94,7 @@ client.on('connected', () => console.log(`\nā
Connected to @${LIVE_USERNAME
|
|
|
94
94
|
client.on('disconnected', () => console.log(`\nš Disconnected. Received ${events} events.\n`));
|
|
95
95
|
|
|
96
96
|
client.connect();
|
|
97
|
-
// Press Ctrl+C to stop. Community tier
|
|
97
|
+
// Press Ctrl+C to stop. Community tier caps each WebSocket at 2 hours.
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
<details>
|
|
@@ -128,7 +128,7 @@ ws.on('message', (raw) => {
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
ws.on('close', () => console.log(`\nš Disconnected. Received ${events} events.\n`));
|
|
131
|
-
// Press Ctrl+C to stop. Community tier
|
|
131
|
+
// Press Ctrl+C to stop. Community tier caps each WebSocket at 2 hours.
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
</details>
|
|
@@ -151,7 +151,7 @@ client.connect();
|
|
|
151
151
|
2. Sign up (no credit card required)
|
|
152
152
|
3. Copy your API key
|
|
153
153
|
|
|
154
|
-
The free **Community** tier gives you 2,500 requests/day and 15 WebSocket connections
|
|
154
|
+
The free **Community** tier gives you 2,500 requests/day and 15 WebSocket connections (2 hours per connection). Forever free.
|
|
155
155
|
|
|
156
156
|
## Environment Variable
|
|
157
157
|
|
|
@@ -371,21 +371,21 @@ client.on('gift', (event: GiftEvent) => {
|
|
|
371
371
|
| **Maintenance** | ā Zero ā we handle it | ā You fix breakages | ā You fix breakages |
|
|
372
372
|
| **CAPTCHA Solving** | ā Built-in (Pro+) | ā | ā |
|
|
373
373
|
| **Feed Discovery** | ā See who's live | ā | ā |
|
|
374
|
-
| **Free Tier** | ā 2,500 req/day, 15 WS,
|
|
374
|
+
| **Free Tier** | ā 2,500 req/day, 15 WS, 2h per WS | ā Free (unreliable) | ā Free (unreliable) |
|
|
375
375
|
| **ESM + CJS** | ā Both supported | ā | N/A |
|
|
376
376
|
|
|
377
377
|
## Pricing
|
|
378
378
|
|
|
379
379
|
| Tier | Requests/Day | WebSocket Connections | Price |
|
|
380
380
|
|------|-------------|----------------------|-------|
|
|
381
|
-
| Community | 2,500 | 15 (
|
|
382
|
-
| Pro | 75,000 | 50 (8h) | from $59/mo +tax |
|
|
383
|
-
| Ultra | 300,000 | 250 (8h) | from $219/mo +tax |
|
|
384
|
-
| **Global Agency** | 300,000 | 500 (8h) + Firehose | $549/mo +tax |
|
|
381
|
+
| Community | 2,500 | 15 (2h per WS) | Free forever |
|
|
382
|
+
| Pro | 75,000 | 50 (8h per WS) | from $59/mo +tax |
|
|
383
|
+
| Ultra | 300,000 | 250 (8h per WS) | from $219/mo +tax |
|
|
384
|
+
| **Global Agency** | 300,000 | 500 (8h per WS) + Firehose | $549/mo +tax |
|
|
385
385
|
|
|
386
386
|
Full plan details at [tik.tools/pricing](https://tik.tools/pricing). Highlights:
|
|
387
387
|
|
|
388
|
-
- **Community** ($0 forever): 2,500 req/day Ā· 15 WS Ā·
|
|
388
|
+
- **Community** ($0 forever): 2,500 req/day Ā· 15 WS Ā· 2 hours per connection Ā· masked leaderboards. Designed for devs building apps ā upgrade when you need real usernames. No datacenter proxies; calls must come from your own IP.
|
|
389
389
|
- **Pro** (monthly): 75K req/day Ā· 50 WS Ā· unmasked leaderboards Ā· CAPTCHA Solver Ā· Feed Discovery Ā· 5 AI caption streams Ā· priority routing Ā· chat support
|
|
390
390
|
- **Ultra** (monthly): 300K req/day Ā· 250 WS Ā· 20 AI caption streams Ā· **League Rankings API** unmasked Ā· 99.5% uptime SLA Ā· priority chat support
|
|
391
391
|
- **Global Agency** ($549/mo): Everything in Ultra + **Live Gifter Firehose WS** (region/league/global filters, min-diamond threshold) + VIP Telegram alerts + VIP Web Vault (unmasked historical visual access)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tiktok-live-api",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Unofficial TikTok LIVE API Client ā Real-time chat, gifts, viewers, battles, and AI live captions from any TikTok livestream. Managed WebSocket API with 99.9% uptime.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|