v1

latestOpenAPI 3.1.02026-07-26180242448.0 KB
Geo

Get place details

Get detailed information about a specific geographic place. Returns comprehensive place data including full name, country, place type, bounding box coordinates, and additional attributes. Use place IDs obtained from the geo search endpoint.

get/v1/twitter/geo/places/{place_id}

Path parameters

place_idstring required
Example:5a110d312052166f

The unique ID of the place.

Response

Successfully retrieved place details.

idstring required

Unique place identifier.

namestring required

Place name.

full_namestring nullable

Full place name including region.

countrystring nullable

Country name.

country_codestring nullable

ISO country code.

place_type'city' | 'country' | 'admin' | 'poi' | 'neighborhood' nullable

Type of place.

urlstring nullable

Twitter URL for the place.

attributesobject nullable

Additional place attributes.

Example response

{
  "id": "5a110d312052166f",
  "name": "San Francisco",
  "full_name": "San Francisco, CA",
  "country": "United States",
  "country_code": "US",
  "bounding_box": {
    "type": "Polygon"
  }
}