# Threads — Search by Keyword

Search Threads post via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, 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.

Documentation: https://openany.si/threads/threads-post-search/a87a5342-3056-4ac5-9a4a-f813e899c220/
API ID: a87a5342-3056-4ac5-9a4a-f813e899c220
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/threads/search
Page update time: 2026-12-03T02:53:41.785Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:32.802Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Threads — Search by Keyword request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Keyword to search for"
        },
        "start_date": {
          "type": "string",
          "description": "Start date to search for"
        },
        "end_date": {
          "type": "string",
          "description": "End date to search for"
        },
        "trim": {
          "type": "boolean",
          "description": "Set to true for a trimmed down version of the response"
        }
      },
      "required": [
        "query"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "caption": {
            "type": "object",
            "properties": {
              "has_translation": {
                "type": "null"
              },
              "pk": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            }
          },
          "code": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "like_count": {
            "type": "integer"
          },
          "pk": {
            "type": "string"
          },
          "taken_at": {
            "type": "integer"
          },
          "user": {
            "type": "object",
            "properties": {
              "friendship_status": {
                "type": "null"
              },
              "full_name": {
                "type": "string"
              },
              "has_onboarded_to_text_post_app": {
                "type": "boolean"
              },
              "id": {
                "type": "string"
              },
              "is_verified": {
                "type": "boolean"
              },
              "pk": {
                "type": "string"
              },
              "profile_pic_url": {
                "type": "string"
              },
              "text_post_app_is_private": {
                "type": "boolean"
              },
              "transparency_label": {
                "type": "null"
              },
              "transparency_product": {
                "type": "null"
              },
              "transparency_product_enabled": {
                "type": "boolean"
              },
              "username": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## 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.

## Available implementations
- scrapecreators: https://openany.si/threads/threads-post-search/a87a5342-3056-4ac5-9a4a-f813e899c220/
- tikhub: https://openany.si/threads/threads-post-search/c785bed2-9e99-4118-9e95-ec1aabcd4c84/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
