Get complete geographic information for any Twitter place — name, type, country, coordinates, and bounding box for mapping and analysis.
Average response time: 60ms
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);{
"data": {
"id": "01a9a39529b27f36",
"name": "Manhattan",
"type": "Neighborhood",
"country": "United States",
"bounding_box": { "type": "Polygon", "coordinates": [[-74.02, 40.69], [-73.91, 40.88]] }
}
}/v1/twitter/geo/places/{place_id}| Parameter | Type | Required | Description |
|---|---|---|---|
place_id | string | Required | The Twitter place ID |
Analyze consumer conversations, product feedback, and market trends to inform product development and go-to-market strategies.
Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.
Study political discourse, election campaigns, policy discussions, and public opinion using large-scale tweet datasets.
Detect emerging trends, viral content, and breaking news before they peak using real-time trending topic data.
Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.
Track game-day conversations, player mentions, fan sentiment, and sports trends for media companies and betting platforms.
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.
Sign up for free and get 1,000 API credits instantly. No credit card required.