This page is generated from the API’s OpenAPI file, which always describes what the server does: /api/v1/openapi.json. You can load it into Postman, Insomnia or your client generator.
Base address: https://sentirsocial.com/api/v1.
Send your access key on every call: Authorization: Bearer sntr_…. GET routes need the read scope; POST routes, the write scope.
Answers are { "data": … }. Errors are { "error": { "code", "message" } }: branch on code, which does not change. They are listed in Limits and errors.
Each route does what its MCP server tool does. A POST that spends tokens asks for no confirmation: your call is the confirmation.
Searches
List searches
GET/api/v1/searches · Read scope
The account's one-off searches, newest first, with each finished one's sentiment split.
Possible errors: invalid_request (400), unauthorized (401), plan_limit (403), rate_limited (429), internal (500). The same function as the MCP tool list_searches.
Start a search
POST/api/v1/searches · Write scope
Starts a search. Spends tokens: it holds maxTokens (else the account's cap per search, never above the access key's cap per call) and charges 1 token per 1,000 posts and comments read; the rest comes back. Answers at once with the id; the report comes later.
Field
Type
What it is
keyword Body (JSON), required
string
What to search: a brand, a person, a topic (2 to 120 characters)
focus Body (JSON), required
string
What the report should look at in the posts, one sentence
Most tokens this may hold (1 token reads up to 1,000 posts and comments). Default: the account's cap per search, never above the cap per call of this connection or access key.
dateFrom Body (JSON), required
string
YYYY-MM-DD
dateTo Body (JSON), required
string
YYYY-MM-DD, today at the latest
acceptCut Body (JSON), optional
boolean
When the balance is below the hold, run with what there is (the search reads less)
-d'{"keyword":"Telcel","focus":"How people feel about the service and its prices","platforms":["x","facebook"],"dateFrom":"2026-11-01","dateTo":"2026-11-07","maxTokens":5}'
const res = await fetch("https://sentirsocial.com/api/v1/searches", {
Possible errors: invalid_request (400), unauthorized (401), insufficient_tokens (402), forbidden (403), this (403), plan_limit (403), rate_limited (429), internal (500), unavailable (503). The same function as the MCP tool start_search.
Get a search
GET/api/v1/searches/{id} · Read scope
One search: its settings, state, progress, the tokens it held or spent, and its page in Sentir. Poll it, or use a webhook, to know when the report is ready.
Possible errors: unauthorized (401), plan_limit (403), not_found (404), rate_limited (429), internal (500). The same function as the MCP tool get_search.
Get a search's report
GET/api/v1/searches/{id}/report · Read scope
A finished search's report: as markdown in the report's own language, and as the stored report object the report page is drawn from (sentiment, emotions, themes, timeline, platforms). section full adds each platform's section and sample posts to the markdown.
Possible errors: invalid_request (400), unauthorized (401), plan_limit (403), not_found (404), not_ready (409), rate_limited (429), internal (500). The same function as the MCP tool get_report.
List a search's posts
GET/api/v1/searches/{id}/posts · Read scope
Posts a finished search read and counted, most liked first: text, platform, author, likes, date and link. Posts carry no sentiment of their own: the split is per platform, in the report. Paged with limit and offset; page.next is the next offset, null on the last page. The data rules of the CSV export apply to what you do with them.
Possible errors: invalid_request (400), unauthorized (401), plan_limit (403), not_found (404), rate_limited (429), internal (500). The same function as the MCP tool get_posts.
Estimate a search
POST/api/v1/searches/estimate · Write scope
What starting a search would cost, with no side effects: the tokens it would hold, the account's balance, whether it fits, and the platforms the plan allows against the ones asked.
Field
Type
What it is
keyword Body (JSON), required
string
What to search: a brand, a person, a topic (2 to 120 characters)
focus Body (JSON), required
string
What the report should look at in the posts, one sentence
Most tokens this may hold (1 token reads up to 1,000 posts and comments). Default: the account's cap per search, never above the cap per call of this connection or access key.
-d'{"keyword":"Telcel","focus":"How people feel about the service and its prices","platforms":["x","facebook"],"dateFrom":"2026-11-01","dateTo":"2026-11-07","maxTokens":5}'
const res = await fetch("https://sentirsocial.com/api/v1/searches/estimate", {
Possible errors: invalid_request (400), unauthorized (401), forbidden (403), this (403), plan_limit (403), rate_limited (429), internal (500), unavailable (503). The same function as the MCP tool estimate_search.
Share a search's report
POST/api/v1/searches/{id}/share · Write scope
Makes a public link to a finished search's report (no tokens). A new link replaces the search's old one.
Possible errors: invalid_request (400), unauthorized (401), forbidden (403), this (403), plan_limit (403), not_found (404), not_ready (409), rate_limited (429), internal (500). The same function as the MCP tool share_search.
Daily tracking
List daily trackings
GET/api/v1/series · Read scope
The account's daily trackings (a search that runs once a day), newest first, with the days read so far and the latest day's split.
Possible errors: unauthorized (401), plan_limit (403), rate_limited (429), internal (500). The same function as the MCP tool list_series.
Start a daily tracking
POST/api/v1/series · Write scope
Starts daily tracking: one search a day from startDate to endDate. Spends tokens every day: each day holds maxTokens and charges what it reads. The plan must include daily tracking.
Field
Type
What it is
keyword Body (JSON), required
string
What to search: a brand, a person, a topic (2 to 120 characters)
focus Body (JSON), required
string
What the report should look at in the posts, one sentence
Most tokens this may hold (1 token reads up to 1,000 posts and comments). Default: the account's cap per search, never above the cap per call of this connection or access key.
-d'{"keyword":"Telcel","focus":"How people feel about the service and its prices","platforms":["x"],"startDate":"2026-12-01","endDate":"2026-12-15","maxTokens":3}'
const res = await fetch("https://sentirsocial.com/api/v1/series", {
"focus": "How people feel about the service and its prices",
"platforms": [
"x"
],
"startDate": "2026-12-01",
"endDate": "2026-12-15",
"maxTokens": 3
},
timeout=30,
)
res.raise_for_status()
data = res.json()["data"]
Answers { "data": { … } }: id, url, tokensPerDay.
Possible errors: invalid_request (400), unauthorized (401), insufficient_tokens (402), forbidden (403), this (403), plan_limit (403), rate_limited (429), internal (500), unavailable (503). The same function as the MCP tool start_daily_tracking.
Get a daily tracking
GET/api/v1/series/{id} · Read scope
One daily tracking: its settings and state, the trend (one point per finished day), and days: every finished day in full, with its mentions, sentiment split, emotions, first themes and the split per platform.
Possible errors: unauthorized (401), plan_limit (403), not_found (404), rate_limited (429), internal (500). The same function as the MCP tool get_series.
Comparisons
List comparisons
GET/api/v1/comparisons · Read scope
The account's head-to-heads and compares, newest first, with each side's state and latest split.
Possible errors: unauthorized (401), plan_limit (403), rate_limited (429), internal (500). The same function as the MCP tool list_comparisons.
Compare two searches
POST/api/v1/comparisons · Write scope
Compares two finished searches of the account side by side. A flat token cost, once per pair: asking for the same pair again answers the existing comparison, free.
Possible errors: invalid_request (400), unauthorized (401), insufficient_tokens (402), forbidden (403), this (403), plan_limit (403), not_found (404), not_ready (409), rate_limited (429), internal (500). The same function as the MCP tool compare_searches.
Get a comparison
GET/api/v1/comparisons/{id} · Read scope
One head-to-head or compare: both sides' state, the computed metrics and the written reading when it is ready.
Possible errors: unauthorized (401), plan_limit (403), not_found (404), rate_limited (429), internal (500). The same function as the MCP tool get_comparison.
Account
Who the access key is
GET/api/v1/me · Read scope
The person and the account behind the access key: the account's name, the person's role in it, the key's scopes and its token cap per write call.
Possible errors: unauthorized (401), plan_limit (403), rate_limited (429), internal (500). The same function as the MCP tool whoami.
Token balance
GET/api/v1/tokens/balance · Read scope
The account's token balance, the default token cap per search, the monthly grant and the pack price. 1 token reads up to itemsPerToken posts and comments.
Possible errors: unauthorized (401), plan_limit (403), rate_limited (429), internal (500). The same function as the MCP tool .
Subscribe an address to an event
POST/api/v1/hooks · Write scope
Sentir will POST every event of that kind in the account to the address, signed with the secret this call answers once (see the webhooks guide). One subscription per Zap or scenario: the same address may be subscribed more than once. No tokens are spent. At most 100 per account. A subscription is removed with the access key that made it.
Possible errors: invalid_request (400), unauthorized (401), plan_limit (403), forbidden (403), this (403), rate_limited (429), internal (500), unavailable (503). The same function as the MCP tool .
Remove a webhook subscription
DELETE/api/v1/hooks/{id} · Write scope
Stops sending to that subscription. Events already on their way are dropped with it.
Possible errors: unauthorized (401), forbidden (403), this (403), plan_limit (403), not_found (404), rate_limited (429), internal (500). The same function as the MCP tool .