Public social reads
Read public pages of X, Instagram, TikTok, Threads and Reddit with an API key, and what each call costs.
A Tease Club or Pro key reads public profiles, posts, followers, sounds and trends of X, Instagram, TikTok, Threads and Reddit. No account of your own is needed: Tease reads through its own readers.
Make a call
curl -X POST https://app.tease.club/v1/socials/public/x/search_posts \
-H "Authorization: Bearer $TEASE_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters": {"query": "tease"}}'The answer is 202 with data.job_id. Read the result with GET /v1/jobs/{job_id} until it is done; polling
is free. Pass data.next_cursor back as parameters.cursor for the next page.
A profile answers avatar_url and each post of posts answers cover_url when the platform has one: the
platform's own address, valid for as long as the platform keeps it. TikTok has no profile read: a post's
author.avatar_url is the author's photo.
Instagram posts takes username or user_id. A carousel of Instagram posts and post carries media, one entry per
slide in order: kind (image or video) and url (null when Instagram gave none).
GET /v1/socials/public/operations lists every platform's operations: their parameters
(required_one_of, optional), how old a stored result may be and still answer a call (max_age_seconds, of each
operation its own) and the price of a call in tokens and USD. An operation without a live price is not in the list.
Each account of an Instagram search carries full_name, followers, is_private and is_verified: Tease reads the
profile of every account found, at the price of the one call. Instagram gives no next page of a search.
Fresh or stored
A call with the same parameters as a stored result no older than max_age_seconds is answered from it at once:
200 with meta.freshness {"status": "cached", "cache_hit": true, "stale_seconds": …}, and stale_seconds is never
above max_age_seconds. max_age_seconds: 0 means the operation is always read live. Add "fresh": true to the body
to read the platform now, whatever is stored.
What it costs
Each call is paid in tokens from the organization's wallet (1 token = $0.0002) at the operation's price. The prices are in the group Public social reads on the Pricing page. A stored result costs the same as a live read.
Every paid answer carries meta.usage: tokens spent by this call, balance left, and balance_low when the
wallet holds fewer than 1,000 of the cheapest reads. GET /v1/balance answers the wallet: balance,
included, purchased and the top-ups on offer. Public reads count toward the minute limit and the daily API
cap of Settings › Wallet.
Errors
| Code | Meaning |
|---|---|
402 no_tokens | The wallet is empty: top up in Settings › Wallet. |
429 rate_limited / 429 daily_limit | The minute limit or the daily cap is reached; see Retry-After. |
429 pool_busy | The platform's readers already hold more reads than they finish in 15 minutes; nothing is charged, call again after Retry-After. |
422 invalid_params | A required parameter is missing or wrong. |
422 cursor_expired | The Instagram following cursor is older than 15 minutes: start from the first page. |
422 target_unreadable | Every reader was refused this target while they read others: the platform answers it in a form no reader can read. It is not asked again for an hour (the job's tokens are given back); fresh: true asks one reader now. |
404 target_not_found | No such account, post or sound (in the job result). |
410 target_suspended / 403 target_private | The platform blocked the account, or it is private. |
503 platform_error, engine_unavailable, pool_empty, price_unavailable | Reading is unavailable right now; retry after Retry-After (pool_empty: until a resting reader's next check, up to an hour). A job no reader could finish ends in engine_unavailable within 15 minutes. |