GETplaces

Get Twitter Place Details

Get complete geographic information for any Twitter place — name, type, country, coordinates, and bounding box for mapping and analysis.

Average response time: 60ms

Code Examples

const response = await fetch(
  'https://scrapebadger.com/v1/twitter/geo/places/01a9a39529b27f36',
  { headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const place = await response.json();
console.log(place.data.name, place.data.country);
Response
{
  "data": {
    "id": "01a9a39529b27f36",
    "name": "Manhattan",
    "type": "Neighborhood",
    "country": "United States",
    "bounding_box": { "type": "Polygon", "coordinates": [[-74.02, 40.69], [-73.91, 40.88]] }
  }
}

API Reference

GET/v1/twitter/geo/places/{place_id}
ParameterTypeRequiredDescription
place_idstringRequiredThe Twitter place ID

Use Cases

Market Research

Analyze consumer conversations, product feedback, and market trends to inform product development and go-to-market strategies.

Academic Research

Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.

Political Analysis

Study political discourse, election campaigns, policy discussions, and public opinion using large-scale tweet datasets.

Trend Tracking

Detect emerging trends, viral content, and breaking news before they peak using real-time trending topic data.

Social Listening

Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.

Sports Analytics

Track game-day conversations, player mentions, fan sentiment, and sports trends for media companies and betting platforms.

Frequently Asked Questions

Use the Search Places endpoint to find place IDs by name or coordinates. Place IDs also appear in geo-tagged tweets.

The bounding box is a polygon of coordinates that defines the geographic boundary of the place.

Yes. The bounding box coordinates can be plotted on any mapping service (Google Maps, Mapbox, Leaflet).

No. Twitter places cover locations worldwide — cities, countries, and regions across the globe.