xtract.bot
POST /api/image-exif

Read EXIF, IPTC, and XMP metadata from a JPEG. Camera make/model, GPS coords, capture date, exposure settings, copyright, and more.

Returns the EXIF / IPTC / XMP metadata embedded in a JPEG: camera make / model, lens, exposure (shutter / aperture / ISO), capture timestamp, GPS coordinates if present, copyright / contact fields, software that produced the file. Useful for asset-management workflows: photo cataloguing, duplicate detection by capture timestamp, location-tagged galleries.

Inputs

NameTypeDefaultDescription
image*fileJPEG, HEIC/HEIF, AVIF, TIFF, WebP, or PNG.
xmpbooleanfalseInclude the XMP RDF packet (can be large).
thumbnailbooleanfalseInclude the embedded thumbnail bytes as base64.
iccbooleantrueInclude ICC color profile metadata.
iptcbooleantrueInclude IPTC tags.
translatebooleantrueTranslate 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"'"
}'