{
  "openapi": "3.0.1",
  "info": {
    "title": "Twitter/X Global Trending Tweets Scraper",
    "description": "Extract trending tweets from Twitter/X by country, topic, and content tag. Get structured tweet data with text, author info, timestamps, language, hashtags, media, URLs, and engagement metrics for trend monitoring, market research, and AI workflows.",
    "version": "0.0",
    "x-build-id": "XF3uSf1Taa5BWdvOS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fastcrawler~twitter-x-global-trending-tweets-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fastcrawler-twitter-x-global-trending-tweets-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/fastcrawler~twitter-x-global-trending-tweets-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fastcrawler-twitter-x-global-trending-tweets-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/fastcrawler~twitter-x-global-trending-tweets-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fastcrawler-twitter-x-global-trending-tweets-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",
        "properties": {
          "country": {
            "title": "country",
            "enum": [
              "global",
              "algeria",
              "argentina",
              "australia",
              "austria",
              "bangladesh",
              "belgium",
              "brazil",
              "canada",
              "chile",
              "colombia",
              "czech-republic",
              "denmark",
              "ecuador",
              "egypt",
              "ethiopia",
              "finland",
              "france",
              "germany",
              "ghana",
              "greece",
              "hungary",
              "india",
              "indonesia",
              "iran",
              "ireland",
              "israel",
              "italy",
              "jamaica",
              "japan",
              "jordan",
              "kenya",
              "kuwait",
              "lebanon",
              "malaysia",
              "mexico",
              "morocco",
              "netherlands",
              "new-zealand",
              "nigeria",
              "norway",
              "oman",
              "pakistan",
              "peru",
              "philippines",
              "poland",
              "portugal",
              "qatar",
              "romania",
              "russia",
              "saudi-arabia",
              "singapore",
              "south-africa",
              "south-korea",
              "spain",
              "sri-lanka",
              "sweden",
              "switzerland",
              "tanzania",
              "thailand",
              "tunisia",
              "turkey",
              "ukraine",
              "united-arab-emirates",
              "united-kingdom",
              "united-states",
              "venezuela",
              "vietnam"
            ],
            "type": "string",
            "description": "country",
            "default": "global"
          },
          "topic": {
            "title": "topic",
            "enum": [
              "anime",
              "beauty",
              "business-finance",
              "cars",
              "celebrity",
              "cryptocurrency",
              "dance",
              "fashion",
              "food",
              "gaming",
              "health-fitness",
              "home-garden",
              "memes",
              "movies-tv",
              "music",
              "nature-outdoors",
              "news",
              "pets",
              "relationships",
              "religion",
              "science",
              "sports",
              "technology",
              "travel"
            ],
            "type": "string",
            "description": "topic",
            "default": "technology"
          },
          "tags": {
            "title": "tags",
            "enum": [
              "Seedance",
              "Nomisma Network",
              "Instagram",
              "Steam Machine",
              "Artificial Intelligence",
              "Arcium",
              "BytePlus",
              "Prime Intellect",
              "ByteDance",
              "GLM 5",
              "Claude",
              "Tesla",
              "Quantum Computing",
              "Binance",
              "Topview",
              "SpaceX",
              "Web3",
              "ChatGPT",
              "A24",
              "BingX",
              "Tria",
              "Elon Musk",
              "TimeSoul",
              "Upbit",
              "The Arc Terminal",
              "Quip Network",
              "Grok",
              "Palantir",
              "LLM",
              "Donald Trump",
              "Codex",
              "Autopilot",
              "Google",
              "Anthropic",
              "Solana",
              "Nvidia",
              "Sleepagotchi",
              "Canopy Network",
              "ARX",
              "Microsoft",
              "Fugu Ultra",
              "Data Center",
              "Olivia Lin",
              "Apple",
              "MiHoYo",
              "DeepSeek",
              "TypeScript",
              "Python",
              "Starlink",
              "GitHub",
              "MiniMax",
              "Theo Von",
              "IPhone",
              "Meta",
              "Blockchain",
              "White House",
              "Gemini",
              "Hermes",
              "GPU",
              "China",
              "Amazon",
              "Telegram",
              "Large Language Model",
              "Unitree",
              "NASA",
              "GenLayer",
              "Samsung",
              "Quantum Technology",
              "Executive Order",
              "Robotics",
              "SK Hynix",
              "CNPY Network",
              "Valve",
              "United States",
              "IOS",
              "Cursor",
              "Software Development",
              "Linux",
              "Micron",
              "YouTube",
              "Cybersecurity",
              "Machine Learning",
              "OpenRouter",
              "AMD",
              "Windows",
              "Ethereum",
              "Sam Altman",
              "Algorithm",
              "Bitcoin",
              "Laptop",
              "Obsidian",
              "Semiconductor",
              "MacOS",
              "API",
              "Humanoid Robot",
              "San Francisco",
              "Blender",
              "Midjourney",
              "OpenClaw",
              "Starship",
              "DRAM",
              "WhatsApp",
              "Discord",
              "Cloudflare",
              "AWS",
              "Android",
              "Nintendo",
              "Privacy",
              "FSD",
              "GPT 55",
              "MiCA",
              "TRON",
              "Bitget",
              "TermMax",
              "Nesa",
              "CPX",
              "NFT",
              "Ripple",
              "Gate",
              "Luxembourg",
              "OKX",
              "River",
              "Silver",
              "OKB",
              "Justin Sun",
              "XRP",
              "ICE",
              "USDT",
              "DeFi",
              "BStocks",
              "Polymarket",
              "Crypto",
              "SPCX",
              "US Senate",
              "BlackRock",
              "CNPY",
              "BTC",
              "Hyperliquid",
              "RWA",
              "Federal Reserve",
              "Base",
              "SecondFi",
              "TTS",
              "USDC",
              "Cardano",
              "Stablecoin",
              "SatUSD",
              "QUEST",
              "HTX",
              "UwU",
              "BNB Chain",
              "Tezos",
              "Trading",
              "Token",
              "MicroStrategy",
              "Rally",
              "Memecoin",
              "Dogecoin",
              "OpenSea",
              "Pumpfun",
              "Ethlabs",
              "Michael Saylor",
              "ETF",
              "Vitalik Buterin",
              "Bored Ape Yacht Club",
              "Chimpers",
              "Ansem",
              "Pepe",
              "Allbridge",
              "CoinMarketCap",
              "Stellar",
              "Bittensor",
              "Cynthia Lummis",
              "KINS",
              "Bybit",
              "Pudgy Penguins",
              "Clarity Act",
              "SP 500",
              "Backpack",
              "Zcash",
              "SPX6900",
              "World Cup",
              "Whale",
              "TAO",
              "XLM",
              "Ondo",
              "Azuki",
              "Ordinals",
              "Liquidity",
              "Monad",
              "FOMO"
            ],
            "type": "string",
            "description": "tags",
            "default": "Claude"
          },
          "maxItems": {
            "title": "Maximum number of items on output",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of items that you want as output.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}