# Tweet Scraper

Apify

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

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Tweet Scraper (tool ID: apify.api-dojo-tweet-scraper). Ask me for the details you need, then show me the result.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

**Job:** [Get X (Twitter) posts and profiles](https://scrollport.com/tools/x-api)

**Current price:** $0.0025/result

**Availability:** Ready to run

## Tool details

**About this tool**

⚡️ 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!

**Inputs and outputs**

### Input

`input` object · optional

Provider-specific public source, URL or search criteria.

`maxItems` number · optional

Maximum number of records to return.

### Output

`author` object

Returned author value.

`createdAt` string

Returned created at value.

`id` string

Returned id value.

`type` string

Returned type value.

`url` string

Returned url value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### 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"
}
```

**Errors and limitations**

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

---

Canonical page: https://scrollport.com/tools/providers/apify/api-dojo-tweet-scraper
