/images/search?mime_types=

There are 3 image types available:

  • gif - animated
  • jpg - static
  • png - static

Pass one or more as the mime_types query parameter. Checkout the /images API reference for more info

Example - Filter by file type (mime_types)

Changes the mime_types query parameter

  1. For Gifs - Request a new Image with https://api.thecatapi.com/images/search?mime_types=gif

  2. For Static Images - Request a new Image with https://api.thecatapi.com/images/search?mime_types=jpg,png

  3. For any image type pass nothing, or everything - ?mime_types=gif,jpg,png