maxItemsintegerobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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 '{}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
maxItemsintegerobbligatorioMaximum 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.
Valori possibili: 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.
Valori possibili: 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.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Tweet SearchQuesta API Twitter | Da $0.0006 per chiamata | JSON asincrono |
X (Twitter) | Da $0.00054 per chiamata | JSON |
X (Twitter) | Da $0.0001 per chiamata | JSON |
X (Twitter) | Da $0.0036 per chiamata | JSON |
X (Twitter) | Da $0.00045 per chiamata | JSON |
X (Twitter) | Da $0.00045 per chiamata | JSON |
Guide:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0006 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: maxItems (integer). Facoltativi: end (string), sort (uno tra Top, Latest, Latest + Top), start (string), author (string), geocode (string) e inReplyTo (string) e altri 18. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato.
No. Tweet Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Twitter.