v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-214977372.7 KB
File Metadata

Get metadata from remote URL

Get image EXIF, pHash, and other metadata from ImageKit.io powered remote URL using this API.

get/v1/metadata

Query parameters

urlstring uri required

Should be a valid file URL. It should be accessible using your ImageKit.io account.

Response

File metadata object.

heightinteger

The height of the image or video in pixels.

widthinteger

The width of the image or video in pixels.

sizeinteger

The file size in bytes.

formatstring

The format of the file (e.g., 'jpg', 'mp4').

hasColorProfileboolean

Indicates if the image has a color profile.

qualityinteger

The quality indicator of the image.

densityinteger

The density of the image in DPI.

hasTransparencyboolean

Indicates if the image contains transparent areas.

pHashstring

Perceptual hash of the image.

bitRateinteger

The bit rate of the video in kbps (only for video).

durationinteger

The duration of the video in seconds (only for video).

audioCodecstring

The audio codec used in the video (only for video).

videoCodecstring

The video codec used in the video (only for video).