Tweet Scraper

Apify

Collect public X posts by handle, query or URL with author and engagement metadata.

Current price
$0.0006/result
Availability
Ready to run
Last accepted verification

What this API does

⚡️ Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!

Agents select this operation with tool ID apify.api-dojo-tweet-scraper, then inspect its current executable contract before a run.

Public input and output shape

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

authorobject

Returned author value.

createdAtstring

Returned created at value.

idstring

Returned id value.

typestring

Returned type value.

urlstring

Returned url value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "apify.api-dojo-tweet-scraper",
  "input": {
    "input": {
      "sort": "Latest",
      "maxItems": 2,
      "twitterHandles": [
        "apify"
      ]
    },
    "maxItems": 2
  }
}

Output

{
  "id": "2085750392059576421",
  "url": "https://x.com/apify/status/2085750392059576421",
  "type": "tweet",
  "author": {
    "name": "Apify",
    "userName": "apify"
  },
  "createdAt": "Fri Aug 07 15:30:19 +0000 2026"
}
Teaching errors and limitations

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.

Updated
21 August 2026

Use Tweet Scraper with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.