Developer Tools

Shortpixel

ShortPixel is an image optimization and compression service that offers APIs and plugins to enhance website performance by reducing image sizes without compromising quality.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Add CDN Domain

    Register a domain in the ShortPixel CDN system for CDN services. The operation supplies your API key to associate the domain with your account; an existing domain without an associated user can also be associated.

  • Bulk Purge ShortPixel Storage

    Tool to purge all files stored on ShortPixel storage servers for a domain. Use when you need to remove all stored files for a site in bulk.

  • Check Image Status

    Tool to check the optimization status of an image being processed by ShortPixel. Returns current status of queued images including URLs and size information.

  • Clean Up Image

    Tool to remove images from the processing queue. Use when you need to optimize another image with the same URL but different contents within the next hour.

  • Get Adaptive Image via CDN

    Optimize an image by URL via ShortPixel CDN, with options for dimensions, cropping, quality, and format conversion. Returns an image file; depending on the return mode, it may be a placeholder or the original while processing.

  • Get API Status

    Tool to retrieve the current status of your API key, including available credits. Use when you need to monitor your account usage before making additional API calls.

  • Get CDN Usage Statistics

    Retrieve CDN usage and quota statistics for a ShortPixel domain, including traffic, API calls, and historical usage breakdowns. Use this to monitor consumption and check quota status.

  • Optimize Images by URL

    Tool to optimize images by providing their URLs. Supports batch processing of up to 100 URLs per request with options for lossy, glossy, or lossless compression, resizing, format conversion (WebP/AVIF), and background removal. Use when you need to compress and optimize images accessible online.

  • Read CDN Domain Status

    Tool to check the status of a domain and its CDN quota on ShortPixel. Returns a status code indicating credit availability. Use when you need to verify domain accessibility and quota status.

  • Revoke CDN Domain

    Tool to revoke a domain association from ShortPixel CDN. Only works if the API key belongs to the current domain owner. Use when you need to remove the association between a domain and the user account.

  • Set CDN Domain

    Tool to associate an API key with an existing domain. Unlike add-domain, this does not create a new domain - it only associates a user ID if not already associated. Use when you need to claim unassociated domains.

  • Upload and Optimize Images

    Tool to upload and optimize images that are not accessible online. Uses multipart form data to upload files directly and applies optimization parameters like compression type, resize options, and format conversion.