---
title: "Get trends by location"
method: GET
path: "/v1/twitter/trends/place/{woeid}"
tags: ["Trends"]
---

# Get trends by location

`GET /v1/twitter/trends/place/{woeid}`

## Request

- Base URL: `https://scrapebadger.com`
- URL: `https://scrapebadger.com/v1/twitter/trends/place/{woeid}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/scrapebadger/apis/scrapebadger-account-api/docs/v1/twitter/trends/place/:woeid/get.ts> (a function with typed inputs; its response is checked against the schema)

Get trending topics for a specific geographic location identified by its WOEID (Where On Earth ID). Returns location-specific trends including trend names, tweet volumes, and search URLs. Use WOEID 1 for worldwide trends, or 23424977 for United States.

## Path parameters

- `woeid` string, required

## Response `200`

Successfully retrieved place trends.

- PlaceTrendsData: Trending topics for a specific geographic location.
  - `woeid` integer, required: Where On Earth ID of the location.
  - `name` string, nullable: Name of the location.
  - `country` string, nullable: Country name.
  - `trends` TrendData[]: List of trending topics at this location.
    - `name` string, required: Name of the trending topic or hashtag.
    - `url` string, nullable: Twitter search URL for this trend.
    - `query` string, nullable: Search query string for this trend.
    - `tweet_count` integer, nullable: Approximate number of tweets about this trend.
    - `domain_context` string, nullable: Contextual category of the trend (e.g., 'Entertainment', 'Sports').

## Other responses

- `401`: Authentication failed. The API key is missing, invalid, or expired.
- `402`: Insufficient credits. Your account balance has been exhausted. Purchase more credits at https://scrapebadger.com/dashboard/billing.
- `429`: Rate limit exceeded. Too many requests in a given time period. Implement exponential backoff and retry.

---

[API](https://skmtc.dev/scrapebadger/apis/scrapebadger-account-api.md) - [All operations](https://skmtc.dev/scrapebadger/apis/scrapebadger-account-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapebadger/apis/scrapebadger-account-api/revisions/4a1ef8777baf?raw)
