Twitter Scraper

ENDPOINTS
GET/places/search

Search Places

Search the places X uses for tweet location tags, with coordinates and bounding boxes.

QUERY PARAMS

Place name to search.

Example: Beverly Hills

{
  "query": "Beverly Hills",
  "count": 20,
  "places": [
    {
      "id": "741e9df4d2522275",
      "name": "Beverly Hills",
      "full_name": "Beverly Hills, CA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 34.082573999999994,
      "longitude": -118.40634788770052,
      "bounding_box": [
        [
          -118.4273439,
          34.052559
        ],
        [
          -118.4273439,
          34.112434
        ],
        [
          -118.371934,
          34.112434
        ],
        [
          -118.371934,
          34.052559
        ]
      ],
      "contained_within": [
        "LOS ANGELES"
      ]
    },
    {
      "id": "01bd241973160cac",
      "name": "Hillsboro",
      "full_name": "Hillsboro, OR",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 45.53075015,
      "longitude": -122.93484983053688,
      "bounding_box": [
        [
          -123.011705,
          45.488124
        ],
        [
          -123.011705,
          45.573434
        ],
        [
          -122.859355,
          45.573434
        ],
        [
          -122.859355,
          45.488124
        ]
      ],
      "contained_within": [
        "PORTLAND, OR"
      ]
    },
    {
      "id": "1d09535781e3b870",
      "name": "Auburn Hills",
      "full_name": "Auburn Hills, MI",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 42.663801,
      "longitude": -83.2310372402275,
      "bounding_box": [
        [
          -83.32891,
          42.6198238
        ],
        [
          -83.32891,
          42.7095451
        ],
        [
          -83.209206,
          42.7095451
        ],
        [
          -83.209206,
          42.6198238
        ]
      ],
      "contained_within": [
        "DETROIT"
      ]
    },
    {
      "id": "5e68ca240e32025a",
      "name": "Chino Hills",
      "full_name": "Chino Hills, CA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 33.97246505,
      "longitude": -117.72819489518653,
      "bounding_box": [
        [
          -117.788282,
          33.921548
        ],
        [
          -117.788282,
          34.0234834
        ],
        [
          -117.6552404,
          34.0234834
        ],
        [
          -117.6552404,
          33.921548
        ]
      ],
      "contained_within": [
        "LOS ANGELES"
      ]
    },
    {
      "id": "0b40afc99807b6ac",
      "name": "Farmington Hills",
      "full_name": "Farmington Hills, MI",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 42.484190299999995,
      "longitude": -83.37726443101937,
      "bounding_box": [
        [
          -83.437523,
          42.439001
        ],
        [
          -83.437523,
          42.529556
        ],
        [
          -83.316839,
          42.529556
        ],
        [
          -83.316839,
          42.439001
        ]
      ],
      "contained_within": [
        "DETROIT"
      ]
    },
    {
      "id": "c79a0302b462ea2f",
      "name": "North Richland Hills",
      "full_name": "North Richland Hills, TX",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 32.8603955,
      "longitude": -97.21229843137255,
      "bounding_box": [
        [
          -97.264529,
          32.808748
        ],
        [
          -97.264529,
          32.9120264
        ],
        [
          -97.184107,
          32.9120264
        ],
        [
          -97.184107,
          32.808748
        ]
      ],
      "contained_within": [
        "DALLAS-FT. WORTH"
      ]
    },
    {
      "id": "7dea5f8c907d1ea2",
      "name": "Beverly",
      "full_name": "Beverly, MA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 42.566316,
      "longitude": -70.85097952895754,
      "bounding_box": [
        [
          -70.923007,
          42.53915
        ],
        [
          -70.923007,
          42.593439
        ],
        [
          -70.793176,
          42.593439
        ],
        [
          -70.793176,
          42.53915
        ]
      ],
      "contained_within": [
        "BOSTON (MANCHESTER)"
      ]
    },
    {
      "id": "2409d5aabed47f79",
      "name": "Rochester Hills",
      "full_name": "Rochester Hills, MI",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 42.6668175,
      "longitude": -83.15321862686815,
      "bounding_box": [
        [
          -83.214001,
          42.620953
        ],
        [
          -83.214001,
          42.712333
        ],
        [
          -83.091535,
          42.712333
        ],
        [
          -83.091535,
          42.620953
        ]
      ],
      "contained_within": [
        "DETROIT"
      ]
    },
    {
      "id": "e898916fab5ef970",
      "name": "Druid Hills",
      "full_name": "Druid Hills, GA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 33.7854831,
      "longitude": -84.32943062167325,
      "bounding_box": [
        [
          -84.3488546,
          33.764565
        ],
        [
          -84.3488546,
          33.805572
        ],
        [
          -84.30578,
          33.805572
        ],
        [
          -84.30578,
          33.764565
        ]
      ],
      "contained_within": [
        "ATLANTA"
      ]
    },
    {
      "id": "7117a74ec1bd6dc5",
      "name": "Vestavia Hills",
      "full_name": "Vestavia Hills, AL",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 33.451198,
      "longitude": -86.78204926944841,
      "bounding_box": [
        [
          -86.831239,
          33.398161
        ],
        [
          -86.831239,
          33.50444
        ],
        [
          -86.6510773,
          33.50444
        ],
        [
          -86.6510773,
          33.398161
        ]
      ],
      "contained_within": [
        "BIRMINGHAM (ANN AND TUSC)"
      ]
    },
    {
      "id": "0d9a7f9b8f0baf12",
      "name": "Agoura Hills",
      "full_name": "Agoura Hills, CA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 34.1473765,
      "longitude": -118.76499274869141,
      "bounding_box": [
        [
          -118.794237,
          34.125821
        ],
        [
          -118.794237,
          34.168336
        ],
        [
          -118.715023,
          34.168336
        ],
        [
          -118.715023,
          34.125821
        ]
      ],
      "contained_within": [
        "LOS ANGELES"
      ]
    },
    {
      "id": "18165a3f2b139f0f",
      "name": "Dix Hills",
      "full_name": "Dix Hills, NY",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 40.803111,
      "longitude": -73.3371155390625,
      "bounding_box": [
        [
          -73.380745,
          40.767592
        ],
        [
          -73.380745,
          40.83856
        ],
        [
          -73.29345,
          40.83856
        ],
        [
          -73.29345,
          40.767592
        ]
      ],
      "contained_within": [
        "NEW YORK"
      ]
    },
    {
      "id": "000a76c020fc19ce",
      "name": "Hillsborough",
      "full_name": "Hillsborough, NJ",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 40.502004,
      "longitude": -74.65443297927024,
      "bounding_box": [
        [
          -74.6936749,
          40.455306
        ],
        [
          -74.6936749,
          40.547849
        ],
        [
          -74.571998,
          40.547849
        ],
        [
          -74.571998,
          40.455306
        ]
      ],
      "contained_within": [
        "NEW YORK"
      ]
    },
    {
      "id": "ab2b3353d37b40e6",
      "name": "El Dorado Hills",
      "full_name": "El Dorado Hills, CA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 38.6828585,
      "longitude": -121.0733253205639,
      "bounding_box": [
        [
          -121.111768,
          38.621986
        ],
        [
          -121.111768,
          38.743729
        ],
        [
          -121.027263,
          38.743729
        ],
        [
          -121.027263,
          38.621986
        ]
      ],
      "contained_within": [
        "SACRAMNTO-STKTON-MODESTO"
      ]
    },
    {
      "id": "0a7fa82a81bf51f4",
      "name": "Pine Hills",
      "full_name": "Pine Hills, FL",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 28.58664,
      "longitude": -81.4699139710312,
      "bounding_box": [
        [
          -81.504956,
          28.5392245
        ],
        [
          -81.504956,
          28.634059
        ],
        [
          -81.434413,
          28.634059
        ],
        [
          -81.434413,
          28.5392245
        ]
      ],
      "contained_within": [
        "ORLANDO-DAYTONA BCH-MELBRN"
      ]
    },
    {
      "id": "2eb3293957fd451a",
      "name": "Palos Hills",
      "full_name": "Palos Hills, IL",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 41.6993865,
      "longitude": -87.82259388410255,
      "bounding_box": [
        [
          -87.849207,
          41.680714
        ],
        [
          -87.849207,
          41.718255
        ],
        [
          -87.797933,
          41.718255
        ],
        [
          -87.797933,
          41.680714
        ]
      ],
      "contained_within": [
        "CHICAGO"
      ]
    },
    {
      "id": "e993aa6b2023e210",
      "name": "Hillside",
      "full_name": "Hillside, NJ",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 40.6932535,
      "longitude": -74.22426740616791,
      "bounding_box": [
        [
          -74.24953,
          40.6752038
        ],
        [
          -74.24953,
          40.711314
        ],
        [
          -74.208684,
          40.711314
        ],
        [
          -74.208684,
          40.6752038
        ]
      ],
      "contained_within": [
        "NEW YORK"
      ]
    },
    {
      "id": "00e12cc87130c6bf",
      "name": "Forest Hills",
      "full_name": "Forest Hills, MI",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 42.913016999999996,
      "longitude": -85.5221332664882,
      "bounding_box": [
        [
          -85.551867,
          42.854485
        ],
        [
          -85.551867,
          42.971813
        ],
        [
          -85.4495569,
          42.971813
        ],
        [
          -85.4495569,
          42.854485
        ]
      ],
      "contained_within": [
        "GRAND RAPIDS-KALMZOO-B.CRK"
      ]
    },
    {
      "id": "1f4902dd49ed392e",
      "name": "Halton Hills",
      "full_name": "Halton Hills, Ontario",
      "type": "city",
      "country": "Canada",
      "country_code": "CA",
      "latitude": 43.62944,
      "longitude": -79.95643403838174,
      "bounding_box": [
        [
          -80.085732,
          43.524656
        ],
        [
          -80.085732,
          43.734448
        ],
        [
          -79.78812,
          43.734448
        ],
        [
          -79.78812,
          43.524656
        ]
      ],
      "contained_within": [
        "Toronto"
      ]
    },
    {
      "id": "2127a214d4606ccf",
      "name": "Penn Hills",
      "full_name": "Penn Hills, PA",
      "type": "city",
      "country": "United States",
      "country_code": "US",
      "latitude": 40.4772741,
      "longitude": -79.83287945487075,
      "bounding_box": [
        [
          -79.890005,
          40.4361556
        ],
        [
          -79.890005,
          40.5183908
        ],
        [
          -79.777669,
          40.5183908
        ],
        [
          -79.777669,
          40.4361556
        ]
      ],
      "contained_within": [
        "PITTSBURGH"
      ]
    }
  ]
}