Public API v1

The PR.SOCIAL Public API is a bot-operator API: you link a fleet of social media accounts to your API key, pull orders (follow, like, subscribe, view and other actions), execute them with your accounts and report the results. Every confirmed completion is paid to your PR.SOCIAL balance instantly.

BASEhttps://api.pr.social/api/v1

All responses are JSON. Business errors are returned as {"error":"..."} with HTTP 200 — check the error field, not the HTTP status. The only non-200 transport answers are 400 bad_json for a malformed JSON body, 404 not_found for an unknown endpoint path, 429 for IP-level flood, and 500 server_error if something crashes on our side (safe to retry with backoff). Amounts are USD.

Forward compatibility: we may add NEW response fields at any time — parse tolerantly and ignore unknown fields. Breaking changes only ever ship as a new API version (/api/v2), announced in advance.

Two working modes share the same order pool:

ModeMethodsFor whom
Batch (recommended)/getOrders + /reportFleets. One call takes up to 200 orders for your free accounts, one call settles up to 500 completions. An operator with 10 000 accounts needs ~70 requests per 10-minute cycle instead of 20 000
Single/getOrder + /check (+ /ignore, /cancel)The classic flow — the easiest way to start, compatible with most existing bot software

Authentication

Every method (except /health) requires the api_token query parameter. Tokens start with prsa_.

Example
https://api.pr.social/api/v1/services?api_token=prsa_YOUR_API_KEY
iNote: API keys are issued personally by the PR.SOCIAL team — there is no self-service key generation. Sign in on PR.SOCIAL and ask for one in Support (a ticket on the topic API key): the key then shows in the Developer area.

Keep the token secret and use it server-side only. A missing, malformed, disabled or revoked token answers {"error":"api_token_invalid"}. If the whole API is switched off for maintenance, every method answers {"error":"service_unavailable"}.

Workflow

Bot lifecycle
1. POST /accounts/add link your account fleet (once per fleet change) 2. GET /services pick a service_id with available > 0 3. POST /getOrders take up to 200 orders for your free accounts 4. perform actions execute each order with the assigned account 5. POST /report confirm completions -> paid to balance INSTANTLY 6. repeat from 3 respect retry_after on empty / flood answers

Each issued order is an assignment: order + account, held in our system for 600 seconds. Report it within that window (or release it with /ignore). An account holds one active assignment at a time, globally — across all API keys.

Earnings are credited to your PR.SOCIAL user balance the moment a completion is settled. Withdraw through your PR.SOCIAL account as usual.

iStarting out? Use the single-order flow instead of batch: /getOrder to take one order for one account, /check to confirm it. Same rules, same payouts.

Rate limits & pacing

LimitDefaultOn exceed
Requests per key120 per minute{"error":"flood","retry_after":N}
Requests per key, daily10 000flood with retry_after: 60
Task completions per key, daily1 000flood (retry_after 60 on /getOrder, 3600 on /getOrders)
Linked active accounts per key100Per-username limit_reached in /accounts/add
Usernames per /accounts/add or /accounts/unlink1 000too_many_accounts
Orders per /getOrders call200Silently capped
Items per /report call500too_many_reports
Requests per IP (all keys)Not below your key's rateHTTP 429 with {"error":"...","retry_after":N} and a Retry-After header — wait N seconds, do not retry at once

Per-key limits (rate, daily tasks, max accounts) are individual settings — ask in Support (a ticket on the topic API key) to raise them.

Calls that finish or release taken work (/check, /report, /ignore, /cancel) are counted apart from all other calls, each group against the same per-minute rate: asking for work can never get your reports refused.

Pacing discipline

RuleDetail
After empty — back offAn {"error":"empty","retry_after":60} answer starts a 60-second cooldown on that service_id. /getOrder: while the service still has open orders that this account cannot take (already done, already a member, another country, or dropped with /ignore or /cancel in the last 24 hours), the cooldown covers this account only — keep asking with your other accounts; when the service has no open orders at all, it covers your whole key. /getOrders: an empty batch puts the cooldown on your whole key. Polling inside a cooldown answers flood with the remaining wait. Other services are not affected
Assignment TTL = 600 sReport or release each taken order within 10 minutes. After the TTL the assignment expires and reporting it answers order_not_taken
One assignment per accountCalling /getOrder for an account that already holds an assignment answers flood with the remaining TTL. /getOrders simply skips busy accounts
Action delaydelay in /services (15 s) is the recommended pause between actions on one account

Account checks

Your API key has a check_mode flag (enabled by the PR.SOCIAL team). When it is on, freshly linked accounts are queued for an automatic profile quality check, and orders are issued only to accounts with verdict passed or skipped. When it is off, checks are not queued; only accounts explicitly marked failed (e.g. by an admin) are excluded from orders.

check_status values

ValueMeaningGets orders (check_mode on)
noneNever checked (linked while check_mode was off)No
pendingQueued, waiting for the checkerNo
passedProfile exists and passes the quality gateYes
failedProfile missing, suspended or below quality thresholds. Never gets orders, even with check_mode offNo
skippedPlatform has no automatic checker (e.g. facebook, telegram) — treated as checkedYes

check_reason values

ValueWhen
account_not_foundThe profile does not exist on the platform
account_suspendedThe profile is banned / suspended by the platform
quality:<ids>Failed one or more quality checks (followers, posts, avatar, privacy…); ids list the failed checks
admin_force_approveManually approved by an administrator
platform_not_checkableVerdict skipped — no checker for this platform
iRe-queueing checks. POSTing the same username list to /accounts/add again re-queues the check for every account of yours that is still none or pending (counted in already_yours + check_queued). Use this after check_mode was turned on for your key.

Identity normalization

Everywhere in the API an account is identified by its normalized username. Usernames are accepted in three forms and normalized automatically:

InputNormalized
Some_Usersome_user
@Some_Usersome_user
https://www.tiktok.com/@Some_Usersome_user (last URL path segment)

Rules: lowercase, leading @ stripped; allowed characters are a-z 0-9 . _ -, must start with a letter or digit, max 100 characters. Anything else is rejected as invalid (in bulk methods) or account_identity_invalid (in order methods).

One normalized username = one account, globally. An account active under another operator's key cannot be linked to yours (it comes back in the taken list) until they unlink it.

Website traffic

Website traffic is taken a whole order at a time: no accounts to link, no visitors to register. Every traffic service has its own service_id (the same number as on the PRM4U panel) and its name says what a visit is: the country it comes from and its source, for example 630 South Korea Traffic - [Google], 4920 Canada Traffic - [Direct Visits/No Referrer], 618 Canada Traffic - [Facebook]. Choose the numbers your software serves and work only those.

  1. GET /traffic/services — every traffic service: service_id, name, countries (empty: any country), seconds on the page, rate_per_1000 (USD), open_orders, visits_open.
  2. GET /traffic/orders?service_ids=630,4920 — open orders nobody has taken (all services when none is given), oldest first: order_id, service_id, url, quantity (visits to deliver).
  3. POST /traffic/take {"order_ids":[123]} — the order is yours alone; nobody else is given it.
  4. Deliver the visits: open the url from the service's country, from its source, and stay the seconds.
  5. POST /traffic/report {"reports":[{"order_id":123,"delivered":1500}]} — delivered is the running total of visits you delivered on the order. Report as you go: every report pays the visits it adds to your balance at once, and the customer sees the progress. The last report carries "done": true.
MethodBody / queryAnswer
GET /traffic/services—{"ok":true,"services":[...]}
GET /traffic/ordersservice_ids (comma list), limit (up to 500, default 100){"ok":true,"orders":[...]}
POST /traffic/take{"order_ids":[...]}, up to 100{"ok":true,"results":[{"order_id","ok":true,"order":{...}} | {"order_id","error"}]}
POST /traffic/report{"reports":[{"order_id","delivered","done"}]}, up to 100{"ok":true,"results":[{"order_id","ok":true,"delivered","paid_visits","earned","status","closed"} | {"order_id","error"}]}
GET /traffic/taken—your taken orders with what you reported: {"ok":true,"orders":[...]}
POST /traffic/release{"order_ids":[...]}the orders go back to the list; what you reported stays paid
One order, start to end
GET https://api.pr.social/api/v1/traffic/orders?api_token=prsa_YOUR_API_KEY&service_ids=630 POST https://api.pr.social/api/v1/traffic/take?api_token=prsa_YOUR_API_KEY { "order_ids": [2114901] } POST https://api.pr.social/api/v1/traffic/report?api_token=prsa_YOUR_API_KEY { "reports": [ { "order_id": 2114901, "delivered": 5000 } ] } POST https://api.pr.social/api/v1/traffic/report?api_token=prsa_YOUR_API_KEY { "reports": [ { "order_id": 2114901, "delivered": 9876, "done": true } ] }

Rules. A report with the same delivered again is answered ok and paid once; a smaller one is delivered_went_down; more than the order's quantity is counted as its quantity (capped). All visits delivered: the order is completed. "done": true with fewer: the order closes partially and the customer gets the rest back; with none delivered it goes back to the list. Can not finish? /traffic/release gives the order back for another software. An order taken and not reported for 24 hours may be taken by another key. An order the customer cancels answers order_closed: stop working it (what you reported before is paid).

Errors: traffic_not_on_key (your key does not take traffic: ask in Support), order_not_found, order_closed, order_taken (another key has it), order_not_taken (not yours), delivered_went_down, invalid_item, flood (the key's daily task limit: a visit counts as a task), busy (retry the same report), order_ids_required, too_many_orders, reports_required, too_many_reports. The visit kinds (visit_15, visit_30, visit_60) are not in /services, and /getOrders answers them service_id_invalid.

Errors

Business errors come back as {"error":"code"} with HTTP 200, sometimes with extra fields (retry_after, max). Transport errors: HTTP 400 {"error":"bad_json"} for an unparseable JSON body, HTTP 429 for IP-level flood.

ErrorMeaning / what to do
api_token_invalidToken missing, malformed (must start with prsa_), unknown, disabled, or the owner account is banned. Check the api_token parameter; contact support if it worked before
service_unavailableThe API is temporarily switched off, or the order engine (Redis) is down. Retry with backoff, orders and balances are safe
floodToo fast: per-key rate limit, daily request/task limit, cooldown violation after empty, or the account already holds an assignment. Wait retry_after seconds, then retry
emptyNo order for this account on this service right now (/getOrders: for none of the accounts in the batch). Wait retry_after seconds (60) before asking again with that account (/getOrders: on that service) — an early poll answers flood. Whether your other accounts wait too: see Pacing discipline
service_id_invalidservice_id missing, not a number, unknown or inactive. Refresh /services
account_identity_invalidaccount_identity missing or fails normalization
account_not_linkedThe account is not linked to your key on this service's platform (or is unlinked/banned). Link it via /accounts/add. In /getOrders: no eligible accounts at all
account_check_pendingcheck_mode is on and the account has no verdict yet (in /getOrders: none of your accounts has one). Wait for the check to finish — see /accounts
account_check_failedThe account failed the quality check (in /getOrders: all your eligible accounts failed). It will not receive orders
order_not_takenNo live assignment matches this order + account + key: it expired (600 s TTL), was already reported/released, or was taken under a different key
completion_not_registeredThe order stopped accepting completions (finished or canceled) before your report, or the settlement failed. The assignment is released; take a new order
platform_invalidUnknown or inactive platform value in an accounts method
usernames_requiredusernames must be a non-empty array
too_many_accountsMore than max (1000) usernames in one request — split the batch
reports_requiredreports must be a non-empty array
too_many_reportsMore than max (500) items in one /report call — split the batch
invalid_itemPer-item error inside /report results: the item is missing a numeric order_id or a valid account
server_errorUnexpected error on our side (HTTP 200 inside method flows, HTTP 500 on a crash — same code either way). Safe to retry in 30–60 seconds; if persistent, contact support
bad_jsonHTTP 400. The request body is not valid JSON. Send Content-Type: application/json and a well-formed body
not_foundHTTP 404. Unknown endpoint path — check the method URL against this page

Health

GET/api/v1/health

Liveness probe. The only method that requires no authentication.

Response fields

FieldDescription
okAlways true when the API process is up
serviceService name
versionAPI build version
redisOrder engine state. false means order methods will answer service_unavailable
cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/health"
Request: Python
import requests r = requests.get("https://api.pr.social/api/v1/health") print(r.json())
Request: Node.js
const r = await fetch('https://api.pr.social/api/v1/health'); console.log(await r.json());
Request: PHP
<?php $ch = curl_init('https://api.pr.social/api/v1/health'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "service": "PR.SOCIAL Worker API", "version": "2.1.0", "redis": true }

Services

GET/api/v1/services

Lists every active service (platform + action) with its reference payout and the number of orders currently open. service_id is what you pass to the order methods.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token

Response fields (per service)

FieldDescription
service_idService ID for order methods
nameHuman-readable label
platformPlatform slug — also the platform value for account methods
actionAction type (follow, like, view, …)
rewardReference payout per completed action, USD. The exact payout is fixed per order at assignment time
availableOrders currently open with free capacity
delayRecommended pause between actions on one account, seconds

Note: this method returns {"services":[...]} without an ok field.

cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/services?api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/services", params={"api_token": "prsa_YOUR_API_KEY"}, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/services' + '?api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $ch = curl_init('https://api.pr.social/api/v1/services' . '?api_token=prsa_YOUR_API_KEY'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "services": [ { "service_id": 12, "name": "TikTok Followers", "platform": "tiktok", "action": "follow", "reward": 0.001, "available": 8, "delay": 15 } ] }

Link accounts

POST/api/v1/accounts/add

Links up to 1000 accounts of one platform to your API key in a single call. Orders are only ever issued to linked accounts. Usernames are accepted as name, @name or a profile URL — see Identity normalization.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token

JSON body

FieldTypeDescription
platformstringrequiredPlatform slug from /services (instagram, tiktok, twitter, youtube, telegram, facebook, …)
usernamesarrayrequired1–1000 usernames / @handles / profile URLs, or objects {"username":"...","country":"US"}: the two-letter country the account works from (orders sold for some countries go only to accounts of those countries)

Response fields

FieldDescription
addedNew accounts linked
reactivatedPreviously unlinked accounts re-linked (stats and check verdict reset on owner change)
already_yoursAlready active under your key — unchecked ones get their check re-queued
takenUsernames active or banned under another operator — not linkable
invalidUsernames that failed normalization
limit_reachedUsernames rejected because your active-accounts cap was hit
total_activeActive accounts on your key after this call
max_accountsYour active-accounts cap (default 100)
check_mode1 if account checks are enabled for your key, else 0
check_queuedAccounts queued for a quality check by this call

Errors: platform_invalid, usernames_required, too_many_accounts.

cURL
Python
Node.js
PHP
Request: cURL
curl -X POST \ "https://api.pr.social/api/v1/accounts/add?api_token=prsa_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"tiktok","usernames":["user_one","@user_two","https://www.tiktok.com/@user_three"]}'
Request: Python
import requests r = requests.post( "https://api.pr.social/api/v1/accounts/add", params={"api_token": "prsa_YOUR_API_KEY"}, json={ "platform": "tiktok", "usernames": ["user_one", "@user_two", "https://www.tiktok.com/@user_three"], }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/accounts/add' + '?api_token=prsa_YOUR_API_KEY', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ platform: 'tiktok', usernames: ['user_one', '@user_two'], }), }); console.log(await r.json());
Request: PHP
<?php $ch = curl_init('https://api.pr.social/api/v1/accounts/add' . '?api_token=prsa_YOUR_API_KEY'); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_HTTPHEADER => ['Content-Type: application/json'], CURLOPT_POSTFIELDS => json_encode([ 'platform' => 'tiktok', 'usernames' => ['user_one', '@user_two'], ]), CURLOPT_RETURNTRANSFER => true, ]); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "platform": "tiktok", "max_accounts": 100, "check_mode": 1, "check_queued": 3, "added": 2, "reactivated": 1, "already_yours": 0, "taken": ["someone_elses_acc"], "invalid": ["***bad***"], "limit_reached": [], "total_active": 54 }

List accounts

GET/api/v1/accounts

Lists accounts linked to your key with their check verdicts and stats. Unlinked accounts are hidden by default — pass status=unlinked to see them.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token
platformstringoptionalFilter by platform
statusstringoptionalactive / unlinked / banned
pageintoptionalDefault 1
limitintoptionalDefault 100, max 500

Response fields (per account)

FieldDescription
idInternal account id
platform, usernameNormalized identity
statusactive / unlinked / banned
check_statusnone / pending / passed / failed / skipped — see Account checks
check_reasonVerdict detail, null unless failed/skipped/approved
checked_atWhen the last check finished, null if never
followers, postsProfile counters captured by the check, null if unchecked
tasks_completedCompletions by this account under your key
last_task_atLast completion time
linked_atWhen the account was linked
cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/accounts?platform=tiktok&page=1&limit=100&api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/accounts", params={ "api_token": "prsa_YOUR_API_KEY", "platform": "tiktok", "page": 1, "limit": 100, }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/accounts' + '?platform=tiktok&page=1&limit=100' + '&api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $qs = http_build_query([ 'api_token' => 'prsa_YOUR_API_KEY', 'platform' => 'tiktok', 'page' => 1, 'limit' => 100, ]); $ch = curl_init("https://api.pr.social/api/v1/accounts?$qs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "total": 54, "page": 1, "limit": 100, "accounts": [ { "id": 311, "platform": "tiktok", "username": "user_one", "status": "active", "check_status": "passed", "check_reason": null, "checked_at": "2026-07-10 08:12:44", "followers": 120, "posts": 14, "tasks_completed": 87, "last_task_at": "2026-07-14 02:11:09", "linked_at": "2026-06-30 19:04:12" } ] }

Get orders (batch)

POST/api/v1/getOrders

Takes up to 200 orders in one call. The server picks your free eligible accounts (least recently worked first), matches them to open orders of the service and creates one assignment per account. Accounts never get an order they have already completed.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token

JSON body

FieldTypeDescription
service_idintrequiredService from /services
countintoptionalOrders wanted, 1–200 (default 1). Capped by your remaining daily task budget

Response fields

FieldDescription
issuedAssignments created (may be less than count)
ttlAssignment lifetime, seconds (600). Report within this window
ordersArray of {order_id, url, account}: execute the action on url with account, then include the same pair in /report

Errors: service_id_invalid, account_not_linked, account_check_pending, account_check_failed, flood, empty, service_unavailable. The same order can appear for several of your accounts — each pays separately.

iWhich orders you get. One service gathers orders from many customers at different rates. Orders are handed out in queue order — the order that has waited longest goes first, whatever its rate — for /getOrder as well. Your fleet gets each rate in about its share of the open work, and every action is paid at the rate of its own order.
cURL
Python
Node.js
PHP
Request: cURL
curl -X POST \ "https://api.pr.social/api/v1/getOrders?api_token=prsa_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"service_id":12,"count":50}'
Request: Python
import requests r = requests.post( "https://api.pr.social/api/v1/getOrders", params={"api_token": "prsa_YOUR_API_KEY"}, json={"service_id": 12, "count": 50}, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/getOrders' + '?api_token=prsa_YOUR_API_KEY', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ service_id: 12, count: 50 }), }); console.log(await r.json());
Request: PHP
<?php $ch = curl_init('https://api.pr.social/api/v1/getOrders' . '?api_token=prsa_YOUR_API_KEY'); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_HTTPHEADER => ['Content-Type: application/json'], CURLOPT_POSTFIELDS => json_encode([ 'service_id' => 12, 'count' => 50, ]), CURLOPT_RETURNTRANSFER => true, ]); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "issued": 3, "ttl": 600, "service_id": 5, "platform": "tiktok", "action": "follow", "orders": [ { "order_id": 217931, "url": "https://www.tiktok.com/@target_one", "account": "user_one", "reward": 0.001 }, { "order_id": 217931, "url": "https://www.tiktok.com/@target_one", "account": "user_two", "reward": 0.001 }, { "order_id": 218002, "url": "https://www.tiktok.com/@target_two", "account": "user_three", "reward": 0.001 } ] }
Response Example: no orders
{ "error": "empty", "retry_after": 60 }

Report completions (batch)

POST/api/v1/report

Confirms up to 500 executed orders in one call. Each item is settled independently: valid ones are paid to your balance instantly, invalid ones come back with a per-item error — the rest of the batch is unaffected. Settlement is idempotent: re-reporting an already-settled pair answers ok without double pay.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token

JSON body

FieldTypeDescription
reportsobject[]required1–500 items of {order_id, account} — exactly the pairs issued by /getOrders

Response fields

FieldDescription
settledCompletions paid by this call
resultsPer-item outcome, same order as the request: {order_id, account, ok:true} or {order_id, account, error}

Batch errors: reports_required, too_many_reports, service_unavailable. Per-item errors: invalid_item, order_not_taken, completion_not_registered, account_not_linked (the account was unlinked or banned after the order was issued — do not retry).

cURL
Python
Node.js
PHP
Request: cURL
curl -X POST \ "https://api.pr.social/api/v1/report?api_token=prsa_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"reports":[{"order_id":217931,"account":"user_one"},{"order_id":218002,"account":"user_three"}]}'
Request: Python
import requests r = requests.post( "https://api.pr.social/api/v1/report", params={"api_token": "prsa_YOUR_API_KEY"}, json={"reports": [ {"order_id": 217931, "account": "user_one"}, {"order_id": 218002, "account": "user_three"}, ]}, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/report' + '?api_token=prsa_YOUR_API_KEY', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ reports: [ { order_id: 217931, account: 'user_one' }, { order_id: 218002, account: 'user_three' }, ]}), }); console.log(await r.json());
Request: PHP
<?php $ch = curl_init('https://api.pr.social/api/v1/report' . '?api_token=prsa_YOUR_API_KEY'); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_HTTPHEADER => ['Content-Type: application/json'], CURLOPT_POSTFIELDS => json_encode(['reports' => [ ['order_id' => 217931, 'account' => 'user_one'], ['order_id' => 218002, 'account' => 'user_three'], ]]), CURLOPT_RETURNTRANSFER => true, ]); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "settled": 1, "results": [ { "order_id": 217931, "account": "user_one", "ok": true, "reward": 0.001 }, { "order_id": 218002, "account": "user_three", "error": "order_not_taken" } ] }

Get order (single)

GET/api/v1/getOrder

Takes one order for one account. The account must be linked to your key on the service's platform and pass the check gate. The order is assigned for 600 seconds — confirm with /check or release with /ignore.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token
service_idintrequiredService from /services
account_identitystringrequiredUsername of the linked account (any accepted form)

Response fields

FieldDescription
response.idOrder ID — pass as order_id to /check
response.urlTarget URL to act on
response.retry_afterRecommended pause before this account's next action, seconds

Errors: service_id_invalid, account_identity_invalid, account_not_linked, account_check_pending, account_check_failed, flood, empty, service_unavailable.

cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/getOrder?service_id=12&account_identity=user_one&api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/getOrder", params={ "api_token": "prsa_YOUR_API_KEY", "service_id": 12, "account_identity": "user_one", }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/getOrder' + '?service_id=12&account_identity=user_one' + '&api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $qs = http_build_query([ 'api_token' => 'prsa_YOUR_API_KEY', 'service_id' => 12, 'account_identity' => 'user_one', ]); $ch = curl_init("https://api.pr.social/api/v1/getOrder?$qs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "response": { "id": 217931, "url": "https://www.tiktok.com/@target_one", "service_id": 5, "platform": "tiktok", "action": "follow", "reward": 0.001, "retry_after": 15 } }
Response Example: no orders
{ "error": "empty", "retry_after": 60 }

Check (single)

GET/api/v1/check

Confirms that the account executed the order taken via /getOrder. On success the reward is credited to your balance instantly and the assignment is released. Idempotent — re-checking a settled pair answers ok again.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token
order_idintrequiredresponse.id from /getOrder
account_identitystringrequiredThe same account the order was taken for

Errors: order_not_taken (assignment expired, released, or the pair does not match), completion_not_registered (order finished/canceled before your report), account_not_linked (the account was unlinked or banned after the order was issued — do not retry), account_identity_invalid, service_unavailable.

cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/check?order_id=217931&account_identity=user_one&api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/check", params={ "api_token": "prsa_YOUR_API_KEY", "order_id": 217931, "account_identity": "user_one", }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/check' + '?order_id=217931&account_identity=user_one' + '&api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $qs = http_build_query([ 'api_token' => 'prsa_YOUR_API_KEY', 'order_id' => 217931, 'account_identity' => 'user_one', ]); $ch = curl_init("https://api.pr.social/api/v1/check?$qs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true, "reward": 0.001 }

Ignore

GET/api/v1/ignore

Releases an assignment without completing it — the order slot returns to the pool immediately and the account becomes free for the next /getOrder. Use it when the account cannot or does not want to perform the action. The ignored order is not offered to this account again for ~24 hours; other accounts still receive it.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token
order_idintrequiredOrder to release
account_identitystringrequiredThe account holding the assignment

Errors: order_not_taken, account_identity_invalid, service_unavailable.

cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/ignore?order_id=217931&account_identity=user_one&api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/ignore", params={ "api_token": "prsa_YOUR_API_KEY", "order_id": 217931, "account_identity": "user_one", }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/ignore' + '?order_id=217931&account_identity=user_one' + '&api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $qs = http_build_query([ 'api_token' => 'prsa_YOUR_API_KEY', 'order_id' => 217931, 'account_identity' => 'user_one', ]); $ch = curl_init("https://api.pr.social/api/v1/ignore?$qs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true }

Cancel

GET/api/v1/cancel

Like /ignore it releases the assignment, returns the slot to the pool and hides the order from this account for ~24 hours. The difference: cancel means «the link is broken» (deleted profile, dead page, private video). Once several different accounts cancel the same order, the platform re-checks the link itself and pulls the order from distribution if it is confirmed dead. Use /cancel only for broken or unavailable links and /ignore for everything else — parameters and errors are identical.

Query parameters

ParameterTypeDescription
api_tokenstringrequiredYour API token
order_idintrequiredOrder to release
account_identitystringrequiredThe account holding the assignment

Errors: order_not_taken, account_identity_invalid, service_unavailable.

cURL
Python
Node.js
PHP
Request: cURL
curl "https://api.pr.social/api/v1/cancel?order_id=217931&account_identity=user_one&api_token=prsa_YOUR_API_KEY"
Request: Python
import requests r = requests.get( "https://api.pr.social/api/v1/cancel", params={ "api_token": "prsa_YOUR_API_KEY", "order_id": 217931, "account_identity": "user_one", }, ) print(r.json())
Request: Node.js
const r = await fetch( 'https://api.pr.social/api/v1/cancel' + '?order_id=217931&account_identity=user_one' + '&api_token=prsa_YOUR_API_KEY'); console.log(await r.json());
Request: PHP
<?php $qs = http_build_query([ 'api_token' => 'prsa_YOUR_API_KEY', 'order_id' => 217931, 'account_identity' => 'user_one', ]); $ch = curl_init("https://api.pr.social/api/v1/cancel?$qs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch);
Response Example
{ "ok": true }

Questions or need a key? Ask in Support · Developer area · API home