---
title: Extract Image Metadata API
slug: extract-image-metadata
url: https://apyhub.com/apyhub/service/extract-image-metadata
provider: ApyHub
categories: [Data Extraction, File Manipulation]
tags: [images, metadata]
auth: api_key
---

# Extract Image Metadata API

Extract ExifTool metadata from an uploaded image or image URL. Get format, size, dimensions, MIME type, and other file details in JSON.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/processor/image/metadata/file` | What it does Uploads an image file and returns extracted ExifTool metadata as JSON. The request bod… | 30 |
| POST | `/processor/image/metadata/file-urls` | What it does Downloads the image at the provided public URL and returns extracted ExifTool metadata… | 30 |

## About

## What it does
Image Metadata Extractor reads an image and returns the metadata ExifTool can detect for that file. Send either an uploaded image binary or a publicly accessible image URL, and get a JSON response under `data` with fields such as `FileType`, `MIMEType`, `ImageWidth`, `ImageHeight`, `ImageSize`, `ColorType`, `BitDepth`, `Compression`, `FileSize`, `FileName`, and `ExifToolVersion` when available.

Use it when you need to inspect image properties before storing, processing, or serving assets. It can help you check dimensions for layout rules, confirm format and MIME type before upload, or read file-level details during media ingestion and QA. The service supports common image formats including JPEG, PNG, WebP, and TIFF.

The response is a metadata object keyed by tag name, so the exact fields can vary by source image and file format. In addition to the documented attributes, other ExifTool tags may appear depending on the image, including ICC profile, GPS, and encoding-related details.

If you are building an asset pipeline, CMS, moderation workflow, or analytics tool, Image Metadata Extractor gives you structured image metadata without having to parse files yourself.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/extract-image-metadata
