# x402 Image Tools – Metadata Extraction

> x402 Image Tools – Metadata Extraction is a paid API for AI agents from image.kagurazaka.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Returns comprehensive technical metadata for an image at a URL, including format, dimensions, color space, EXIF camera data, and GPS coordinates.

## Facts

- Endpoint: GET https://image.kagurazaka.dev/v1/metadata?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-image-tools-metadata-extraction-8e013168
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TMStk4Ou6yZwANc2rKd6y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-image-tools-metadata-extraction-8e013168
```

Example prompt: Can you pull all the metadata from this photo — https://example.com/photo.jpg — I want to know the camera make and model, when it was taken, the GPS coordinates if there are any, and the image dimensions and format.

## When to prefer this

Use this endpoint when you need non-destructive, read-only inspection of an image's technical properties and embedded metadata — especially EXIF camera data and GPS — without modifying the image. Prefer this over general-purpose vision/AI image analysis when you need precise structured fields like DPI, bit depth, ICC profile, or EXIF timestamps rather than semantic image understanding.

## Known failure modes

- Image URL is not publicly accessible or returns 4xx/5xx — metadata cannot be fetched
- Image exceeds 20 MB or 40 megapixels limit — request rejected
- Unsupported image format (not JPEG, PNG, WebP, AVIF, GIF, TIFF, or SVG) — error returned
- Image has no EXIF data — EXIF fields will be null or absent
- Non-HTTPS URL provided — likely rejected by input validation
- Corrupted or partially downloaded image — parsing error returned

## How this service works

Format, dimensions, megapixels, bytes, channels, transparency, color space, bit depth, DPI, orientation, animation and pages, ICC profile, and EXIF camera details (make, model, date taken, exposure, aperture, ISO, focal length, GPS position) of an image at a URL.

## Output

A JSON object containing: format (e.g. jpeg, png), width and height in pixels, megapixels, has_alpha boolean, and an exif object with camera make, model, taken_at timestamp, GPS coordinates (or null), plus exposure, aperture, ISO, and focal length fields when present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "https URL of a JPEG, PNG, WebP, AVIF, GIF, TIFF or SVG image (up to 20 MB, 40 megapixels)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "exif": {},
      "width": {},
      "format": {},
      "height": {},
      "has_alpha": {},
      "megapixels": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "exif": {
   "gps": null,
   "make": "Canon",
   "model": "EOS R5",
   "taken_at": "2026-05-01T10:00:00.000Z"
  },
  "width": 1024,
  "format": "jpeg",
  "height": 683,
  "has_alpha": false,
  "megapixels": 0.7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-image-tools-metadata-extraction-8e013168/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from image.kagurazaka.dev](https://www.zero.xyz/host/image.kagurazaka.dev/llms.txt)
