# Twitter Tweet Search API

> Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.

Source: https://www.sandbase.ai/apis/twitter/bulk/tweet-search
API reference: https://www.sandbase.ai/apis/twitter/bulk/tweet-search#api

## Facts

- Provider: Twitter
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search`
- Price: From $0.0006 per call
- Capabilities: api, twitter, social media, search
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `maxItems` | integer | yes |  |
| `end` | string | no |  |
| `sort` | string | no | Top, Latest, Latest + Top |
| `start` | string | no |  |
| `author` | string | no |  |
| `geocode` | string | no |  |
| `inReplyTo` | string | no |  |
| `onlyImage` | boolean | no |  |
| `onlyQuote` | boolean | no |  |
| `onlyVideo` | boolean | no |  |
| `startUrls` | array | no |  |
| `mentioning` | string | no |  |
| `searchTerms` | array | no |  |
| `withinRadius` | string | no |  |
| `geotaggedNear` | string | no |  |
| `placeObjectId` | string | no |  |
| `tweetLanguage` | string | no | 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 |
| `minimumReplies` | integer | no |  |
| `twitterHandles` | array | no |  |
| `conversationIds` | array | no |  |
| `minimumRetweets` | integer | no |  |
| `onlyTwitterBlue` | boolean | no |  |
| `minimumFavorites` | integer | no |  |
| `onlyVerifiedUsers` | boolean | no |  |
| `includeSearchTerms` | boolean | no |  |

## FAQ

### How do I use the Tweet Search API?

Send a POST request to https://api.sandbase.ai/v1/api/twitter/bulk/tweet-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Tweet Search API cost?

From $0.0006 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Tweet Search API accept?

Required: maxItems (integer). Optional: end (string), sort (one of Top, Latest, Latest + Top), start (string), author (string), geocode (string) and inReplyTo (string) and 18 more. The Parameters table and the Playground on this page list every field.

### What does the Tweet Search API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Twitter developer account or API key?

No. Tweet Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Twitter API access separately.

## README

### Tweet Search

Scrape X (Twitter) tweets from search queries, profiles, lists, and tweet URLs at scale.

#### Pricing

- Inspect reference unit price: $0.0006 USD per result.
- Final settlement uses the provider-reported actual cost after strict validation; the reference price is not used to infer the final charge.
