# Threads Recent Content Search API

> Searches recent Threads content matching a specified keyword query. Returns matching web posts with cursor-based pagination support.

Source: https://www.sandbase.ai/apis/threads/web/search-recent
API reference: https://www.sandbase.ai/apis/threads/web/search-recent/docs

## Facts

- Provider: Threads
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/threads/web/search-recent`
- Price: $0.003 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, threads
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/threads/web/search-recent` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | yes |  |
| `end_cursor` | string | no |  |

## FAQ

### How do I use the Threads Recent Content Search API?

Send a POST request to https://api.sandbase.ai/v1/api/threads/web/search-recent with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Threads Recent Content Search API cost?

$0.003 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Threads Recent Content Search API accept?

Required: query (string). Optional: end_cursor (string). The Parameters table and the Playground on this page list every field.

### What does the Threads Recent Content Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Threads developer account or API key?

No. Threads Recent Content Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Threads API access separately.

## README

### Threads Recent Content Search API

Search recent posts on Threads by providing a search keyword in `query`. For multi-page results, pass `end_cursor` to retrieve subsequent batches.

#### Use cases

- Track recent Threads discussions around specific topics or brands.
- Monitor breaking news and emerging trends across the platform.
- Collect search result feeds for analytical and monitoring tools.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/threads/web/search-recent" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "<query>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | Yes | Search query, for example: bitcoin |
| `end_cursor` | string | No | Pagination cursor (optional), used to get next page data |

#### Notes

- Use `end_cursor` to paginate through subsequent pages of search results.

#### Related APIs

- [Threads Post Detail](/model/threads/web/post-detail): Returns detailed information for a specific Threads post using its numeric ID.
- [Threads Post Detail (V2)](/model/threads/web/post-detail-v2): Returns detailed information for a specific Threads post.
- [Threads Profile Search](/model/threads/web/search-profiles): Searches Threads user profiles based on a specified text query string.
