Getting Started

You can use basic authentication to make requests against API v2 if the endpoint doesn't require an OAuth scope.

  1. Get an API key

  2. Make an image search request using the client_id and client_secret

    $ curl "https://${client_id}:${client_secret}@api.shutterstock.com/v2/images/search?query=donkey"
    
  3. You can paginate many endpoints using the page and per_page query parameters

    $ curl "https://${client_id}:${client_secret}@api.shutterstock.com/v2/images/search?query=donkey&page=2&per_page=1"
    
  4. You can further restrict the data returned by all requests using the fields parameter (see Google Partial Responses for supported syntax)

    $ curl "https://${client_id}:${client_secret}@api.shutterstock.com/v2/images/search?query=donkey&page=2&per_page=1&fields=data(id,description)"