Example usage
URL for Listings Search:
https://www.arcgis.com/sharing/rest/content/listings?q=park
Description
This operation searches for marketplace listings. The searches are performed against a high performance index that indexes the most popular fields of a listing. See the Search reference page for information on the fields and the syntax of the query.
By default, this search spans all public listings in the marketplace. However, if you're logged in as a vendor org admin and you specify the mylistings=true
parameter, it then searches all public and private listings in your organization.
Request parameters
Parameter | Details |
---|---|
| For a complete listing, see Common parameters. |
| Description: The query string to use to search. See Search reference. Example:
|
| Description: If Values: |
| Description: The number of the first entry in the result set response. The index number is 1-based. The default value of The Example:
|
| Description: The maximum number of results to be included in the result set response. The default value is The Note that the actual number of returned results may be less than Example:
|
| Description: The field to sort by. You can also sort by multiple fields (comma separated) for listings, sort field names are case-insensitive. Supported sort field names are |
| Description: Describes whether the order returns in ascending or descending order. Default is ascending. Values: |
Response properties
Property | Details |
---|---|
| Description: The query string searched. |
| Description: The total number of results found for the whole query. The number of query results is limited to 10000. |
| Description: The number of the first entry in the result set for this response. The index number is 1-based. |
| Description: The number of results included in the result set for this response. |
| Description: The next entry index if the current result set doesn't contain all results. |
| Description: A JSON array of listing objects. See the response properties of a listing. |
JSON Response syntax
{
"query": "<query string>",
"total": <total number of results>,
"start": <results in first set>,
"num": <number of results per page>,
"nextStart": <result number of next page>,
"listings": [
{<listing1>},
{<listing2>}
]
}
JSON Response example
{
"query": "test",
"total": 1,
"start": 1,
"num": 1,
"nextStart": -1,
"listings": [
{
"itemId": "c23d34bea01946f0ba1f530dda4c142e",
"licenseType": "free",
"priceDesc": "Free",
"creditsPerTransaction": 0,
"listingAccess": "public",
"trialSupported": false,
"type": "Feature Service",
"typeKeywords": [
"Feature Service",
"Hosted Service"
],
"title": "Test Title",
"description": "Test Description",
"tags": [
"test",
"tag"
],
"snippet": "Test Snippet",
"thumbnail": "thumbnail/usa_counties.jpg",
"appCategories": [],
"industries": [],
"languages": [],
"largeThumbnail": "largethumbnail/pic.png",
"banner": "banner/banner_data.jpg",
"screenshots": ["screenshots/ss1.jpg"],
"owner": "esri",
"created": 1369959407000,
"avgRating": 3.75,
"numComments": 2,
"numRatings": 7,
"listingPublishedDate": 1503949100000,
"vendor": {
"id": "VLx4vrvwONglS8iz",
"name": "Test Vendor Name",
"description": "Test Vendor Description",
"thumbnail": "thumbnail.png"
}
}
]
}