Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Threads Profile Search

Docs da API
https://api.sandbase.ai/v1/api/threads/web/search-profiles

Searches Threads user profiles based on a specified text query string. Returns matching user accounts and profile information from the platform.

Preço
$0.003USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Search query, for example: mark
SaídaExemplo
Respostaoutputs · 2.8 KB · 48 linhas
[
  {
    "data": {
      "xdt_api__v1__users__search_connection": {
        "edges": [
          {
            "node": {
              "full_name": "Mark Zuckerberg",
              "has_onboarded_to_text_post_app": true,
              "id": "63055343223",
              "is_active_on_text_post_app": true,
              "is_verified": true,
              "pk": "63055343223",
              "profile_pic_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gEQMP0y65Znw4KFouVQfjknMULifv8cyJbRjNjA9Y9szmUvH1OjUE9mUDANdybnebf0CxiwV2T3ypnb1YHqi0eb&_nc_ohc=ImCtHAPyo70Q7kNvwHQCN8Z&_nc_gid=x6mrrZqbeHq1BYO6eTzHxA&edm=AHhEZX8BAAAA&ccb=7-5&oh=00_AQMkSECZSKU5Lc4XR2fOX6qBPT7GYLwFnPxK5Nn91evYbw&oe=6AC1A16B&_nc_sid=e8efdc",
              "username": "zuck"
            }
          },
          {
            "node": {
              "full_name": "Mark Ruffalo",
              "has_onboarded_to_text_post_app": true,
              "id": "63051734071",
              "is_active_on_text_post_app": true,
              "is_verified": true,
              "pk": "63051734071",
              "profile_pic_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.2885-19/459216473_763220509193309_6737924786677683148_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby45OTkuYzIifQ&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gEQMP0y65Znw4KFouVQfjknMULifv8cyJbRjNjA9Y9szmUvH1OjUE9mUDANdybnebf0CxiwV2T3ypnb1YHqi0eb&_nc_ohc=ilVXpvBe4UkQ7kNvwEJw59O&_nc_gid=x6mrrZqbeHq1BYO6eTzHxA&edm=AHhEZX8BAAAA&ccb=7-5&oh=00_AQPtq-5Zairjy0SEv1XMbveObU2CJmhWbUcm8rggtqJeFA&oe=6AC1B0AB&_nc_sid=e8efdc",
              "username": "markruffalo"
            }
          },
          {
            "node": {
              "full_name": "Mark Tuan",
              "has_onboarded_to_text_post_app": true,
              "id": "63281880367",
              "is_active_on_text_post_app": true,
              "is_verified": true,
              "pk": "63281880367",
              "profile_pic_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.2885-19/358197528_292224636703096_3341699124168942009_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_cat=104&_nc_oc=Q6cZ2gEQMP0y65Znw4KFouVQfjknMULifv8cyJbRjNjA9Y9szmUvH1OjUE9mUDANdybnebf0CxiwV2T3ypnb1YHqi0eb&_nc_ohc=LFwtOM_6coEQ7kNvwGKrBK1&_nc_gid=x6mrrZqbeHq1BYO6eTzHxA&edm=AHhEZX8BAAAA&ccb=7-5&oh=00_AQMU3L1fRvB2BkGwq__P2lRynPnzaxG3XnIbM9vDapn_zQ&oe=6AC1ABA2&_nc_sid=e8efdc",
              "username": "marktuan"
            }
          },
          "… 7 more items in the full response"
        ],
        "inform_module": null
      }
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

Threads Profile Search API

Returns a list of Threads user accounts that match a text query. You send one query string, such as a name or handle, and get back each match with its username, display name, ID, and verification status.

Use cases

  • Find the official Threads account for a brand by searching its name.
  • Collect candidate accounts for a keyword to review who uses similar handles.
  • Resolve a handle to a numeric user ID before calling other Threads APIs.
  • Check whether a matched account is verified and active on Threads.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch query, for example: mark

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "xdt_api__v1__users__search_connection": {
    "edges": [
      {
        "node": {
          "full_name": "OpenAI",
          "has_onboarded_to_text_post_app": true,
          "id": "63299409527",
          "is_active_on_text_post_app": true,
          "is_verified": true,
          "pk": "63299409527",
          "profile_pic_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517…",
          "username": "openai"
        }
      }
    ],
    "inform_module": null
  }
}

Response fields

FieldMeaning
xdt_api__v1__users__search_connection.edges[].node.usernameThe Threads handle of the matched account, such as openai.
xdt_api__v1__users__search_connection.edges[].node.full_nameThe display name shown on the profile.
xdt_api__v1__users__search_connection.edges[].node.id / pkThe numeric user ID as a string. Both keys hold the same value in the sample.
xdt_api__v1__users__search_connection.edges[].node.is_verifiedWhether the account carries a verified flag.
xdt_api__v1__users__search_connection.edges[].node.is_active_on_text_post_appWhether the account is marked active on Threads.
xdt_api__v1__users__search_connection.edges[].node.has_onboarded_to_text_post_appWhether the account has completed onboarding to Threads.
xdt_api__v1__users__search_connection.edges[].node.profile_pic_urlA link to the profile picture image.

Notes

  • The only input is query. A name or handle both work as search text.
  • Results are not exact matches only. A search for OpenAI also returned accounts like choi.openai and openani.me, so compare username before you pick one.
  • Use id or pk as the user ID in Threads User Info by ID, or the username in Threads User Profile.
  • To read an account's content, pass the match to Threads User Posts.

Pricing

$0.003 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Search account candidates before choosing a handle

Send query as a name, handle fragment or keyword. The reference search for OpenAI also returned similarly named accounts, so do not automatically select the first row or assume an exact display name identifies the intended account. The response is a candidate list, not a verified brand directory or a popularity ranking.

The observed result path is xdt_api__v1__users__search_connection.edges[].node inside outputs[0].data. Require the connection object, an edges array and object nodes before reading candidate handles. A present empty edges array differs from a missing connection or malformed response. Do not assume this endpoint returns a top-level users array or the user object used by Profile lookup.

After reviewing a candidate, a separate User Profile call can look up its username. This guide does not automatically make that call, fetch posts or loop through candidates. Neither the current query schema nor this guide declares search pagination.

Give your agent one account question

Already have a SandBase key? Reuse SANDBASE_API_KEY from your local environment and use this page's API tab for POST /v1/api/ and Bearer authentication. If your agent is already connected, give it the exact endpoint and input. For a new project, share the setup Skill, Markdown quickstart and your task. Ask it to save one response and stop before batch lookup, post collection or other expansion.

Read outputs[0].data from a completed SandBase response, then validate the selected endpoint's business shape. Do not prefer a legacy output field, silently skip a missing profile or convert an invalid search response to an empty list. Neither selected input schema declares a cursor, page or limit parameter. No pagination loop is specified here.

Pricing checked on 2026-11-08: User Profile lists $0.002 and Profile Search $0.003 per call. Both list eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not show your remaining allowance. Inspect current pricing and quota before running; a separate profile or posts lookup is another request. No business query was executed for this revision. See the Threads Python first-request tutorial for checked code and dated historical evidence.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Threads$0.003 por chamadaJSON
Threads$0.002 por chamadaJSON
Threads$0.002 por chamadaJSON
Threads$0.002 por chamadaJSON
Threads$0.002 por chamadaJSON
Threads$0.002 por chamadaJSON

Guias:Best Threads API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Threads Profile Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/threads/web/search-profiles com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Threads Profile Search?

$0.003 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Threads Profile Search aceita?

Obrigatórios: query (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Threads Profile Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Threads ou de uma chave de API?

Não. Threads Profile Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Threads separadamente.

O primeiro resultado da busca identifica a conta oficial?

Não assuma isso. Os resultados podem conter handles parecidos. Revise o username e links conhecidos da própria plataforma; uma correspondência de nome de exibição ou a flag verified, sozinha, não estabelece a identidade pretendida.

Onde estão os candidatos de conta na resposta?

A referência usa outputs[0].data.xdt_api__v1__users__search_connection.edges[].node. Valide a connection, o array edges e os nós de objeto. Uma conexão ausente é um erro, enquanto um array edges vazio presente é um resultado distinto.

Posso adicionar page, cursor ou limit ao Profile Search?

O schema de entrada selecionado atualmente declara apenas query. Não invente campos de paginação ou limit, nem busque automaticamente detalhes de perfil para cada candidato. Inspecione outro endpoint se sua tarefa precisar de uma capacidade diferente.