Reference

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.

PlanPer minutePer dayTotal requests
Lite103,000Unlimited
Basic4010,000Unlimited
Pro7025,000Unlimited
Premium +15050,000Unlimited
Enterprise500150,000Unlimited

Errors

Errors return the relevant HTTP status with a stable code and a human-readable message.

HTTPCodeMeaning
401MISSING_KEYNo API key was provided.
403INVALID_KEYThe key does not exist.
403KEY_DISABLEDThe key has been disabled.
403KEY_EXPIREDThe subscription has ended.
403ENDPOINT_NOT_ALLOWEDYour plan does not include this endpoint.
429RATE_LIMIT_EXCEEDEDRate limit reached; see Retry-After.
404NOT_FOUNDThe requested resource was not found.
424FETCH_FAILEDUpstream request to TikTok failed; retry.

Support

Have a question or hit a problem? Reach out:

Channel
Email[email protected]
Telegram@f1ifb2