Images

Read or strip an image's EXIF metadata

Reads current EXIF (artist, copyright, description, software, date, whether GPS is present), or writes only the given fields. Write mode never carries over the source EXIF: by design, only the fields you set survive (or none, with strip=true).

Costs 1 credit per call.

post/image-metadata

Request

  • Base URL: https://api.cofferdock.com
  • URL: https://api.cofferdock.com/image-metadata
  • Auth: API key in header x-api-key

Request body

filestring byte required

The image to read or edit, base64-encoded (e.g. JPEG, PNG or WebP).

stripboolean

true = return the image with all its metadata removed (EXIF, GPS location, camera data); fields you set in the same call are still written. Default false: with no fields set, the call only reads the metadata.

artiststring

Artist or author name to write into the image (EXIF Artist).

copyrightstring

Copyright notice to write into the image (EXIF Copyright), e.g. "Copyright 2026 Jane Doe".

descriptionstring

Description or caption to write into the image (EXIF ImageDescription).

softwarestring

Name of the program that produced the image, to write into it (EXIF Software).

date_timestring date-time

Date and time to write into the image (EXIF DateTime), in ISO 8601 format, e.g. "2026-09-28T12:00:00Z". It is stored in UTC.

format'jpeg' | 'png' | 'webp'

Output image format when writing: "jpeg", "png" or "webp". Default: the same as the input (jpeg if the input is another format).

output'json' | 'binary' | 'url' | 'image'

How to return the image: "json" (base64 in the JSON response), "binary" (the image itself, ready for n8n/Make/Zapier) or "url" (a temporary download link, valid 15 minutes). Default: json when the request is JSON, binary when the input was sent raw.

Response

The resulting image (shape depends on output).

OR

Changes

No recorded changes to this operation across all 1 revision of this API.