maxItemsintegerrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento 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 '{}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
maxItemsintegerrequeridoMaximum 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 posibles: 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 posibles: 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.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Tweet SearchEsta API Twitter | Desde $0.0006 por llamada | JSON asíncrono |
X (Twitter) | Desde $0.00054 por llamada | JSON |
X (Twitter) | Desde $0.0001 por llamada | JSON |
X (Twitter) | Desde $0.0036 por llamada | JSON |
X (Twitter) | Desde $0.00045 por llamada | JSON |
X (Twitter) | Desde $0.00045 por llamada | JSON |
Guías:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0006 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: maxItems (integer). Opcionales: end (string), sort (una de Top, Latest, Latest + Top), start (string), author (string), geocode (string) y inReplyTo (string) y 18 más. La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final.
No. Tweet Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Twitter por separado.