AdditionalLocations
{
"dropOff": {
"x": -117.194769,
"y": 34.057289
},
"frontDoor": {
"x": -117.194769,
"y": 34.057289
},
"road": {
"x": -117.194769,
"y": 34.057289
},
"roof": {
"x": -117.194769,
"y": 34.057289
}
}
A set of additional locations for the place, as WGS84 points.
This list provides alternative locations for accessing a place such as
front
or road
.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | A location for drop-off/pick-up for a place. | ||
| none | A location for the front door for a place. | ||
| none | A road-side location for a place. | ||
| none | A location in the roof centroid for a place. |
Address
{
"streetAddress": "380 New York St",
"extended": "Unit 32",
"locality": "Redlands",
"designatedMarketArea": "Los Angeles",
"region": "CA",
"postcode": "92373",
"poBox": "string",
"country": "US",
"adminRegion": "Scotland",
"postTown": "Edinburgh",
"neighborhood": [
"Downtown"
],
"censusBlockId": "060710081003002"
}
The address of a place, or point of interest (POI).
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | The street address for a place, for example the street name and number. | |
|
| none | Additional address information, including suite or apartment numbers. | |
|
| none | The city, town, or equivalent. | |
|
| none | As defined by Nielsen, signifies a region where the population can receive similar TV and radio offerings (US only). | |
|
| none | The state, province, territory or equivalent. | |
|
| none | Postal code or equivalent (zip code in the US). Format will be localized based on country. | |
|
| none | Post-office box. | |
|
| none | Two letter ISO country code | |
|
| none | Additional sub-division. Usually, but not always, a country sub-division (e.g., Scotland). | |
|
| none | Town/place employed in postal addressing. | |
|
| none | The neighborhoods of the place. | |
|
| none | The census block Id of the place (US only). |
Category
{
"categoryId": "17119",
"label": "Bicycle Store"
}
Represents the category of a place.
You can get more information on categories from the places/categories
endpoint.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | The category Id uniquely identifies this category or type of place. The name of the category can be looked up using the
| ||
|
| none | The label that describes the category. |
CategoryDetails
{
"categoryId": "17119",
"fullLabel": [
[
"Retail",
"Sporting Goods Retail",
"Bicycle Store"
]
],
"parents": [
[
"17117"
]
],
"icon": {
"url": "https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg"
}
}
Provides details about a category or type of place.
Categories are hierarchical so that you can filter places based on specific categories such as "Provençal Restaurant", or with more generic types such as "Restaurant". A category such as "Provençal Restaurant" includes the details of its more generic parent, such as "French Restaurant".
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | A unique identifying string for a category. This matches the | ||
|
| none | The full list of labels that describe the category, including its more generic parent categories. | |
|
| none | The list of parent category Ids for this category. | |
| none | Details of an icon, suitable for depicting this place. To fetch icon details use the |
ChainInfo
{
"name": "Starbucks"
}
Information about a chain that a place belongs to.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | The name of the chain. |
ContactInfo
{
"telephone": "(909) 793-2853",
"website": "https://www.esri.com",
"fax": "0800 169 2008",
"email": "support@esri.com"
}
The contact information for a place.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | The telephone number of the place. | |
|
| none | The website address of the place. | |
|
| none | Fax number. | |
|
| none | Email address. |
Error
{
"error": {
"code": 400,
"message": "Parameter invalid.",
"details": [
"string"
],
"restInfoUrl": "https://places-api.arcgis.com/arcgis/rest/info"
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Error information | |
|
| none | A code identifying the type of error. This can be an HTTP status code, | |
|
| none | A message describing the error. | |
|
| none | List of details about the error. | |
|
| none | A link to general information about the service, such as the owning system and token service URL. This property is only present for errors relating to tokens. |
Enumerated Values
code
Hours
{
"opening": {
"monday": [
{
"from": "09:00",
"to": "17:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "17:00"
}
],
"wednesday": [
{
"from": "09:00",
"to": "12:00"
},
{
"from": "13:00",
"to": "17:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "17:00"
}
],
"friday": [
{
"from": "09:00",
"to": "17:00"
}
],
"saturday": [
{
"from": "10:00",
"to": "17:00"
}
],
"sunday": [
{
"from": "11:00",
"to": "12:00"
}
]
},
"popular": {
"monday": [
{
"from": "09:00",
"to": "17:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "17:00"
}
],
"wednesday": [
{
"from": "09:00",
"to": "12:00"
},
{
"from": "13:00",
"to": "17:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "17:00"
}
],
"friday": [
{
"from": "09:00",
"to": "17:00"
}
],
"saturday": [
{
"from": "10:00",
"to": "17:00"
}
],
"sunday": [
{
"from": "11:00",
"to": "12:00"
}
]
},
"openingText": "Mon-Thu 12:00 PM-11:00 PM; Fri-Sat 12:00 PM-11:30 PM; Sun 12:00 PM-10:30 PM"
}
Lists the opening hours of this place or POI along with the popular or busy hours.
A string is also provided that can be used for display.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | The opening hours for a place. Opening hours are shown by day of the week. Each day can have several pairs of from and to times. For example, if a coffee shop is open from 9:00 until 12:00 and then again from 13:00 until 17:00, it would contain two pairs of from/to times: 09:00 paired with 12:00 and 13:00 with 17:00. Opening hours are shown in 24-hour time in the local timezone of the place or POI. | ||
| none | The popular or busy hours for a place. Popular hours are shown by day of the week. Each day can have several pairs of from and to times. For example, if a coffee shop is popular from 9:00 until 10:00 and then again from 14:00 until 15:00, it would contain two pairs of from/to times: 09:00 paired with 10:00 and 14:00 with 15:00. Popular hours are shown in 24-hour time in the local timezone of the place or POI. | ||
|
| none | The opening hours for this place, formatted for display. |
HoursByDay
{
"monday": [
{
"from": "09:00",
"to": "17:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "17:00"
}
],
"wednesday": [
{
"from": "09:00",
"to": "12:00"
},
{
"from": "13:00",
"to": "17:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "17:00"
}
],
"friday": [
{
"from": "09:00",
"to": "17:00"
}
],
"saturday": [
{
"from": "10:00",
"to": "17:00"
}
],
"sunday": [
{
"from": "11:00",
"to": "12:00"
}
]
}
The opening or popular hours for a place.
Opening hours are shown by day of the week. Each day can have several pairs of from and to times. For example, if a coffee shop is open from 9:00 until 12:00 and then again from 13:00 until 17:00, it would contain two pairs of opening/closing times: 9:00 paired with 12:00 and 13:00 with 17:00. Hours are shown in 24-hour time in the local timezone of the place or POI.
Properties
IconDetails
{
"url": "https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg"
}
Information about an icon for depicting a place or category.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Url for an icon for this place or category in either |
NearPointResult
{
"placeId": "2da082218b6f7538e52250999c8f8ef1",
"location": {
"x": -117.194769,
"y": 34.057289
},
"categories": [
{
"categoryId": "11167",
"label": "Technology Business"
}
],
"name": "Esri International",
"distance": 50,
"icon": {
"url": "https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg"
}
}
A result of searching for places using a places/near-point
request.
The result object includes a single place that satisfied the search and the distance from the search point, in meters.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | The unique Id of this place. This place Id can be passed to the | ||
| none | The location of this place as a WGS84 point. | ||
|
| none | A list of category objects for a place. Categories are uniquely identified by a | |
|
| none | The name of the place, or point of interest.
You can search for places by name using the | |
|
| none | The distance, in meters, from the place to the search point of a 'places/near-point` query. | |
| none | Details of an icon, suitable for depicting this place. To fetch icon details use the |
NullablePoint
{
"x": -117.194769,
"y": 34.057289
}
A point defined in WGS84 decimal degrees.
Properties
Pagination
{
"previousUrl": "https://places-api.arcgis.com/arcgis/rest/services/places-service/v1/places/near-point?x=-117.194769&y=34.057289&radius=50.0&offset=0&pageSize=10",
"nextUrl": "https://places-api.arcgis.com/arcgis/rest/services/places-service/v1/places/near-point?x=-117.194769&y=34.057289&radius=50.0&offset=20&pageSize=10"
}
Provides pagination links for accessing more results for the current request.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | A url for fetching the previous page of results. Use this property to request the previous page of results if
available. If this property is omitted then there are no previous
pages of results. You must also supply authentication details, such
as a | |
|
| none | A url for fetching the next page of results. Use this property to request the next page of results if available. If
this property is omitted then there are no more pages of results
available. You must also supply authentication details, such as a
|
PlaceDetails
{
"placeId": "2da082218b6f7538e52250999c8f8ef1",
"categories": [
{
"categoryId": "11167",
"label": "Technology Business"
}
],
"name": "Esri International",
"location": {
"x": -117.194769,
"y": 34.057289
},
"description": "Esri is the global market leader in geographic information system\n(GIS) technology, location intelligence, mapping software, and\nspatial analytics. Esri software is deployed in more than 350,000\norganizations and 75 percent of Fortune 500 companies.\n",
"address": {
"streetAddress": "380 New York St",
"extended": "Unit 32",
"locality": "Redlands",
"designatedMarketArea": "Los Angeles",
"region": "CA",
"postcode": "92373",
"poBox": "string",
"country": "US",
"adminRegion": "Scotland",
"postTown": "Edinburgh",
"neighborhood": [
"Downtown"
],
"censusBlockId": "060710081003002"
},
"additionalLocations": {
"dropOff": {
"x": -117.194769,
"y": 34.057289
},
"frontDoor": {
"x": -117.194769,
"y": 34.057289
},
"road": {
"x": -117.194769,
"y": 34.057289
},
"roof": {
"x": -117.194769,
"y": 34.057289
}
},
"contactInfo": {
"telephone": "(909) 793-2853",
"website": "https://www.esri.com",
"fax": "0800 169 2008",
"email": "support@esri.com"
},
"socialMedia": {
"facebookId": 183768242996,
"twitter": "esri",
"instagram": "esrigram"
},
"hours": {
"opening": {
"monday": [
{
"from": "09:00",
"to": "17:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "17:00"
}
],
"wednesday": [
{
"from": "09:00",
"to": "12:00"
},
{
"from": "13:00",
"to": "17:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "17:00"
}
],
"friday": [
{
"from": "09:00",
"to": "17:00"
}
],
"saturday": [
{
"from": "10:00",
"to": "17:00"
}
],
"sunday": [
{
"from": "11:00",
"to": "12:00"
}
]
},
"popular": {
"monday": [
{
"from": "09:00",
"to": "17:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "17:00"
}
],
"wednesday": [
{
"from": "09:00",
"to": "12:00"
},
{
"from": "13:00",
"to": "17:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "17:00"
}
],
"friday": [
{
"from": "09:00",
"to": "17:00"
}
],
"saturday": [
{
"from": "10:00",
"to": "17:00"
}
],
"sunday": [
{
"from": "11:00",
"to": "12:00"
}
]
},
"openingText": "Mon-Thu 12:00 PM-11:00 PM; Fri-Sat 12:00 PM-11:30 PM; Sun 12:00 PM-10:30 PM"
},
"rating": {
"price": "cheap",
"user": 4.5
},
"chains": [
{
"name": "Starbucks"
}
],
"icon": {
"url": "https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg"
}
}
The additional details for a Place
, including address, contact details, opening hours, and rating.
You can request additional details for a place by using the place
in
a places/{place
request. Use the requested
query parameter
to choose the fields or attributes that are included in the response.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | The unique Id of this place. | ||
|
| none | A list of category objects for a place. Categories are uniquely identified by a This property is part of the "Place" attribute group. | |
|
| none | The name of the place, or point of interest. This property is part of the "Place" attribute group. | |
| none | The location of this place as a WGS84 point. This property is part of the "Location" attribute group. | ||
|
| none | A text description of the place. This property is part of the "Details" attribute group. | |
| none | The address of the place or point of interest (POI). This object and child properties are part of the "Address" attribute group. | ||
| none | A set of additional locations that represent the place as WGS84 points, for example the location of the front door, or of a drop off point. This object and child properties are part of the "Location" attribute group. | ||
| none | Contact information for the place, such as the telephone number or email address. This object and child properties are part of the "Details" attribute group. | ||
| none | Social media information associated with the place. This object and child properties are part of the "Details" attribute group. | ||
| none | The operating hours for the place, including hours of opening and popular times. This object and child properties are part of the "Details" attribute group. | ||
| none | Rating information supplied by users of the place. This object and child properties are part of the "Details" attribute group. | ||
| none | Information about all the chains the place belongs to. This object and child properties are part of the "Details" attribute group. | ||
| none | Details of an icon, suitable for depicting this place. To fetch icon details use the |
PlaceId
"2da082218b6f7538e52250999c8f8ef1"
An ID that uniquely identifies a place.
A place ID is a 32 character string.
- Type
- string
- Required
- false
- Restrictions
- none
- Minimum length
- 32
- Maximum length
- 32
Point
{
"x": -117.194769,
"y": 34.057289
}
A point defined in WGS84 decimal degrees.
Properties
Rating
{
"price": "cheap",
"user": 4.5
}
Rating information about the price and user rating of the place.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | An indication of the overall price of a place based on user reviews. | |
|
| none | A rating for the place based on user-reviews from 0 to 5, where 5 is the best rating. |
Enumerated Values
price
SearchDistance
50
A search distance in meters.
- Type
- number(float)
- Required
- false
- Restrictions
- none
- Default value
- 1000
- Minimum
- 1
- Maximum
- 10000
SocialMedia
{
"facebookId": 183768242996,
"twitter": "esri",
"instagram": "esrigram"
}
The social media details for a place.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | The facebook Id of the place. | |
|
| none | The twitter handle of the place. | |
|
| none | The instagram ID of the place. |
TimeRange
{
"from": "10:00",
"to": "13:00"
}
A pair of times defining the start and end of a time period.
For example, this could define opening hours or popular hours. Hours are shown in 24-hour time in the local timezone of the place or POI.
Where a time range is 24-hours (for example a venue that is open 24-hours),
the from
property will be 00:00 and the to
property will be 23:59.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | The start of a time range in the format "HH:MM". | |
|
| none | The end of a time range in the format "HH:MM". |
WithinExtentResult
{
"placeId": "2da082218b6f7538e52250999c8f8ef1",
"location": {
"x": -117.194769,
"y": 34.057289
},
"categories": [
{
"categoryId": "11167",
"label": "Technology Business"
}
],
"name": "Esri International",
"icon": {
"url": "https://static.arcgis.com/icons/places/Default_Shop_or_Service_15.svg"
}
}
A result of searching for places using a places/within-extent
request.
The result object includes a single place that satisfied the search.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
| none | The unique Id of this place. This place Id can be passed to the | ||
| none | The location of this place as a WGS84 point. | ||
|
| none | A list of category objects for a place. Categories are uniquely identified by a | |
|
| none | The name of the place, or point of interest.
You can search for places by name using the | |
| none | Details of an icon, suitable for depicting this place. To fetch icon details use the |