Twitter Search Posts API

Search public X/Twitter posts by keyword using Google-indexed results, then fetch the post details without a logged-in X account.

1 creditper request
GET
/v1/twitter/search/posts
curl "https://api.scrapecreators.com/v1/twitter/search/posts" \
  -H "x-api-key: "
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "query": "ai agents",
  "posts": [
    {
      "rest_id": "2105732089685348719",
      "url": "https://x.com/code_rams/status/2105732089685348719",
      "views": {
        "count": "780",
        "state": "EnabledWithCount"
      },
      "legacy": {
        "created_at": "Thu Oct 01 18:50:27 +0000 2026",
        "full_text": "AI agents are checking your pricing page before your buyers do. Your analytics never shows it.

Here's how to catch them and fix it:

(Analysed and learned from my products)

1. open your analytics or server logs and pull the last 30 days

2. filter by user agent: GPTBot, https://t.co/HO75r0e5Am",
        "favorite_count": 11,
        "retweet_count": 0,
        "reply_count": 4,
        "quote_count": 0,
        "bookmark_count": 7
      }
    }
  ],
  "cursor": "2"
}

Headers

x-api-key
string
required

Your Scrape Creators API key

Query Parameters

query
string
required

Keyword or phrase to search for in Google-indexed public X/Twitter posts

Example:
ai agents
cursor
string

Pass the cursor returned by the previous response. Supported page cursors are 1 through 11. A null response cursor means there are no more pages.

Example:
2