# X (Twitter) Trends Scraper (`eunit/x-twitter-trends-scraper`) Actor

Scrape real-time Twitter/X trends from any country or city. Get top 50 trending hashtags, tweet counts, and hourly history. Ideal for social media monitoring, viral topic tracking, and market research. Fast, reliable, and supports granular location data.

- **URL**: https://apify.com/eunit/x-twitter-trends-scraper.md
- **Developed by:** [Emmanuel Uchenna](https://apify.com/eunit) (community)
- **Categories:** Lead generation, Social media, News
- **Stats:** 30 total users, 10 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 1.06 out of 5 stars

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

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


# README

## Twitter (X) Trends Scraper

### Overview

The **Twitter (X) Trends Scraper** is a powerful tool designed to extract real-time trending topics from countries and cities worldwide. It provides a comprehensive view of what's happening now, making it an essential tool for:

* **Social Media Monitoring:** Track viral hashtags and topics as they emerge.
* **Market Research:** Understand regional interests and granular location-based trends.
* **Content Strategy:** Discover high-engagement topics for your content calendar.
* **Brand Sentiment:** Monitor relevant industry keywords in specific locations.

### Features

* **Granular Location Support:** Scrape trends for huge list of **countries** and specific **cities** (e.g., "United States", "New York", "London", "Lagos").
* **Comprehensive Data:** Extracts data from the **Timeline** (hourly trends), **Tag Cloud**, and **Top Trends Table**.
* **Deep Insights:** Retrieves trend **rank**, **hashtag/name**, **tweet counts**, and direct links.
* **Fast & Reliable:** Built for high performance and low overhead.
* **Easy Integration:** Export data in JSON, CSV, Excel, and more for seamless analysis.

### No Setup Required

Unlike many other scrapers, this Actor requires **no complex proxy configuration**. It is optimized to run out-of-the-box on the Apify platform, handling connections automatically to ensure high success rates.

### How to Use

1. **Select Location:** specific country or city from the dropdown menu (e.g., "United States - New York").
2. **Run Scraper:** Click the "Run" button.
3. **Download Data:** Export the results in your preferred format (JSON, CSV, etc.).

### Output Format

The scraper returns a structured dataset containing trend information. Here is a sample of the JSON output:

```json
{
  "scraped_at": "2023-10-27T10:30:00.000Z",
  "country_input": "united-states/new-york",
  "timeline": [
    {
      "datetime": "2 minutes ago",
      "timestamp": "1698402400",
      "trends": [
        {
          "rank": 1,
          "name": "#FridayFeeIing",
          "link": "https://twitter.com/search?q=%23FridayFeeIing",
          "tweet_count": "50K"
        },
        {
          "rank": 2,
          "name": "New York Giants",
          "link": "https://twitter.com/search?q=%22New+York+Giants%22",
          "tweet_count": "12K"
        },
        // ...
      ]
    }
  ],
  "tag_cloud": [
    {
      "name": "#TechTrends",
      "link": "https://twitter.com/search?q=%23TechTrends"
    }
  ],
  "table_data": [
    {
       "rank": "1",
       "name": "#AI",
       "tweet_count": "100K"
    }
  ]
}
````

### FAQs

#### Is it legal to scrape trends?

Extracting publicly available factual data like "trending topics" is generally considered legal. However, you should always respect the terms of service of the target website and ensure your use case complies with local regulations like GDPR or CCPA.

### Related Actors

Expand your data collection capabilities with these other powerful Apify Actors developed by the same author:

#### [Twitter (X) Trends Scraper (PPE)](https://apify.com/eunit/x-twitter-trends-ppe)

- **URL:** <https://apify.com/eunit/x-twitter-trends-ppe>
- **Description:** Scrape real-time Twitter/X trends from any country or city. Get top 50 trending hashtags, tweet counts, and hourly history. Ideal for social media monitoring, viral topic tracking, and market research. Fast, reliable, and supports granular location data. Pay Per Event.

#### [Enhanced Twitter (X) Bot](https://apify.com/eunit/enhanced-twitter-x-bot)

- **URL:** <https://apify.com/eunit/enhanced-twitter-x-bot>
- **Description:** A versatile Twitter bot for powerful social media automation. This tool uses the Twitter API to auto-like, auto-follow, and manages your followers. Configure keywords, schedules, and safety limits for effective Twitter engagement and account growth.

#### [Target Product Reviews Scraper](https://apify.com/eunit/target-reviews-scraper)

- **URL:** <https://apify.com/eunit/target-reviews-scraper>
- **Description:** A tool for market research and e-commerce analysis. Scrape **product reviews, star ratings, and consumer sentiment** from Target.com, useful for businesses analyzing the retail landscape in target neighborhoods.

### Support & Feedback

We are constantly improving this scraper. If you have feature requests, find a bug, or need a specific customization, please create an issue on the [Actor’s Issues tab](https://console.apify.com/actors/gt00A5awlaRmNFUzd/issues) in Apify Console.

# Actor input Schema

## `country` (type: `string`):

Select the location to scrape trends for.

## Actor input object example

```json
{
  "country": "Worldwide"
}
```

# Actor output Schema

## `overview` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("eunit/x-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call eunit/x-twitter-trends-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=eunit/x-twitter-trends-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "X (Twitter) Trends Scraper",
        "description": "Scrape real-time Twitter/X trends from any country or city. Get top 50 trending hashtags, tweet counts, and hourly history. Ideal for social media monitoring, viral topic tracking, and market research. Fast, reliable, and supports granular location data.",
        "version": "0.0",
        "x-build-id": "Rnx82b56IdEZJmoC0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/eunit~x-twitter-trends-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-eunit-x-twitter-trends-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/eunit~x-twitter-trends-scraper/runs": {
            "post": {
                "operationId": "runs-sync-eunit-x-twitter-trends-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/eunit~x-twitter-trends-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-eunit-x-twitter-trends-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "country"
                ],
                "properties": {
                    "country": {
                        "title": "Country / City",
                        "enum": [
                            "Worldwide",
                            "algeria",
                            "algeria/algiers",
                            "argentina",
                            "argentina/buenos-aires",
                            "argentina/cordoba",
                            "argentina/mendoza",
                            "argentina/rosario",
                            "australia",
                            "australia/adelaide",
                            "australia/brisbane",
                            "australia/canberra",
                            "australia/darwin",
                            "australia/melbourne",
                            "australia/perth",
                            "australia/sydney",
                            "austria",
                            "austria/vienna",
                            "bahrain",
                            "belarus",
                            "belarus/brest",
                            "belarus/gomel",
                            "belarus/grodno",
                            "belarus/minsk",
                            "belgium",
                            "brazil",
                            "brazil/belem",
                            "brazil/belo-horizonte",
                            "brazil/brasilia",
                            "brazil/campinas",
                            "brazil/curitiba",
                            "brazil/fortaleza",
                            "brazil/goiania",
                            "brazil/guarulhos",
                            "brazil/manaus",
                            "brazil/porto-alegre",
                            "brazil/recife",
                            "brazil/rio-de-janeiro",
                            "brazil/salvador",
                            "brazil/sao-luis",
                            "brazil/sao-paulo",
                            "canada",
                            "canada/calgary",
                            "canada/edmonton",
                            "canada/montreal",
                            "canada/ottawa",
                            "canada/quebec",
                            "canada/toronto",
                            "canada/vancouver",
                            "canada/winnipeg",
                            "chile",
                            "chile/concepcion",
                            "chile/santiago",
                            "chile/valparaiso",
                            "colombia",
                            "colombia/barranquilla",
                            "colombia/bogota",
                            "colombia/cali",
                            "colombia/medellin",
                            "denmark",
                            "dominican-republic",
                            "dominican-republic/santo-domingo",
                            "ecuador",
                            "ecuador/guayaquil",
                            "ecuador/quito",
                            "egypt",
                            "egypt/alexandria",
                            "egypt/cairo",
                            "egypt/giza",
                            "france",
                            "france/bordeaux",
                            "france/lille",
                            "france/lyon",
                            "france/marseille",
                            "france/montpellier",
                            "france/nantes",
                            "france/paris",
                            "france/rennes",
                            "france/strasbourg",
                            "france/toulouse",
                            "germany",
                            "germany/berlin",
                            "germany/bremen",
                            "germany/cologne",
                            "germany/dortmund",
                            "germany/dresden",
                            "germany/dusseldorf",
                            "germany/essen",
                            "germany/frankfurt",
                            "germany/hamburg",
                            "germany/leipzig",
                            "germany/munich",
                            "germany/stuttgart",
                            "ghana",
                            "ghana/accra",
                            "ghana/kumasi",
                            "greece",
                            "greece/athens",
                            "greece/thessaloniki",
                            "guatemala",
                            "guatemala/guatemala-city",
                            "india",
                            "india/ahmedabad",
                            "india/amritsar",
                            "india/bangalore",
                            "india/bhopal",
                            "india/chennai",
                            "india/delhi",
                            "india/hyderabad",
                            "india/indore",
                            "india/jaipur",
                            "india/kanpur",
                            "india/kolkata",
                            "india/lucknow",
                            "india/mumbai",
                            "india/nagpur",
                            "india/patna",
                            "india/pune",
                            "india/rajkot",
                            "india/ranchi",
                            "india/srinagar",
                            "india/surat",
                            "india/thane",
                            "indonesia",
                            "indonesia/bandung",
                            "indonesia/bekasi",
                            "indonesia/depok",
                            "indonesia/jakarta",
                            "indonesia/makassar",
                            "indonesia/medan",
                            "indonesia/palembang",
                            "indonesia/pekanbaru",
                            "indonesia/semarang",
                            "indonesia/surabaya",
                            "indonesia/tangerang",
                            "ireland",
                            "ireland/cork",
                            "ireland/dublin",
                            "ireland/galway",
                            "israel",
                            "israel/haifa",
                            "israel/jerusalem",
                            "israel/tel-aviv",
                            "italy",
                            "italy/bologna",
                            "italy/genoa",
                            "italy/milan",
                            "italy/naples",
                            "italy/palermo",
                            "italy/rome",
                            "italy/turin",
                            "japan",
                            "japan/chiba",
                            "japan/fukuoka",
                            "japan/hamamatsu",
                            "japan/hiroshima",
                            "japan/kawasaki",
                            "japan/kitakyushu",
                            "japan/kobe",
                            "japan/kumamoto",
                            "japan/kyoto",
                            "japan/nagoya",
                            "japan/niigata",
                            "japan/okayama",
                            "japan/okinawa",
                            "japan/osaka",
                            "japan/sagamihara",
                            "japan/saitama",
                            "japan/sapporo",
                            "japan/sendai",
                            "japan/takamatsu",
                            "japan/tokyo",
                            "japan/yokohama",
                            "jordan",
                            "jordan/amman",
                            "kenya",
                            "kenya/mombasa",
                            "kenya/nairobi",
                            "korea",
                            "korea/ansan",
                            "korea/bucheon",
                            "korea/busan",
                            "korea/changwon",
                            "korea/daegu",
                            "korea/daejeon",
                            "korea/goyang",
                            "korea/gwangju",
                            "korea/incheon",
                            "korea/seongnam",
                            "korea/seoul",
                            "korea/suwon",
                            "korea/ulsan",
                            "korea/yongin",
                            "kuwait",
                            "latvia",
                            "latvia/riga",
                            "lebanon",
                            "malaysia",
                            "malaysia/hulu-langat",
                            "malaysia/ipoh",
                            "malaysia/johor-bahru",
                            "malaysia/kajang",
                            "malaysia/klang",
                            "malaysia/kuala-lumpur",
                            "malaysia/petaling",
                            "mexico",
                            "mexico/acapulco",
                            "mexico/aguascalientes",
                            "mexico/chihuahua",
                            "mexico/ciudad-juarez",
                            "mexico/culiacan",
                            "mexico/ecatepec-de-morelos",
                            "mexico/guadalajara",
                            "mexico/hermosillo",
                            "mexico/leon",
                            "mexico/merida",
                            "mexico/mexicali",
                            "mexico/mexico-city",
                            "mexico/monterrey",
                            "mexico/morelia",
                            "mexico/naucalpan-de-juarez",
                            "mexico/nezahualcoyotl",
                            "mexico/puebla",
                            "mexico/queretaro",
                            "mexico/saltillo",
                            "mexico/san-luis-potosi",
                            "mexico/tijuana",
                            "mexico/toluca",
                            "mexico/zapopan",
                            "netherlands",
                            "netherlands/amsterdam",
                            "netherlands/den-haag",
                            "netherlands/rotterdam",
                            "netherlands/utrecht",
                            "new-zealand",
                            "new-zealand/auckland",
                            "nigeria",
                            "nigeria/benin-city",
                            "nigeria/ibadan",
                            "nigeria/kaduna",
                            "nigeria/kano",
                            "nigeria/lagos",
                            "nigeria/port-harcourt",
                            "norway",
                            "norway/bergen",
                            "norway/oslo",
                            "oman",
                            "oman/muscat",
                            "pakistan",
                            "pakistan/faisalabad",
                            "pakistan/karachi",
                            "pakistan/lahore",
                            "pakistan/multan",
                            "pakistan/rawalpindi",
                            "panama",
                            "peru",
                            "peru/lima",
                            "philippines",
                            "philippines/antipolo",
                            "philippines/cagayan-de-oro",
                            "philippines/calocan",
                            "philippines/cebu-city",
                            "philippines/davao-city",
                            "philippines/makati",
                            "philippines/manila",
                            "philippines/pasig",
                            "philippines/quezon-city",
                            "philippines/taguig",
                            "philippines/zamboanga-city",
                            "poland",
                            "poland/gdansk",
                            "poland/krakow",
                            "poland/lodz",
                            "poland/poznan",
                            "poland/warsaw",
                            "poland/wroclaw",
                            "portugal",
                            "puerto-rico",
                            "qatar",
                            "russia",
                            "russia/chelyabinsk",
                            "russia/irkutsk",
                            "russia/kazan",
                            "russia/khabarovsk",
                            "russia/krasnodar",
                            "russia/krasnoyarsk",
                            "russia/moscow",
                            "russia/nizhny-novgorod",
                            "russia/novosibirsk",
                            "russia/omsk",
                            "russia/perm",
                            "russia/rostov-on-don",
                            "russia/saint-petersburg",
                            "russia/samara",
                            "russia/ufa",
                            "russia/vladivostok",
                            "russia/volgograd",
                            "russia/voronezh",
                            "russia/yekaterinburg",
                            "saudi-arabia",
                            "saudi-arabia/ahsa",
                            "saudi-arabia/dammam",
                            "saudi-arabia/jeddah",
                            "saudi-arabia/mecca",
                            "saudi-arabia/medina",
                            "saudi-arabia/riyadh",
                            "singapore",
                            "singapore/singapore",
                            "south-africa",
                            "south-africa/cape-town",
                            "south-africa/durban",
                            "south-africa/johannesburg",
                            "south-africa/port-elizabeth",
                            "south-africa/pretoria",
                            "south-africa/soweto",
                            "spain",
                            "spain/barcelona",
                            "spain/bilbao",
                            "spain/las-palmas",
                            "spain/madrid",
                            "spain/malaga",
                            "spain/murcia",
                            "spain/palma",
                            "spain/seville",
                            "spain/valencia",
                            "spain/zaragoza",
                            "sweden",
                            "sweden/gothenburg",
                            "sweden/stockholm",
                            "switzerland",
                            "switzerland/geneva",
                            "switzerland/lausanne",
                            "switzerland/zurich",
                            "thailand",
                            "thailand/bangkok",
                            "turkey",
                            "turkey/adana",
                            "turkey/ankara",
                            "turkey/antalya",
                            "turkey/bursa",
                            "turkey/diyarbakir",
                            "turkey/eskisehir",
                            "turkey/gaziantep",
                            "turkey/istanbul",
                            "turkey/izmir",
                            "turkey/kayseri",
                            "turkey/konya",
                            "turkey/mersin",
                            "ukraine",
                            "ukraine/dnipropetrovsk",
                            "ukraine/donetsk",
                            "ukraine/kharkiv",
                            "ukraine/kyiv",
                            "ukraine/lviv",
                            "ukraine/odesa",
                            "ukraine/zaporozhye",
                            "united-arab-emirates",
                            "united-arab-emirates/abu-dhabi",
                            "united-arab-emirates/dubai",
                            "united-arab-emirates/sharjah",
                            "united-kingdom",
                            "united-kingdom/belfast",
                            "united-kingdom/birmingham",
                            "united-kingdom/blackpool",
                            "united-kingdom/bournemouth",
                            "united-kingdom/brighton",
                            "united-kingdom/bristol",
                            "united-kingdom/cardiff",
                            "united-kingdom/coventry",
                            "united-kingdom/derby",
                            "united-kingdom/edinburgh",
                            "united-kingdom/glasgow",
                            "united-kingdom/hull",
                            "united-kingdom/leeds",
                            "united-kingdom/leicester",
                            "united-kingdom/liverpool",
                            "united-kingdom/london",
                            "united-kingdom/manchester",
                            "united-kingdom/middlesbrough",
                            "united-kingdom/newcastle",
                            "united-kingdom/nottingham",
                            "united-kingdom/plymouth",
                            "united-kingdom/portsmouth",
                            "united-kingdom/preston",
                            "united-kingdom/sheffield",
                            "united-kingdom/stoke-on-trent",
                            "united-kingdom/swansea",
                            "united-states",
                            "united-states/albuquerque",
                            "united-states/atlanta",
                            "united-states/austin",
                            "united-states/baltimore",
                            "united-states/baton-rouge",
                            "united-states/birmingham",
                            "united-states/boston",
                            "united-states/charlotte",
                            "united-states/chicago",
                            "united-states/cincinnati",
                            "united-states/cleveland",
                            "united-states/colorado-springs",
                            "united-states/columbus",
                            "united-states/dallas-ft-worth",
                            "united-states/denver",
                            "united-states/detroit",
                            "united-states/el-paso",
                            "united-states/fresno",
                            "united-states/greensboro",
                            "united-states/harrisburg",
                            "united-states/honolulu",
                            "united-states/houston",
                            "united-states/indianapolis",
                            "united-states/jackson",
                            "united-states/jacksonville",
                            "united-states/kansas-city",
                            "united-states/las-vegas",
                            "united-states/long-beach",
                            "united-states/los-angeles",
                            "united-states/louisville",
                            "united-states/memphis",
                            "united-states/mesa",
                            "united-states/miami",
                            "united-states/milwaukee",
                            "united-states/minneapolis",
                            "united-states/nashville",
                            "united-states/new-haven",
                            "united-states/new-orleans",
                            "united-states/new-york",
                            "united-states/norfolk",
                            "united-states/oklahoma-city",
                            "united-states/omaha",
                            "united-states/orlando",
                            "united-states/philadelphia",
                            "united-states/phoenix",
                            "united-states/pittsburgh",
                            "united-states/portland",
                            "united-states/providence",
                            "united-states/raleigh",
                            "united-states/richmond",
                            "united-states/sacramento",
                            "united-states/salt-lake-city",
                            "united-states/san-antonio",
                            "united-states/san-diego",
                            "united-states/san-francisco",
                            "united-states/san-jose",
                            "united-states/seattle",
                            "united-states/st-louis",
                            "united-states/tallahassee",
                            "united-states/tampa",
                            "united-states/tucson",
                            "united-states/virginia-beach",
                            "united-states/washington",
                            "venezuela",
                            "venezuela/barcelona",
                            "venezuela/barquisimeto",
                            "venezuela/caracas",
                            "venezuela/ciudad-guayana",
                            "venezuela/maracaibo",
                            "venezuela/maracay",
                            "venezuela/maturin",
                            "venezuela/turmero",
                            "venezuela/valencia",
                            "vietnam",
                            "vietnam/can-tho",
                            "vietnam/da-nang",
                            "vietnam/hai-phong",
                            "vietnam/hanoi",
                            "vietnam/ho-chi-minh-city"
                        ],
                        "type": "string",
                        "description": "Select the location to scrape trends for.",
                        "default": "Worldwide"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
