maxItemsintegerobrigatório
Maximum number of tweets to return (1-1000). Billed per returned tweet.
https://api.sandbase.ai/v1/api/twitter/bulk/tweet-searchScrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
maxItemsintegerobrigatórioMaximum number of tweets to return (1-1000). Billed per returned tweet.
endstringReturns tweets sent before the given date.
sortstringSorts search results. If you are getting low results, try Top instead of Latest. Latest + Top runs both simultaneously to maximize results but may return some duplicate tweets.
Valores possíveis: Top, Latest, Latest + Top
startstringReturns tweets sent after the given date.
authorstringReturns tweets sent by the given user. It should be a Twitter (X) Handle.
geocodestringReturns tweets sent by users located within a given radius of the given latitude/longitude.
inReplyTostringReturns tweets that are replies to the given user. It should be a Twitter (X) Handle.
onlyImagebooleanIf selected, only returns tweets that contain images.
onlyQuotebooleanIf selected, only returns tweets that are quotes.
onlyVideobooleanIf selected, only returns tweets that contain videos.
startUrlsarrayTwitter (X) URLs. Paste the URLs and get the results immediately. Tweet, Profile, Search or List URLs are supported.
mentioningstringReturns tweets mentioning the given user. It should be a Twitter (X) Handle.
searchTermsarraySearch terms you want to search from Twitter (X). You can refer to https://github.com/igorbrigadir/twitter-advanced-search.
withinRadiusstringReturns tweets sent within the given radius of the given location.
geotaggedNearstringReturns tweets sent near the given location.
placeObjectIdstringReturns tweets tagged with the given place.
tweetLanguagestringRestricts tweets to the given language, given by an ISO 639-1 code.
Valores possíveis: ab, aa, af, ak, sq, am, ar, an, hy, as, av, ae, ay, az, bm, ba, eu, be, bn, bi, bs, br, bg, my, ca, ch, ce, ny, zh, cu, cv, kw, co, cr, hr, cs, da, dv, nl, dz, en, eo, et, ee, fo, fj, fi, fr, fy, ff, gd, gl, lg, ka, de, el, kl, gn, gu, ht, ha, he, hz, hi, ho, hu, is, io, ig, id, ia, ie, iu, ik, ga, it, ja, jv, kn, kr, ks, kk, km, ki, rw, ky, kv, kg, ko, kj, ku, lo, la, lv, li, ln, lt, lu, lb, mk, mg, ms, ml, mt, gv, mi, mr, mh, mn, na, nv, nd, nr, ng, ne, no, nb, nn, ii, oc, oj, or, om, os, pi, ps, fa, pl, pt, pa, qu, ro, rm, rn, ru, se, sm, sg, sa, sc, sr, sn, sd, si, sk, sl, so, st, es, su, sw, ss, sv, tl, ty, tg, ta, tt, te, th, bo, ti, to, ts, tn, tr, tk, tw, ug, uk, ur, uz, ve, vi, vo, wa, cy, wo, xh, yi, yo, za, zu
minimumRepliesintegerReturns tweets with at least the given number of replies.
twitterHandlesarrayTwitter handles that you want to search on Twitter (X)
conversationIdsarrayConversation IDs that you want to search on Twitter (X)
minimumRetweetsintegerReturns tweets with at least the given number of retweets.
onlyTwitterBluebooleanIf selected, only returns tweets by users who are Twitter Blue subscribers.
minimumFavoritesintegerReturns tweets with at least the given number of favorites.
onlyVerifiedUsersbooleanIf selected, only returns tweets by users who are verified.
includeSearchTermsbooleanIf selected, a field will be added to each tweets about the search term that was used to find it.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Tweet SearchEsta API Twitter | A partir de $0.0006 por chamada | JSON assíncrono |
X (Twitter) | A partir de $0.00054 por chamada | JSON |
X (Twitter) | A partir de $0.0001 por chamada | JSON |
X (Twitter) | A partir de $0.0036 por chamada | JSON |
X (Twitter) | A partir de $0.00045 por chamada | JSON |
X (Twitter) | A partir de $0.00045 por chamada | JSON |
Guias:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search 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.
A partir de $0.0006 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: maxItems (integer). Opcionais: end (string), sort (um de Top, Latest, Latest + Top), start (string), author (string), geocode (string) e inReplyTo (string) e mais 18. A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Um resultado JSON. Este endpoint é assíncrono, então a resposta informa como buscar o resultado final.
Não. Tweet 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 Twitter separadamente.