search_x
Posts for any X search in X's own syntax: quoted phrases, OR, from:, min_faves:.
Bare words must all match: use a quoted phrase or OR, never a list of loose words. Search a token by its contract address, never by its ticker: tickers are shared by unrelated tokens and bots.
Price: $0.01.
Inputs
| Input | What it takes | Default |
|---|---|---|
query | The search, in X's syntax: up to 300 characters. | Required |
mode | Most engaged first, or newest first: top or latest. | top |
hours | Only posts from the last hours: 1 to 168. | Optional |
min_likes | Only posts with at least this many likes: a number. | Optional |
cursor | The next page, from the last answer: text. | Optional |
What comes back
posts: text, author, likes, views and link of each match_billing: what the call cost and what is left, in dollars
Freshness
Answers are shared for up to 3 minutes: the same question in that time gets the same read, and cached_s says how old it is, in seconds.
When there is nothing to show
X found nothing for that search. Fewer words, or OR between them: bare words must all match.
This is a real answer and costs the call's price. Failures are refunded: see Pricing.