# X Search Tweets API (https://www.socialcrawl.dev/platforms/twitter/search-tweets) > Searches X (Twitter) for tweets matching a keyword or phrase, each result with the full text, like count, retweet count, reply count, bookmark count, view count, media attachments, author info, and creation timestamp. `sort` picks the ranking: `latest` (the default) returns the newest matches first, `top` returns the most popular ones. Page size is set by the source, typically around 20 tweets. To go deeper, send `pagination.next_cursor` back as `cursor` and repeat until `pagination.has_more` is false; each page costs 1 credit. TL;DR: `GET /v1/twitter/search/tweets` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `query` | yes | Keyword or phrase to search tweets for | | `sort` | no | Result ranking: latest (default) for the newest matches first, top for the most popular matches (latest \| top) | | `cursor` | no | Cursor from the previous response's pagination.next_cursor to fetch the next page | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/twitter/search/tweets?query=nike%20running%20shoes" \ -H "x-api-key: sc_YOUR_API_KEY" ``` See the full X API: https://www.socialcrawl.dev/platforms/twitter ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing