Skip to content

Structured Threads data: send queries. Cursor-paginated, 1 credit per successful call.

GET · POST1 credit / successful callCursor-paginated
GEThttps://api.scrapier.io/api/v2/threads-search-users/Open in Playground

Call GET /api/v2/threads-search-users/ with queries. The results are in data.engines; send data.next_cursor back as cursor to get the next page. 6 optional parameters refine the call (see Parameters).

Terminal window
curl -G "https://api.scrapier.io/api/v2/threads-search-users/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "queries=shams" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
queriesstringyese.g. shamsSearch text (a handle, a name or a topic) -> the matching Threads accounts as a guest, 12 verified accounts per call in rank order. Required first call, ignored when cursor is supplied.
cursorstringno—Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page.
includestringno—'profile' fills bio / followers / private / ext.bio_link on every row of the page from its profile page.
profile
locked in cursor
include_detailsbooleannofalseOlder spelling of include=profile (true = the same join).
locked in cursor
enginesstringnobrave,ddgHandle-discovery engines, any of brave / ddg; "" = Threads-only.
locked in cursor
engine_pagesintegerno5Brave result pages walked at most per call.
locked in cursor
candidate_poolintegerno—Candidates ranked before selection (default max(40, 36 x page)).
locked in cursor
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes.
{
"success": true,
"data": {
"queries": "shams",
"page": 1,
"page_size": 12,
"include": null,
"engines": [
"brave",
"ddg"
],
"pool": 28,
"ranked": 28,
"excluded": 0,
"beyond_limit": 14,
"verified_dead": 0,
"more_discovery_possible": true,
"sources": {
"probe": {
"handle": "shams",
"status": "ok",
"found": true
},
"posts": {
"status": "ok",
"threads": 18,
"authors": 13
},
"brave": {
"status": "ok",
"handles": 16,
"pages": 1
},
"ddg": {
"status": "challenged",
"handles": 0,
"pages": 1
}
},
"warnings": [],
"hydration": null,
"requests": 17,
"duration_ms": 12180,
"users": [
{
"keyword": "shams",
"position": 1,
"user_id": "63263616227",
"verified": true,
"username": "shams",
"pk": "63263616227",
"is_active_on_text_post_app": true,
"full_name": "Shams Charania",
"profile_pic_url": "https://instagram.fdac8-1.fna.fbcdn.net/v/t51.2885-19/...jpg?stp=dst-jpg_s150x150_tt6&...",
"is_verified": true,
"has_onboarded_to_text_post_app": true,
"id": "63263616227",
"bio": null,
"followers": null,
"following": null,
"posts_count": null,
"likes_count": null,
"url": "https://www.threads.com/@shams",
"location": null,
"joined_at": null,
"private": null,
"ext": {
"bio_link": null
},
"match_tier": 0,
"source": "probe",
"sources": [
"probe",
"posts"
],
"search": {
"query": "shams",
"probe_handle": "shams",
"pool": 28,
"ranked": 28,
"sources": {
"...": "..."
},
"warnings": []
},
"hydration": {
"include": null,
"status": "verified",
"rows": 12,
"looked_up": 12,
"filled": 12,
"cached": 0,
"unfilled": 0,
"ms": 12047
},
"scraped_at": "2026-09-22T08:46:10.412Z"
},
{
"keyword": "shams",
"position": 2,
"user_id": "65310101636",
"verified": false,
"username": "shams_a20",
"pk": "65310101636",
"is_active_on_text_post_app": true,
"full_name": "Sunny💛",
"is_verified": false,
"has_onboarded_to_text_post_app": true,
"id": "65310101636",
"bio": null,
"followers": null,
"url": "https://www.threads.com/@shams_a20",
"private": null,
"ext": {
"bio_link": null
},
"match_tier": 1,
"source": "brave",
"sources": [
"brave"
],
"...": "... (same keys as the first row)"
}
],
"next_cursor": "eyJxIjogInNoYW1zIiwgImxrIjoge30sICJwIjogMSwgInBvcyI6IDEyLCAicyI6IFsic2hhbXMiLCAic2hhbXNfYTIwIiwgIi4uLiJdfQ"
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.engines.

FieldTypeExampleDescription
queriesstringshams—
pageinteger1—
page_sizeinteger12—
includenullnull—
enginesarray[2 items]The results.
poolinteger28—
rankedinteger28—
excludedinteger0—
beyond_limitinteger14—
verified_deadinteger0—
more_discovery_possiblebooleantrue—
sourcesobject{…}—
warningsarray[]—
hydrationnullnull—
requestsinteger17—
duration_msinteger12180—
usersarray[2 items]—
next_cursorstringeyJxIjogInNoYW1zIiwgImxrIjoge30sICJwIjogMSwgI…Pass back as cursor for the next page. null on the last page.

Pass data.next_cursor back as cursor until it is null. Required inputs are ignored once a cursor is sent. Each page is one billed call. More in Pagination.

const url = "https://api.scrapier.io/api/v2/threads-search-users/";
let params = { queries: "shams" };
const items = [];
for (let page = 0; page < 10; page++) { // each page is one billed call
const res = await fetch(`${url}?${new URLSearchParams(params)}`, {
headers: { "X-API-Key": "YOUR_API_KEY" },
signal: AbortSignal.timeout(210_000),
});
const body = await res.json();
if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
const data = body.data;
items.push(...(data.engines ?? []));
if (!data.next_cursor) break; // null = last page
params = { cursor: data.next_cursor };
}

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • Locked into the cursor: include, include_details, engines, engine_pages, candidate_pool. Set them on the first call; later pages reuse them.
  • Threads Profile Info — Structured Threads data: send usernames. Single lookup, 1 credit per successful call.
  • Threads Search — Structured Threads data: send queries. Cursor-paginated, 1 credit per successful call.
  • Threads Single Post — Structured Threads data: send urls. Single lookup, 1 credit per successful call.
  • Threads User Posts — Structured Threads data: send usernames. Cursor-paginated, 1 credit per successful call.