Threads post search API
Search Threads post via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 2 implementations (ScrapeCreators and TikHub), pass parameters such as end_date, query, start_date, and retrieve structured data including returned credits charged field, returned credits remaining field, business status code, identifier, and returned caption field for content research and account lookup, and integration reference.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Threads post search API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
Threads — Search by Keyword API
Search for 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. Provide query in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: query, start_date, end_date, trim |
| Selected implementation | scrapecreators · Threads — Search by Keyword |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
credits_charged |
Returned credits charged field |
credits_remaining |
Returned credits remaining field |
posts[].code |
Business status code |
posts[].id |
Identifier |
posts[].caption |
Returned caption field |
posts[].like_count |
Returned like count field |
posts[].pk |
Returned pk field |
posts[].taken_at |
Returned taken at field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/threads/search?end_date=2026-01-01&query=basketball&start_date=2026-01-01' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Threads — Search by Keyword API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Threads — Search by Keyword · GET · View API reference | $0.00188 / call | 1 | 100.00%successP5010.82s | |
| Search posts · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/threads/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | URL query parametersquery | string | Yes | Keyword to search for |
start_date | URL query parametersquery | string | No | Start date to search for |
end_date | URL query parametersquery | string | No | End date to search for |
trim | URL query parametersquery | boolean | No | Set to true for a trimmed down version of the response |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegerpostsobject[]captionobjecthas_translationnullpkstringtextstring
codestringidstringlike_countintegerpkstringtaken_atintegeruserobjectfriendship_statusnullfull_namestringhas_onboarded_to_text_post_appbooleanidstringis_verifiedbooleanpkstringprofile_pic_urlstringtext_post_app_is_privatebooleantransparency_labelnulltransparency_productnulltransparency_product_enabledbooleanusernamestring
successboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
query- Keyword to search for
start_date- Start date to search for
end_date- End date to search for
trim- Set to true for a trimmed down version of the response
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/threads/search?end_date=2026-01-01&query=basketball&start_date=2026-01-01' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 1000000, "posts": [ { "caption": { "has_translation": null, "pk": "18077403781726333", "text": "This woman selling mini umbrellas shows love to stray cats & dogs & introduces them. She may not have money but is richer than many.🥹🥹" }, "code": "DLF-jv2tmNg", "id": "3658605407757558624_71259204903", "like_count": 5419, "pk": "3658605407757558624", "taken_at": 1750359780, "user": { "friendship_status": null, "full_name": "Mahtab Uddin", "has_onboarded_to_text_post_app": true, "id": "71259204903", "is_verified": false, "pk": "71259204903", "profile_pic_url": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-19/501402907_17869607802372904_1939177145792832486_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-dfw5-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QHQ6tqymzxxWWnD3Y69dUStiwPULqhvwrOx1_1jXHmGEOp8LBdxfOkihhVQW0v5NsY&_nc_ohc=FICE0ht7dSAQ7kNvwEXdDzp&_nc_gid=C_fAfqKQ2OEy746wTYa0sw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfPyuWIMTTIwpoiGW4059hDGkyKRW8eVZbUH1Zfzd2xxRw&oe=685AA184&_nc_sid=10d13b", "text_post_app_is_private": false, "transparency_label": null, "transparency_product": null, "transparency_product_enabled": false, "username": "mahtabuddinit" } } ], "success": true }