Twitter/X Trends Scraper: Trends, Places, Locations & More! avatar
Twitter/X Trends Scraper: Trends, Places, Locations & More!

Pricing

$0.20 / 1,000 results

Go to Apify Store
Twitter/X Trends Scraper: Trends, Places, Locations & More!

Twitter/X Trends Scraper: Trends, Places, Locations & More!

This X(Twitter) scraping actor is degined to get all things trends related - trends by types, trends places, locations & more!

Pricing

$0.20 / 1,000 results

Rating

0.0

(0)

Developer

Scrape Badger

Scrape Badger

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Scrapebadger Twitter Scraper

ScrapeBadger provides powerful data extraction capabilities to scrape Twitter/X trending topics, offering an incredibly affordable solution for trend analysis. Get current trends by category (Trending, For You, News, Sports, Entertainment), location-specific trends using WOEID, and discover all available trend locations. All this starts at just $0.20 per 1,000 results.

Stay ahead of the conversation with real-time access to what's trending on Twitter/X. Whether you're monitoring brand mentions, tracking breaking news, analyzing market sentiment, or researching social trends, our tool provides structured trend data for your analysis needs.

Key Features

  • Effortless Operation: Designed for ease of use, ScrapeBadger requires you to select a Mode and configure optional parameters (e.g., category for "Get Trends", WOEID for "Get Place Trends").
  • Comprehensive Trend Data:
    • Get Trends - Fetch current trending topics with tweet counts and context.
    • Get Place Trends - Get location-specific trends using Where On Earth ID (WOEID).
    • Get Available Locations - Discover all locations where Twitter trends are available.
  • Multiple Categories:
    • Trending - General trending topics
    • For You - Personalized trends
    • News - News-related trending topics
    • Sports - Sports-related trends
    • Entertainment - Entertainment trends
  • Flexible and Structured Output: Data is delivered in Apify's standard Dataset, ready for export in CSV, JSON, etc.
  • Enterprise-Grade Reliability: Built on the robust Apify platform for consistent results.
  • Cost-Effective Solution: Just $0.20 per 1,000 results.

Great For

  • Brand Monitoring: Track when your brand or competitors trend.
  • News & Media: Monitor breaking news and emerging stories.
  • Market Research: Understand what topics are capturing public attention.
  • Social Listening: Analyze trends related to your industry or products.
  • Content Strategy: Identify trending topics for content creation.
  • Academic Research: Study trend patterns and social phenomena.

How to Use - Mode-Specific Input Parameters

ModeDescriptionKey Input ParameterJSON ParameterOptional
Get TrendsGet current trending topics--category, max_results
Get Place TrendsGet trends for a specific locationWOEIDwoeid-
Get Available LocationsGet all locations with trend data--max_results

Request and Response Examples

Request:

{
"mode": "Get Trends",
"category": "Trending",
"max_results": 20
}

Response (array of trends):

{
"name": "#TrendingTopic",
"query": "%23TrendingTopic",
"tweet_count": 125000,
"url": "https://twitter.com/search?q=%23TrendingTopic",
"domain_context": "Technology"
}

Category Options:

  • Trending - General trending topics (default)
  • For You - Personalized trends
  • News - News-related trends
  • Sports - Sports trends
  • Entertainment - Entertainment trends

Request:

{
"mode": "Get Place Trends",
"woeid": "23424977"
}

Common WOEID Values:

LocationWOEID
Worldwide1
United States23424977
United Kingdom23424975
Canada23424775
Germany23424829
France23424819
Japan23424856
India23424848
Brazil23424768
Australia23424748

Response:

{
"location": {
"name": "United States",
"woeid": 23424977
},
"trends": [
{
"name": "#USATrend",
"query": "%23USATrend",
"tweet_count": 85000
}
],
"as_of": "2025-01-15T12:00:00+00:00"
}

3. Get Available Locations

Request:

{
"mode": "Get Available Locations",
"max_results": 500
}

Response (array of locations):

{
"woeid": 23424977,
"name": "United States",
"country": "United States",
"country_code": "US",
"place_type": "Country"
}

Output Fields

Trend objects include:

  • Core: name, query (URL-encoded search query)
  • Metrics: tweet_count (volume of tweets)
  • Links: url (link to Twitter search)
  • Context: domain_context (topic category)

Location objects include:

  • Core: woeid, name
  • Geographic: country, country_code
  • Type: place_type (Country, City, etc.)

Place Trends response includes:

  • Location: Location metadata
  • Trends: Array of trend objects
  • Timestamp: as_of (when trends were retrieved)

Important Note: To prevent API abuse and ensure fair resource allocation, you will be charged for requests that return an empty results set.

Why Choose ScrapeBadger?

  • Real-Time Data: Get the latest trending topics as they happen.
  • Location Intelligence: Access trends from any supported location worldwide.
  • Multiple Categories: Filter trends by topic type (News, Sports, Entertainment).
  • Efficient and Reliable: Built for speed and stability on the Apify platform.
  • Unbeatable Value: Just $0.20 per 1,000 results.
  • User-Friendly: Easy to configure regardless of technical expertise.
  • Seamless Integration: Output data readily available for analysis.

About ScrapeBadger

This actor is powered by ScrapeBadger - a reliable Twitter/X data extraction service.

  • Official Website: scrapebadger.com
  • Faster Support: Get priority support directly through the ScrapeBadger website
  • SDK & API Access: Want to use ScrapeBadger outside of Apify? The Python SDK and REST API are available for direct integration into your own applications