Search for images
Changed onThis endpoint searches for images. If you specify more than one search parameter, the API uses an AND condition. Array parameters can be specified multiple times; in this case, the API uses an AND or an OR condition with those values, depending on the parameter. You can also filter search terms out in the query parameter by prefixing the term with NOT. Free API accounts show results only from a limited library of media, not the full Shutterstock media library. Also, the number of search fields they can use in a request is limited.
Request
- Base URLhttps://api.shutterstock.com
- Auth
- HTTP basic
- or OAuth 2Authorization codehttps://accounts.shutterstock.com/oauth/authorizeToken URLhttps://api.shutterstock.com/v2/oauth/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search within different Shutterstock owned libraries
Show images added on the specified date
Show images added on or after the specified date
Show images with the specified aspect ratio or higher, using a positive decimal of the width divided by the height, such as 1.7778 for a 16:9 image
Show images with the specified aspect ratio or lower, using a positive decimal of the width divided by the height, such as 1.7778 for a 16:9 image
Show images with the specified aspect ratio, using a positive decimal of the width divided by the height, such as 1.7778 for a 16:9 image
Show images added before the specified date
Show images with the specified Shutterstock-defined category; specify a category name or ID
Specify either a hexadecimal color in the format '4F21EA' or 'grayscale'; the API returns images that use similar colors
Show images with the specified contributor names or IDs, allows multiple
Show images from contributors in one or more specified countries, or start with NOT to exclude a country from the search
Fields to display in the response; see the documentation for the fields parameter in the overview section
(Deprecated; use height_from and height_to instead) Show images with the specified height
Show images with the specified height or larger, in pixels
Show images with the specified height or smaller, in pixels
Show images of the specified type
Hide results with potentially unsafe keywords
Language code
Set query and result language (uses Accept-Language header if not set)
Show only images with the specified license
Show image results with the specified model IDs
Show image results with horizontal or vertical orientation
Page number
Number of results per page
Show images of people with a signed model release
Show images that feature people of the specified age category
Show images with people of the specified ethnicities, or start with NOT to show images without those ethnicities
Show images with people of the specified gender
Show images with the specified number of people
One or more search terms separated by spaces; you can use NOT to filter out images that match a term
Require exact keyword matching and disable enhanced search behavior
Raise or lower search result rankings based on the result's relevance to a specified region; you can provide a country code or an IP address from which the API infers a country
Enable or disable safe search
Sort by
Spellcheck the search query and return results on suggested spellings
Amount of detail to render in the response
(Deprecated; use width_from and width_to instead) Show images with the specified width
Show images with the specified width or larger, in pixels
Show images with the specified width or smaller, in pixels
Response
OK
Example response
{
"data": [
{
"id": "1572478477",
"aspect": 1.5,
"assets": {
"preview": {
"height": 300,
"url": "https://image.shutterstock.com/display_pic_with_logo/250738318/1572478477/stock-photo-cropped-image-of-woman-gardening-1572478477.jpg",
"width": 450
},
"small_thumb": {
"height": 67,
"url": "https://thumb7.shutterstock.com/thumb_small/250738318/1572478477/stock-photo-cropped-image-of-woman-gardening-1572478477.jpg",
"width": 100
},
"large_thumb": {
"height": 100,
"url": "https://thumb7.shutterstock.com/thumb_large/250738318/1572478477/stock-photo-cropped-image-of-woman-gardening-1572478477.jpg",
"width": 150
},
"mosaic": {
"height": 167,
"url": "https://image.shutterstock.com/image-photo/stock-photo-cropped-image-of-woman-gardening-250nw-1572478477.jpg",
"width": 250
},
"huge_thumb": {
"height": 260,
"url": "https://image.shutterstock.com/image-photo/cropped-image-woman-gardening-260nw-1572478477.jpg",
"width": 390
},
"preview_1000": {
"url": "https://ak.picdn.net/shutterstock/photos/1572478477/watermark_1000/1706028c641ea2f443057287c67d9b91/preview_1000-1572478477.jpg",
"width": 1000,
"height": 667
},
"preview_1500": {
"url": "https://image.shutterstock.com/z/stock-photo-cropped-image-of-woman-gardening-1572478477.jpg",
"width": 1500,
"height": 1000
}
},
"contributor": {
"id": "250738318"
},
"description": "cropped image of woman gardening",
"image_type": "photo",
"has_model_release": true,
"media_type": "image"
}
],
"page": 1,
"per_page": 5,
"search_id": "749090bb-2967-4a20-b22e-c800dc845e10",
"spellcheck_info": {},
"total_count": 45
}Changes
- info
added the new optional
queryrequest parameterexact_match - info
added the new enum value
oldestto thequeryrequest parametersort - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional
queryrequest parameterlibrary - info
added the new enum value
arto thequeryrequest parameterlanguage - info
added the new enum value
bgto thequeryrequest parameterlanguage - info
added the new enum value
bnto thequeryrequest parameterlanguage - info
added the new enum value
guto thequeryrequest parameterlanguage - info
added the new enum value
heto thequeryrequest parameterlanguage - info
added the new enum value
hito thequeryrequest parameterlanguage - info
added the new enum value
hrto thequeryrequest parameterlanguage - info
added the new enum value
knto thequeryrequest parameterlanguage - info
added the new enum value
mlto thequeryrequest parameterlanguage - info
added the new enum value
mrto thequeryrequest parameterlanguage - info
added the new enum value
orto thequeryrequest parameterlanguage - info
added the new enum value
skto thequeryrequest parameterlanguage - info
added the new enum value
slto thequeryrequest parameterlanguage - info
added the new enum value
tato thequeryrequest parameterlanguage - info
added the new enum value
teto thequeryrequest parameterlanguage - info
added the new enum value
ukto thequeryrequest parameterlanguage - info
added the new enum value
urto thequeryrequest parameterlanguage - info
added the enum value
NOT africanto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT african_americanto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT blackto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT brazilianto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT caucasianto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT chineseto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT east_asianto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT hispanicto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT japaneseto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT middle_easternto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT native_americanto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT otherto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT pacific_islanderto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT south_asianto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the enum value
NOT southeast_asianto the propertyitems/of thequeryrequest parameterpeople_ethnicity - info
added the optional property
///to the response with the status
- info