Social Fetch
Threads

Search Threads posts

Search for posts on Threads.

GET/v1/threads/search
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
4
query*stringquery

Search query text for public Threads posts.

min 1 chars · max 512 chars

startDatestringoptionalquery

Optional start date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

endDatestringoptionalquery

Optional end date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

trimbooleanoptionalquery

Whether to request a smaller response shape when available.

Response fields
32

Endpoint-specific response payload.

dataquery
string

Search query string evaluated for this response.

Threads posts matching the query.

dataposts[]id
string

Stable post identifier string.

min 1 chars

dataposts[]platform
string

Social platform for this search result.

one of: threads

dataposts[]url
stringnullable

Canonical public post URL when available.

min 1 chars

dataposts[]code
stringnullable

Short post code used in public URLs when available.

min 1 chars

dataposts[]text
string

Post body text when available (may be empty).

dataposts[]createdAt
integernullable

Creation time as a Unix timestamp in seconds when available.

≥ 0

Author details when available.

dataposts[]authorid
stringnullable

Author profile identifier when available.

dataposts[]authorhandle
stringnullable

Author username without a leading @ when available.

dataposts[]authordisplayName
stringnullable

Author display name when available.

dataposts[]authoravatarUrl
stringnullable

Profile image URL for the author when available.

dataposts[]authorverified
boolean

Whether the author is marked as verified.

dataposts[]authorprivateAccount
booleannullable

Whether the author account is private when known.

dataposts[]authorprofileUrl
stringnullable

Canonical public profile URL when available.

Engagement metrics for this post.

dataposts[]metricslikes
integernullable

Like count when available.

≥ 0

dataposts[]metricsreposts
integernullable

Repost count when available.

≥ 0

dataposts[]metricsquotes
integernullable

Quote-post count when available.

≥ 0

dataposts[]metricsreplies
integernullable

Direct reply count when available.

≥ 0

Image and video items extracted from the post.

dataposts[]media[]type
string

Normalized media type for this item.

one of: image, video, unknown

dataposts[]media[]url
string

Direct URL for this media item when available.

min 1 chars

dataposts[]media[]width
integernullable

Width in pixels when available.

≥ 0

dataposts[]media[]height
integernullable

Height in pixels when available.

≥ 0

datatotalResults
integer

Count of posts returned in this response.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/threads/search?query=basketball" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Search results for the requested query.

On this page

No Headings