Search Threads posts by keyword
scrapecreators.x.v1-threads-searchSearches Threads for posts matching a keyword, returning up to 10 results with caption text, like_count, reshare_count, direct_reply_count, user info, and image_versions2.
- Price
- $0.00188/callAt provider cost
- Success rate
- 100%Last 30 days · 15,550 calls
- Latency p50
- 2.3 sp95 4.7 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-threads-search?query=basketballPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
trim | boolean | Optional | Set to true for a trimmed down version of the response | false |
query | string | Required | Keyword to search for | basketball |
end_date | string | Optional | End date to search for | 2026-01-01 |
start_date | string | Optional | Start date to search for | 2026-01-01 |
- Query parameters
trimbooleanOptionalSet to true for a trimmed down version of the response
Example:
falsequerystringRequiredKeyword to search for
Example:
basketballend_datestringOptionalEnd date to search for
Example:
2026-01-01start_datestringOptionalStart date to search for
Example:
2026-01-01
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-threads-search?query=basketball' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-threads-search?query=basketball",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-threads-search?query=basketball", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.