maxItemsintegerआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 '{}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
maxItemsintegerआवश्यकMaximum 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.
संभावित मान: 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.
संभावित मान: 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.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Tweet Searchयह API Twitter | $0.0006 प्रति कॉल से | असिंक्रोनस JSON |
X (Twitter) | $0.00054 प्रति कॉल से | JSON |
X (Twitter) | $0.0001 प्रति कॉल से | JSON |
X (Twitter) | $0.0036 प्रति कॉल से | JSON |
X (Twitter) | $0.00045 प्रति कॉल से | JSON |
X (Twitter) | $0.00045 प्रति कॉल से | JSON |
गाइड्स:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0006 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: maxItems (integer)। वैकल्पिक: end (string), sort (Top, Latest, Latest + Top में से एक), start (string), author (string), geocode (string) और inReplyTo (string) और 18 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है।
नहीं। Tweet Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Twitter API access के लिए आवेदन करने की आवश्यकता नहीं है।