SandCage

FREEMIUM
By sandcage
Updated 10 months ago
Media
-/10
Popularity
-
Latency
-
Success Rate

SandCage API Documentation

Compress your images with SandCage. SandCage is an image processing engine that helps reduce the storage and bandwidth needs of every application.

View API Details
Fetch
GET/fetch
Transform
GET/resize
GET/rotate
GET/cover
GET/crop
GET/fetch

The most common use case of the "fetch" service is to compress or adjust the file format without applying any transformations (e.g. resizing, cropping, etc).

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AcceptSTRING
OPTIONAL
Required Parameters
keySTRING
REQUIREDYour SandCage real-time processing API key.
compressBOOLEAN
REQUIREDA boolean representation of whether or not the resulting image should be compressed. Default is "false".
urlSTRING
REQUIREDThe URL of the source image. The value must be url encoded (see https://en.wikipedia.org/wiki/Percent-encoding).
keySTRING
REQUIRED
urlSTRING
REQUIREDThe URL of the source image.
urlSTRING
REQUIREDThe URL of the source image.
Optional Parameters
formatSTRING
OPTIONALWhether or not the file format of the resulting image should be converted to one that will produce a file with smaller file size. The returned image file format will depend on the support of the client software (e.g. browser). If omitted or set to false, then the returned image file format will be the same as the source image. Available options are: "auto" and "false". Default is "false".
compressSTRING
OPTIONALA boolean representation of whether or not the resulting image should be compressed. Default is "false".
formatSTRING
OPTIONALWhether or not the file format of the resulting image should be converted to one that will produce a file with smaller file size. The returned image file format will depend on the support of the client software (e.g. browser). If omitted or set to false, then the returned image file format will be the same as the source image. Available options are "auto" and "false". Default is "false".
compressBOOLEAN
OPTIONALA boolean representation of whether or not the resulting image should be compressed. Default is "false".
formatSTRING
OPTIONALWhether or not the file format of the resulting image should be converted to one that will produce a file with smaller file size. The returned image file format will depend on the support of the client software (e.g. based on the user agent header or a browser-based request). If omitted or set to "false", then the returned image file format will be the same as the source image. Available options are "auto" and "false". Default is "false".
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication