The places endpoint allows users to search for places within a certain distance of a geographical point (circle search), or users can search for places within a latitude/longitudinal range (rectangle/box search).

Data returned by the Geoserve Web Service places endpoint is provided by the Geonames geographical database.

Request

Syntax

A geoserve places search takes the following form:

  https://earthquake.usgs.gov/ws/geoserve/places.json?{parameters}

Parameters

Circle Search Parameters

Rectangle Search Parameters

Optional Search Parameters

Notes

Response

The response is formatted as one or more nested GeoJSON FeatureCollections. Each nested GeoJSON FeatureCollections is keyed by the request type.

Properties

Each returned Feature in the GeoJSON FeatureCollection includes an id, a geometry object with longitude, latitude, and elevation, and a properties object with the following attributes:

Geonames/Event

Examples

Below are example requests and responses that detail the nested GeoJSON structure. Each type has a nested GeoJSON FeatureCollection that may contain multiple GeoJSON features. Click the link for an example to see the response.