{"uid":"cap_YZNCqFv8n5A7f4RDK2ASj","slug":"twitter-x-trends-locations-list-917dd3fc","name":"Twitter/X Trends Locations List","description":"List the geographic locations available for Twitter/X trends, including WOEIDs, place types and country details.","url":"https://twitter.use.x402atlas.com/locations","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"locations":[{"name":"Worldwide","woeid":1,"place_type":"Supername","place_type_code":19},{"name":"Los Angeles","woeid":2442047,"country":"United States","place_type":"Town","country_code":"US","parent_woeid":23424977,"place_type_code":7}],"queried_at":"2026-07-26T12:00:00Z","location_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5GarA4HRY9uIzoyYQcO7D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all geographic locations available for Twitter/X trends, including WOEIDs, place types, country codes, and parent location details.","exampleAgentPrompt":"Can you pull the full list of geographic locations available for Twitter/X trends, so I can see all the WOEIDs, place types, and country codes I can use to look up trending topics?","exampleUseCases":[{"title":"Finding WOEID for trend lookup","prompt":"I want to look up trending topics on Twitter for Japan — can you first get me the list of all available trend locations so I can find Japan's WOEID?"},{"title":"Building a trends dashboard","prompt":"I'm setting up a dashboard that shows Twitter trends for multiple countries. Can you fetch all the supported trend locations with their WOEIDs and country codes so I know what options I have?"},{"title":"Exploring available trend geographies","prompt":"What cities and countries can I actually get Twitter trending data for? Show me the full list of supported locations with their place types."}],"resultDescription":"A JSON object containing a timestamp of when the query was made, the total count of available locations, and an array of location objects each with a WOEID (integer), name, country, country code, place type label, place type code, and parent WOEID.","failureModes":["API rate limiting or payment failure returns an HTTP 402 or 429 error","Twitter/X backend unavailability may return 5xx errors","The list of supported locations may be incomplete if Twitter has deprecated certain WOEIDs","Empty or partial location arrays if the upstream Twitter API restricts access"],"whenToPreferThis":"Use this endpoint as the first step before querying Twitter/X trends by WOEID — it is the canonical source for discovering which geographic locations and WOEIDs are valid for the trends API. Prefer it when you need to programmatically enumerate all supported regions, validate a WOEID before use, or build a location picker for a trends workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:00.442Z","isFirstParty":false}