Skip to main content
GET
/
v1
/
twitter
/
geo
/
places
/
{place_id}
Get place details
curl --request GET \
  --url https://scrapebadger.com/v1/twitter/geo/places/{place_id} \
  --header 'x-api-key: <api-key>'
{
  "id": "5a110d312052166f",
  "name": "San Francisco",
  "full_name": "San Francisco, CA",
  "country": "United States",
  "country_code": "US",
  "place_type": "city",
  "url": "<string>",
  "bounding_box": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          123
        ]
      ]
    ]
  },
  "attributes": {}
}

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

place_id
string
required

The unique ID of the place.

Example:

"5a110d312052166f"

Response

Successfully retrieved place details.

Geographic place data.

id
string
required

Unique place identifier.

Example:

"5a110d312052166f"

name
string
required

Place name.

Example:

"San Francisco"

full_name
string | null

Full place name including region.

Example:

"San Francisco, CA"

country
string | null

Country name.

Example:

"United States"

country_code
string | null

ISO country code.

Example:

"US"

place_type
enum<string> | null

Type of place.

Available options:
city,
country,
admin,
poi,
neighborhood
url
string | null

Twitter URL for the place.

bounding_box
object

Geographical bounding box coordinates.

attributes
object

Additional place attributes.