X

Search X

Search X as its own search box does, newest first, about 20 a page; X's search operators work inside query (from:nasa, since:2026-09-01, lang:en). type=user finds accounts instead. Use this to follow a topic, a brand or a campaign.

Costs 13 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/x/search

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/x/search
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

querystring required
Example:nasa artemis

Words, a phrase, or X's search operators.

type'post' | 'user'

Posts, or accounts.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.