Example Prompts
- “Export tweets about Claude Code to CSV”
- “Download @OpenAI tweets from January 2026”
- “Export all tweets mentioning ‘artificial intelligence’ AND ‘healthcare’ to CSV”
- “Get a CSV of tweets from @elonmusk in the last 30 days”
Available Fields
| Field | Description |
|---|---|
id | Tweet unique identifier |
text | Full tweet text |
authorUsername | Author’s Twitter handle |
authorId | Author’s unique identifier |
createdAtDate | Publication date |
likeCount | Number of likes |
retweetCount | Number of retweets |
quoteCount | Number of quote tweets |
impressionCount | Number of impressions |
replyCount | Number of replies |
language | Tweet language code |
isRetweet | Whether this is a retweet |
isReply | Whether this is a reply |
How It Works
Build query
Constructs a search query using keywords, boolean operators, date ranges, or author filters.
Execute search
Calls Xpoz tools with
responseType="csv" for bulk export or standard mode for smaller datasets.Monitor export
For large exports, monitors the async operation via
checkOperationStatus until the CSV file is ready.Xpoz Tools Used
| Tool | Purpose |
|---|---|
getTwitterPostsByKeywords | Search Twitter posts by keyword query |
getTwitterPostsByAuthor | Get posts from a specific Twitter user |
checkOperationStatus | Monitor async CSV export progress |
Query Syntax
Boolean operators let you build precise queries:| Syntax | Example |
|---|---|
| Simple | artificial intelligence |
| Phrase | "machine learning" |
| AND | AI AND healthcare |
| OR | ChatGPT OR "Claude AI" |
| Combined | ("generative AI" OR LLM) AND startup |

