# 🚀 Twitter Trends Scraper · 50,000 Free Trends/Month (`omkar-cloud/twitter-trends-scraper`) Actor

Twitter Trends Scraper gets you trending topics ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — the top 50 trends for 62 countries and hundreds of cities, with rank and search links. 💰 $0.10 per 1,000 trends, no start fee. Scrape your first 50,000 trends free every month 🚀

- **URL**: https://apify.com/omkar-cloud/twitter-trends-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Categories:** Social media, Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 trend scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Twitter Trends Scraper

Twitter Trends Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Twitter (X) data.

X locks its data behind logins, guest tokens and rate limits to stop you from getting it.

Twitter Trends Scraper beats them — no account, no cookies, no proxies — so you get the data, and can successfully complete your project.

**$0.10 per 1,000 trends.** And with Apify's free plan you get $5 of credit every month, so your first **~50,000 trends each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 30 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Twitter Trends Scraper free**](https://apify.com/omkar-cloud/twitter-trends-scraper) — your first ~50,000 trends are Free.

### What can I get

- 🔥 **Top 50 trends, live** — exactly what X shows as trending right now
- 🌍 **467 places** — worldwide, 62 countries and hundreds of cities
- 🏷️ **Rank & search link** — every trend ranked, with its X search link and volume where X reports it
- ⏱️ **Timestamped** — every row carries the moment X computed the trends

### Why Twitter Trends Scraper

Most other Twitter scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a few fields per row, never the full picture
- 💸 **Pay more to get the same data**
- 🪦 **Works today, breaks next month** — nobody maintains it

Twitter Trends Scraper is scraped live on every run, priced honestly, and actively maintained.

### Example: One Row

```json
{
  "rank": 2,
  "name": "Good Wednesday",
  "query": "%22Good+Wednesday%22",
  "link": "https://x.com/search?q=%22Good+Wednesday%22",
  "tweets_count": null,
  "is_promoted": false,
  "location_input": "US",
  "location_name": "United States",
  "location_type": "Country",
  "country_code": "US",
  "woeid": 23424977,
  "as_of": "2026-09-23T10:44:21Z"
}
```

*Trimmed for readability.*

### Get Started with 50,000 Free Trends

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/twitter-trends-scraper) — the input is pre-filled with the United States and worldwide.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price |
|---|---|
| **Trends** | **$0.10 per 1,000** |

No start fee — you pay only for the rows you get. A trend scraped twice in one run is billed once.

💡 Apify's free plan includes $5 of credit every month — about **50,000 free trends, every month**.

👉 [**Scrape your first 50,000 trends free**](https://apify.com/omkar-cloud/twitter-trends-scraper)

### FAQ

**How much does a run cost?** $0.10 per 1,000 trends, flat on every Apify plan. 10,000 trends ≈ $1.00.

**Do I need an X account, cookies or proxies?** No. Twitter Trends Scraper reads X's public data only — nothing to log in to, nothing to get banned.

**What if an input is wrong or doesn't exist?** It is skipped with a message in the log and never billed.

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/twitter-trends-scraper").call(run_input={"locations": ["US", "New York", "worldwide"], "excludeHashtags": True})
for trend in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(trend["rank"], trend["name"], trend["location_name"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/twitter-trends-scraper').call({ locations: ['US', 'worldwide'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp about Twitter Trends Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://api.whatsapp.com/send?phone=918178804274\&text=I%20need%20help%20with%20using%20the%20Twitter%20Trends%20Scraper%20Actor.)

[![Ask Us on Email about Twitter Trends Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Twitter%20Trends%20Scraper%20Actor\&body=I%20need%20help%20with%20using%20the%20Twitter%20Trends%20Scraper%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

### Related Actors

- [**Twitter Tweet Scraper**](https://apify.com/omkar-cloud/twitter-tweet-scraper) — tweets by URL/ID, user, list or community, with replies. $0.20 per 1,000 tweets.
- [**Twitter Profile Scraper**](https://apify.com/omkar-cloud/twitter-profile-scraper) — full profiles by username, ID or link, plus similar accounts. $0.20 per 1,000 profiles.

### Popular Actors by Omkar Cloud

- [**G2 Product Scraper**](https://apify.com/omkar-cloud/g2-product-scraper) — G2 product details, ratings & AI-found contacts
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website
- [**AliExpress Product Scraper**](https://apify.com/omkar-cloud/aliexpress-product-scraper) — live product details, SKU variants, stock & shipping
- [**Booking Scraper**](https://apify.com/omkar-cloud/booking-scraper) — Booking.com hotels: prices, ratings, rooms & amenities
- [**Etsy Scraper**](https://apify.com/omkar-cloud/etsy-scraper) — Etsy products: prices, discounts, shops & variations

👉 [**Scrape your first 50,000 trends free now**](https://apify.com/omkar-cloud/twitter-trends-scraper)

# Actor input Schema

## `locations` (type: `array`):

Country codes (US), place names (New York, india), WOEIDs (23424977) or `worldwide`.

## `excludeHashtags` (type: `boolean`):

Keep only phrase trends and drop #hashtags.

## `maxTrendsPerLocation` (type: `integer`):

Cap for each location. Controls your spend: 1,000 trends ≈ $0.10.

## Actor input object example

```json
{
  "locations": [
    "US",
    "worldwide"
  ],
  "excludeHashtags": false,
  "maxTrendsPerLocation": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "US",
        "worldwide"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/twitter-trends-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "locations": [
        "US",
        "worldwide",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/twitter-trends-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "US",
    "worldwide"
  ]
}' |
apify call omkar-cloud/twitter-trends-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/twitter-trends-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fpQkxkhJ34werjLob/builds/r1hRgOHRW0jOedO9d/openapi.json
