Threads Account Search API — Find Accounts by Name

Search accounts

Find Threads accounts by name or username: the closest matches, one page only, with no further pages (about 10). 1 credit.

POST /search-users Search & trending
https://api.fetchlayer.dev/threads/search-users
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

query string required

A name or username to look up.

limit integer optional

Maximum accounts returned, 1-30. Threads shows one page, so fewer can come back. (default: 10)

format string optional

json or markdown; any other value is a 400. Over MCP, markdown returns the result rendered as text; the REST API accepts it and returns JSON. (default: json)

timeoutMs integer optional

Time limit for the whole request, in milliseconds (1000–120000); a value outside that range is a 400. When it runs out, a paged listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running.

Response Fields

search-users

Search accounts

transport string

The data source: always the platform id, "threads".

notes string[]

Caveats you can act on, such as "one page of results" or a listing that stopped early. Empty when there are none. An empty result always comes with a note explaining it.

query string

The search words.

userCount number

How many accounts are in this response.

users object[]

The accounts, closest match first.

users[].id string

The account’s numeric id.

users[].username string

The username, without @. Every tool that takes user accepts it.

users[].fullName string | null

The display name.

users[].isVerified boolean

Whether the account shows a verification badge.

users[].isPrivate boolean | null

Whether the account is private. A private account’s posts are not returned.

users[].profilePicUrl string | null

Profile picture. Expires after a few days like every media link.

users[].url string

Link to the profile.

users[].isActiveOnThreads boolean | null

Whether the account is active on Threads, as opposed to only holding the username.

Request

curl -X POST "https://api.fetchlayer.dev/threads/search-users" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"nasa","limit":3}'

Response

{
  "transport": "threads",
  "notes": [
    "Account search returns one page of the closest matches (about 10)."
  ],
  "query": "nasa",
  "userCount": 3,
  "users": [
    {
      "id": "28829152388",
      "username": "nasa",
      "fullName": "NASA",
      "isVerified": true,
      "isPrivate": null,
      "profilePicUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/669747085_18089786557960389_9220726220693516…",
      "url": "https://www.threads.com/@nasa",
      "isActiveOnThreads": true
    }
  ]
}
Product overview Threads API: what it returns, pricing and use cases