Introduction
The Omar-Thing API returns TikTok data over HTTPS. All endpoints live under a single base URL and respond with JSON.
https://dev.omar-thing.site/api/v1
To obtain a key, subscribe to a plan on Patreon; the key is created and emailed to you. Your subscription tier maps to a plan by price.
Authentication
Every endpoint except /endpoints requires your API key. Provide it as a query parameter or a request header.
GET /api/v1/profile?username=tiktok&key=YOUR_API_KEY GET /api/v1/profile?username=tiktok&api_key=YOUR_API_KEY X-API-Key: YOUR_API_KEY
Pagination
List endpoints return a single page per request. To fetch the next page, send the returned next_cursor value as the cursor parameter. Continue until has_more is false.
{
"next_cursor": "50",
"has_more": true,
"count": 50,
"followers": [ ]
}
Clean format
By default, data endpoints return TikTok's complete response. Append format=clean to receive a reduced set of the most common fields. For comments, the clean format also includes nested replies.
GET /api/v1/profile?username=tiktok&key=YOUR_API_KEY
GET /api/v1/profile?username=tiktok&format=clean&key=YOUR_API_KEY
Rate limits
Two limits apply, both set by your plan: a per-minute rate and a per-day cap. There is no overall (monthly/total) cap — that is unlimited. Exceeding either returns HTTP 429 with a Retry-After header indicating how many seconds to wait. Use /usage to view your current consumption.
| Plan | Per minute | Per day | Total requests |
|---|---|---|---|
| Lite | 10 | 3,000 | Unlimited |
| Basic | 40 | 10,000 | Unlimited |
| Pro | 70 | 25,000 | Unlimited |
| Premium + | 150 | 50,000 | Unlimited |
| Enterprise | 500 | 150,000 | Unlimited |
Errors
Errors return the relevant HTTP status with a stable code and a human-readable message.
| HTTP | Code | Meaning |
|---|---|---|
| 401 | MISSING_KEY | No API key was provided. |
| 403 | INVALID_KEY | The key does not exist. |
| 403 | KEY_DISABLED | The key has been disabled. |
| 403 | KEY_EXPIRED | The subscription has ended. |
| 403 | ENDPOINT_NOT_ALLOWED | Your plan does not include this endpoint. |
| 429 | RATE_LIMIT_EXCEEDED | Rate limit reached; see Retry-After. |
| 404 | NOT_FOUND | The requested resource was not found. |
| 424 | FETCH_FAILED | Upstream request to TikTok failed; retry. |
Support
Have a question or hit a problem? Reach out:
| Channel | |
|---|---|
| [email protected] | |
| Telegram | @f1ifb2 |