Skip to main content
GET
/
v1
/
twitter
/
trends
/
place
/
{woeid}
Get trends by location
curl --request GET \
  --url https://scrapebadger.com/v1/twitter/trends/place/{woeid} \
  --header 'x-api-key: <api-key>'
{
  "woeid": 1,
  "name": "Worldwide",
  "country": "<string>",
  "trends": [
    {
      "name": "#AI",
      "url": "<string>",
      "query": "<string>",
      "tweet_count": 123,
      "domain_context": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your ScrapeBadger API key. You can find this in your dashboard at https://scrapebadger.com/dashboard/api-keys.

Path Parameters

woeid
string
required

Where On Earth ID of the location. Use 1 for worldwide, 23424977 for US, 23424975 for UK, etc.

Example:

"1"

Response

Successfully retrieved place trends.

Trending topics for a specific geographic location.

woeid
integer
required

Where On Earth ID of the location.

Example:

1

name
string | null

Name of the location.

Example:

"Worldwide"

country
string | null

Country name.

List of trending topics at this location.