OpenAny
Get API keyAPI Key
APIDataScrapers

threads logo
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
USE THIS API

Threads post search API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Threads post search API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Keyword to search for
Start date to search for
End date to search for
Set to true for a trimmed down version of the response

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Current
Threads — Search by Keyword · GET · View API reference
$0.00188 / call1
100.00%successP5010.82s
Search posts · GET · View API reference
$0.002 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
queryURL query parametersquerystringYes

Keyword to search for

start_dateURL query parametersquerystringNo

Start date to search for

end_dateURL query parametersquerystringNo

End date to search for

trimURL query parametersquerybooleanNo

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

Inferred from examples
  • credits_chargedinteger
  • credits_remaininginteger
  • postsobject[]
    • captionobject
      • has_translationnull
      • pkstring
      • textstring
    • codestring
    • idstring
    • like_countinteger
    • pkstring
    • taken_atinteger
    • userobject
      • friendship_statusnull
      • full_namestring
      • has_onboarded_to_text_post_appboolean
      • idstring
      • is_verifiedboolean
      • pkstring
      • profile_pic_urlstring
      • text_post_app_is_privateboolean
      • transparency_labelnull
      • transparency_productnull
      • transparency_product_enabledboolean
      • usernamestring
  • successboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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
    }

Common questions

Which inputs identify this request?

Provide query in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

start_date is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

What type does trim use?

trim uses the JSON type boolean in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Threads post search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.