پرش به محتوا

کاتالوگ و تشخیص لینک | مرجع API

← همهٔ بخش‌های مرجع · آدرس پایه: https://trendism.ir/api/v3

GET /categories

فهرست دسته‌ها

Categories

دسترسی لازم: read

پارامترها
نامنوعتوضیح
platform (query) stringPlatform slug, e.g. instagram
پاسخ 200 (CategoryList)
نامنوعتوضیح
object *string (list)
data *Category[]
next_cursor *string | null

GET /platforms

فهرست پلتفرم‌ها

Platforms

دسترسی لازم: read

پاسخ 200 (PlatformList)
نامنوعتوضیح
object *string (list)
data *Platform[]
next_cursor *string | null

GET /services

فهرست سرویس‌ها با قیمت شما

Active services with your prices

دسترسی لازم: read

پارامترها
نامنوعتوضیح
platform (query) string
category (query) stringCategory slug
target_kind (query) string
q (query) stringSearch in the Persian name
پاسخ 200 (ServiceList)
نامنوعتوضیح
object *string (list)
data *Service[]
next_cursor *string | null

GET /services/{id}

جزئیات یک سرویس

A service

دسترسی لازم: read

پارامترها
نامنوعتوضیح
id (path) *integer (int64)
پاسخ 200 (Service)
نامنوعتوضیح
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 *stringdefault, 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