x402AgentsToolsHub

EXIF Metadata Reader

Extract EXIF metadata from a JPEG: camera make/model, lens, exposure settings, timestamps, orientation and GPS coordinates as decimal lat/lon. The OSINT-standard check for where a photo really came from — parsed in memory, never stored.

🔌 Server-side tool

This tool runs on the server (it fetches third-party URLs directly and cannot run in your browser). Use the paid JSON API below — the worked examples show real server-side results and refresh automatically.

Worked examples

Stripped image (graceful)

GET /api/v1/media/exif-reader?imageBase64=%2F9j%2F4AAQSkZJRgABAQEAYABgAAD%2F2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwcJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPDs0NDT%2FwAALCAABAAEBAREA%2F8QAFAABAAAAAAAAAAAAAAAAAAAACf%2FEABQQAQAAAAAAAAAAAAAAAAAAAAD%2F2gAIAQEAAD8AKp%2F%2F2Q%3D%3D

Result: No EXIF metadata found — image was stripped or is not a JPEG

Data-URI prefix accepted

GET /api/v1/media/exif-reader?imageBase64=data%3Aimage%2Fjpeg%3Bbase64%2C%2F9j%2F4AAQSkZJRgABAQEAYABgAAD%2F2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwcJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPDs0NDT%2FwAALCAABAAEBAREA%2F8QAFAABAAAAAAAAAAAAAAAAAAAACf%2FEABQQAQAAAAAAAAAAAAAAAAAAAAD%2F2gAIAQEAAD8AKp%2F%2F2Q%3D%3D

Result: No EXIF metadata found — image was stripped or is not a JPEG

Machine API (x402)

$0.003 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/media/exif-reader?imageBase64=%2F9j%2F4AAQSkZJRgABAQEAYABgAAD%2F2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwcJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPDs0NDT%2FwAALCAABAAEBAREA%2F8QAFAABAAAAAAAAAAAAAAAAAAAACf%2FEABQQAQAAAAAAAAAAAAAAAAAAAAD%2F2gAIAQEAAD8AKp%2F%2F2Q%3D%3D HTTP/1.1
Host: agentstoolshub.com

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "media/exif-reader",
  "input": {"imageBase64":"/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwcJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPDs0NDT/wAALCAABAAEBAREA/8QAFAABAAAAAAAAAAAAAAAAAAAACf/EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAD8AKp//2Q=="},
  "result": { "value": 0, "answer": "No EXIF metadata found — image was stripped or is not a JPEG" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

Reads the EXIF block of a JPEG — camera and lens, exposure triangle, timestamps, orientation and GPS position converted to decimal coordinates. Only two examples fit here because uploads are binary: POST the base64 image to the API. In-memory parsing, immediate privacy verdict on embedded location data.

Frequently asked questions

Which formats have EXIF?

Primarily JPEG (APP1 segment). PNG/WebP/HEIC carry metadata in other containers — feed those through a converter first or use image-info for dimensions.

Why would an agent need this?

Verification and OSINT: confirming a photo's claimed origin, checking whether location data leaks in user uploads, or reading capture settings before quoting a photo as evidence.

Related tools