# Scrape Tweets from Verified Accounts

**Use case:** 

Searches X (Twitter) and keeps only tweets from verified accounts. Set a keyword (here 'artificial intelligence'), onlyVerified=true and excludeReplies=true, and the scraper returns original tweets from verified authors, ranked by Top, with 55 fields each: fullText, isVerified, verifiedType, engagement and author stats. Ideal for tracking credible voices on a topic. Export to CSV or JSON.

## Input

```json
{
  "searchTerms": [
    "artificial intelligence"
  ],
  "searchUrls": [],
  "All_of_these_words": "",
  "This_exact_phrase": "",
  "Any_of_these_words": "",
  "None_of_these_words": "",
  "These_hashtags": "",
  "From_these_accounts": "",
  "To_these_accounts": "",
  "Mentioning_these_accounts": "",
  "Minimum_replies": 0,
  "Minimum_likes": 0,
  "Minimum_reposts": 0,
  "startDate": "",
  "endDate": "",
  "splitMode": "week",
  "sortBy": "Top",
  "maxItems": 80,
  "language": "en",
  "mediaType": "any",
  "onlyVerified": true,
  "excludeReplies": true,
  "geoNear": "",
  "geoWithin": ""
}
```

## Output

```json
{
  "tweetUrl": {
    "label": "Tweet URL",
    "format": "link"
  },
  "createdAt": {
    "label": "Created At",
    "format": "text"
  },
  "authorHandle": {
    "label": "Author Handle",
    "format": "text"
  },
  "authorName": {
    "label": "Author Name",
    "format": "text"
  },
  "authorFollowers": {
    "label": "Author Followers",
    "format": "number"
  },
  "isVerified": {
    "label": "Verified",
    "format": "boolean"
  },
  "verifiedType": {
    "label": "Verified Type",
    "format": "text"
  },
  "fullText": {
    "label": "Text",
    "format": "text"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "repostCount": {
    "label": "Reposts (RT+Quote)",
    "format": "number"
  },
  "retweetCount": {
    "label": "Retweets",
    "format": "number"
  },
  "quoteCount": {
    "label": "Quotes",
    "format": "number"
  },
  "replyCount": {
    "label": "Replies",
    "format": "number"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "bookmarkCount": {
    "label": "Bookmarks",
    "format": "number"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "mentions": {
    "label": "Mentions",
    "format": "array"
  },
  "imageUrls": {
    "label": "Image URLs",
    "format": "array"
  },
  "videoUrls": {
    "label": "Video URLs",
    "format": "array"
  },
  "externalUrls": {
    "label": "External URLs",
    "format": "array"
  },
  "cashtags": {
    "label": "Cashtags",
    "format": "array"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "isReply": {
    "label": "Is Reply",
    "format": "boolean"
  },
  "isRetweet": {
    "label": "Is Retweet",
    "format": "boolean"
  },
  "isQuote": {
    "label": "Is Quote",
    "format": "boolean"
  },
  "isAd": {
    "label": "Is Ad",
    "format": "boolean"
  },
  "possiblySensitive": {
    "label": "Possibly Sensitive",
    "format": "boolean"
  },
  "conversationId": {
    "label": "Conversation ID",
    "format": "text"
  },
  "tweetId": {
    "label": "Tweet ID",
    "format": "text"
  },
  "inReplyToHandle": {
    "label": "In-Reply-To Handle",
    "format": "text"
  },
  "inReplyToUsername": {
    "label": "In-Reply-To Name",
    "format": "text"
  },
  "inReplyToUrl": {
    "label": "In-Reply-To URL",
    "format": "link"
  },
  "inReplyToTweetId": {
    "label": "In-Reply-To Tweet ID",
    "format": "text"
  },
  "quotedTweetUrl": {
    "label": "Quoted Tweet URL",
    "format": "link"
  },
  "quotedTweetId": {
    "label": "Quoted Tweet ID",
    "format": "text"
  },
  "quotedText": {
    "label": "Quoted Text",
    "format": "text"
  },
  "quotedAuthorHandle": {
    "label": "Quoted Author Handle",
    "format": "text"
  },
  "cardTitle": {
    "label": "Card Title",
    "format": "text"
  },
  "cardDescription": {
    "label": "Card Description",
    "format": "text"
  },
  "cardDomain": {
    "label": "Card Domain",
    "format": "text"
  },
  "source": {
    "label": "Source App",
    "format": "text"
  },
  "authorId": {
    "label": "Author ID",
    "format": "text"
  },
  "authorUrl": {
    "label": "Author URL",
    "format": "link"
  },
  "authorWebsite": {
    "label": "Author Website",
    "format": "link"
  },
  "authorBio": {
    "label": "Author Bio",
    "format": "text"
  },
  "authorLocation": {
    "label": "Author Location",
    "format": "text"
  },
  "authorFollowing": {
    "label": "Author Following",
    "format": "number"
  },
  "authorTweetCount": {
    "label": "Author Tweet Count",
    "format": "number"
  },
  "authorFavouritesCount": {
    "label": "Author Likes Given",
    "format": "number"
  },
  "authorListedCount": {
    "label": "Author Listed Count",
    "format": "number"
  },
  "authorMediaCount": {
    "label": "Author Media Count",
    "format": "number"
  },
  "authorCreatedAt": {
    "label": "Author Created At",
    "format": "text"
  },
  "authorProfileImage": {
    "label": "Author Profile Image",
    "format": "image"
  },
  "queryStr": {
    "label": "Query String",
    "format": "text"
  },
  "searchUrl": {
    "label": "Search URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Ultimate X (Twitter) Advanced Search Scraper](https://apify.com/delicious_zebu/ultimate-x-twitter-advanced-search-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/ultimate-x-twitter-advanced-search-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/ultimate-x-twitter-advanced-search-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
