Image EXIF
Try it interactively →POST /api/image-exifRead EXIF, IPTC, and XMP metadata from a JPEG. Camera make/model, GPS coords, capture date, exposure settings, copyright, and more.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| image* | file | — | JPEG, HEIC/HEIF, AVIF, TIFF, WebP, or PNG. |
| xmp | boolean | false | Include the XMP RDF packet (can be large). |
| thumbnail | boolean | false | Include the embedded thumbnail bytes as base64. |
| icc | boolean | true | Include ICC color profile metadata. |
| iptc | boolean | true | Include IPTC tags. |
| translate | boolean | true | Translate numeric tag IDs to human-readable names + decode enum values. |
Response
Modes: json. Cache: yes (24h TTL).
Code samples
Built from the sample-jpeg example.
# Download or substitute the example input:
# curl -O https://xtract.bot/examples/image-exif/sample.jpg
IMAGE=$(base64 -w0 < sample.jpg)
curl -X POST https://api.xtract.bot/api/image-exif \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Account-Id: $XTRACT_ACCOUNT_ID" \
-H "X-Api-Key: $XTRACT_API_KEY" \
-d '{
"xmp": false,
"thumbnail": false,
"image": "'"$IMAGE"'"
}'