
File Metadata Explorer API
Utilities
Free tool to extract metadata from files. View camera settings, location data, and file properties instantly.
Authentication
All API requests require a valid API key passed in the Authorization header as a Bearer token.
Rate Limit
20 requests per minute
Endpoints
1 endpoint available
Overview
Read the EXIF, IPTC, XMP and ICC metadata in a file, plus basic format details such as image size, and get it
back as JSON. Send the file as multipart form data in the file field. The metadata
object is the same tag-to-value map the web page shows.
Notes
- Files up to 30 MB. Metadata can be read from JPEG, TIFF, PNG, HEIC/HEIF, AVIF, WebP and GIF files. Other file types return 415.
- A supported file with no metadata returns
tagCount: 0and an emptymetadataobject. - Values are the human-readable descriptions (for example
"f/1.6"or"right-top"). GPS coordinates are decimal degrees; the hemisphere is inGPSLatitudeRefandGPSLongitudeRef. - When a JPEG has an embedded preview,
Thumbnailholds its tags and abase64copy of the preview image. - Metadata can include sensitive details such as GPS location and camera serial numbers.
Endpoints
POST
https://opentools.ca/api/v1/tools/file-metadata-explorerRead the metadata in a file
Request Body
Content-Type: multipart/form-data
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | file | Required | The file to read, up to 30 MB. |
Response Example
{
"success": true,
"fileName": "IMG_0001.jpg",
"fileSize": 2483117,
"mimeType": "image/jpeg",
"tagCount": 6,
"metadata": {
"Image Width": "4032px",
"Image Height": "3024px",
"Make": "Apple",
"Model": "iPhone 13",
"DateTimeOriginal": "2024:06:01 14:22:05",
"GPSLatitude": 45.420094444444445
}
}Error Codes
400
Bad Request - No file in the file field401
Unauthorized - Invalid or missing API key403
Forbidden - API key is inactive or expired, or the request IP is not allowed413
Payload Too Large - File over 30 MB415
Unsupported Media Type - No metadata could be read from this file type, or the file is damaged429
Too Many Requests - Rate limit exceeded500
Internal Server ErrorCode Examples
curl -X POST https://opentools.ca/api/v1/tools/file-metadata-explorer \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@IMG_0001.jpg"Rather use it in your browser? Open the File Metadata Explorer