Account watch (account_watch)
POST /v1/tools/account_watch runs Account watch, a ready-made tool that returns what a set of accounts published lately and which posts did clearly better than each account's usual. It reads 15 platforms and costs from 9 credits a run. Send max_cost_credits and a run that would cost more is refused for free, with the quote. A run that fetches nothing is not charged.
https://api.socialtoai.com/v1/tools/account_watchTo fill it in on the site, or to see what its result looks like, open Account watch.
Request
A JSON body with the tool's own inputs. The key goes in the Authorization header, as on every call.
| Name | Type | Required | What it is |
|---|---|---|---|
accounts | string[] | Yes | 1 to 20 links to account pages; they may be of different platforms. |
window | string | No | How far back to look for new posts. Values: 7d, 30d (default 7d). |
scale | string | No | Per account: small about 20 posts, medium about 60, large as medium and the comments of 2 posts that took off. Values: small, medium, large (default small). |
max_cost_credits | integer | No | Refused, free, with the quote, if the run would cost more. |
confirm | boolean | No | true: run it whatever it costs. false: answer the plan and its price, and run nothing. Left out: a costly run, and one that runs in the background, answers its price first. |
curl https://api.socialtoai.com/v1/tools/account_watch \ -H "Authorization: Bearer $SOCIALTOAI_KEY" \ -H "Content-Type: application/json" \ -d '{ "accounts": ["https://x.com/NASA"], "window": "7d", "scale": "small" }'import osimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/tools/account_watch", headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"}, json={ "accounts": ["https://x.com/NASA"], "window": "7d", "scale": "small", },)print(response.json())Depths and credits
scale picks the depth. A depth has one price on each platform, stated before the run.
| Depth | scale | What it reads | From (credits) | How it runs | On the 100 free credits |
|---|---|---|---|---|---|
| Small | small | About 20 posts per account. | 9 | runs while you wait | Yes |
| Medium | medium | About 60 posts per account. | 12 | runs while you wait | Yes |
| Large | large | About 60 posts per account, plus the comments on 2 posts that took off. | 22 | runs while you wait | On 10 of 12 platforms |
Credits by platform
The table is for one account. For several links, the quote states the total.
| Platform | Small | Medium | Large |
|---|---|---|---|
| TikTok | 12 | 20 | 36 |
| 12 | 18 | 28 | |
| X | 9 | 13 | 29 |
| 10 | 14 | 24 | |
| 12 | 20 | 30 | |
| 12 | 20 | — | |
| Threads | 12 | 16 | — |
| Telegram | 10 | 14 | — |
| Xiaohongshu | 30 | 54 | 84 |
| Douyin | 10 | 14 | 24 |
| WeChat Articles | 42 | 90 | 120 |
| Bilibili | 10 | 12 | 22 |
| Zhihu | 10 | 14 | 24 |
| Kuaishou | 30 | 54 | 70 |
| WeChat Channels | 42 | 66 | 96 |
What a result holds
| Part | What it holds |
|---|---|
| New posts, by account | What each account published in the time range, with the numbers of every post. |
| Posts that took off | Posts that did clearly better than the account's usual level, and by how much. |
| Main number | Posts that took off |
Quote or run: confirm
The same request either runs or comes back as a quote. confirm, a boolean beside the tool's inputs, decides which:
| confirm | What comes back |
|---|---|
false | The quote, always. Free: nothing is reserved, fetched or charged. |
| left out | The run, when it costs at most 100 credits and is answered within the request. Above that, or when the plan runs in the background (quote.mode is background), the quote first. |
true | The run, charged at most what the quote states. A run that cannot be made is refused for free with not_supported; it is never answered with a quote you did not ask for. |
A run's answer carries a handle: for 24 hours the whole result can be read again with it, for free. Results and handles has the details. The same request sent again under its Idempotency-Key returns the first run's answer and costs 0.
The quote
A quote is the plan of exactly this request and the most a run of it is charged. Nothing is reserved, fetched or charged for it. status is quote.
| Field | Type | What it is |
|---|---|---|
request_id | string | The id of this request. |
schema_version | "v1" | The version of the response format. |
tool | string | The tool the quote is for. |
scale | "small" | "medium" | "large" | null | The depth the quote is for; null for a tool priced by the row. |
status | "quote" | quote: nothing was reserved, fetched or charged. |
quote.credits | integer | The most the run is charged. |
quote.parts.data_first | integer | The first half of the fetching price. |
quote.parts.data_second | integer | The second half of the fetching price. Not charged when less than half of the planned reading comes back. |
quote.parts.analysis | integer | The price of the AI analysis. Charged only when at least nine in ten of the delivered rows were analysed. |
quote.mode | "sync" | "background" | sync: answered within the request. background: answered with a handle, and run in waves. |
quote.waves | integer | How many waves a background run is made of; 1 for a run answered within the request. |
quote.estimated_seconds | integer | About how long the run takes. |
quote.free_tier.runnable | boolean | Whether an account that has not bought credits may run it. |
quote.free_tier.reasons | string[] | When it may not, why: cost, duration or paid_only. |
quote.plan | array | Every step in the order it runs: the platform, the action, how many targets and pages or how many batches of analysis, and its credits. |
quote.price_version | string | The price version the quote was made from. |
billing | object | As in every answer: see Credits and billing. |
How a run is charged
- You see the price first: The total is stated before anything starts. It does not grow if there is more to read.
- Nothing fetched, nothing charged: If nothing could be fetched, the run is not charged. If it stops partway, you are charged only for the part that finished.
- Each depth is one price: A depth has a fixed price on each platform. It is not reduced when there turns out to be less to read, so start small and go deeper when you need more.
- If nothing could be fetched, the run is not charged. If content was fetched but the conditions you set filtered all of it out, only the first half of the fetching price is charged. If a run stops partway, you are charged only for the part that finished.
- The run goes on with what could be read, and the result says how much of the plan that was. The price has three parts: two for fetching and one for the AI analysis. When less than half of the planned reading came back, the second fetching part is not charged. The analysis part is charged only when at least nine in ten of the delivered rows were analysed. A call whose outcome is unknown is never retried on our own.
Over MCP
The MCP tool is account_watch. It takes the same inputs and costs the same. The tool list has the description your AI is given.
Last updated: