کاتالوگ و تشخیص لینک | مرجع API
← همهٔ بخشهای مرجع · آدرس پایه: https://trendism.ir/api/v3
GET /categories
فهرست دستهها
Categories
دسترسی لازم: read
| نام | نوع | توضیح |
|---|---|---|
platform (query) | string | Platform slug, e.g. instagram |
| نام | نوع | توضیح |
|---|---|---|
object * | string (list) | |
data * | Category[] | |
next_cursor * | string | null |
POST /links/resolve
تشخیص لینک و سرویسهای سازگار
Detect the platform and target of a link, and the services that accept it
دسترسی لازم: read
| نام | نوع | توضیح |
|---|---|---|
Idempotency-Key (header) | string | A unique string (for example a UUID). Replays the stored response for 24 hours. |
| نام | نوع | توضیح |
|---|---|---|
link * | string |
| نام | نوع | توضیح |
|---|---|---|
object * | string (link_resolution) | |
platform * | string | |
target_kind * | string | |
normalized_link * | string | |
compatible_service_ids * | integer (int64)[] | |
recommended_service_id * | integer (int64) | null |
GET /platforms
فهرست پلتفرمها
Platforms
دسترسی لازم: read
| نام | نوع | توضیح |
|---|---|---|
object * | string (list) | |
data * | Platform[] | |
next_cursor * | string | null |
GET /services
فهرست سرویسها با قیمت شما
Active services with your prices
دسترسی لازم: read
| نام | نوع | توضیح |
|---|---|---|
platform (query) | string | |
category (query) | string | Category slug |
target_kind (query) | string | |
q (query) | string | Search in the Persian name |
| نام | نوع | توضیح |
|---|---|---|
object * | string (list) | |
data * | Service[] | |
next_cursor * | string | null |
GET /services/{id}
جزئیات یک سرویس
A service
دسترسی لازم: read
| نام | نوع | توضیح |
|---|---|---|
id (path) * | integer (int64) |
| نام | نوع | توضیح |
|---|---|---|
object * | string (service) | |
id * | integer (int64) | The public service number (the same as `service` in /api/v2) |
platform * | string | |
category * | string | |
target_kind * | string | |
type * | string | default, package, custom_comments, mentions, drip_feed, subscription, poll |
name_fa * | string | |
description_fa * | string | |
rate_irr_per_1000 * | integer (int64) | Your price per 1000 (tier and custom rates applied) |
min * | integer (int64) | |
max * | integer (int64) | |
step * | integer (int64) | |
refill_days * | integer | |
cancelable * | boolean | |
dripfeed * | boolean | |
p50_start_seconds * | integer | null | |
p50_complete_seconds * | integer | null | |
status * | string |