BiGapiguides
POST /v1/image/info → 200 application/json · 1¢

Image info API — inspect before you process

Format, size as displayed, colour space, camera, capture time and GPS location as JSON. The cheap look-before-you-leap call for agent pipelines.

Quick start (curl)

Get a key first – no signup: curl -X POST https://api.bigapi.dev/v1/keys (100 free operations, they never expire).

curl -X POST https://api.bigapi.dev/v1/image/info -H 'Authorization: Bearer $KEY' -F 'file=@photo.jpg'

Give it to your agent (MCP)

Add BiGapi to Claude Desktop, Cursor or any MCP client – the server fetches its own key on first use:

{
  "mcpServers": {
    "bigapi": { "command": "npx", "args": ["-y", "@bigapi/mcp"] }
  }
}

Then simply ask: “Check this image: what format and size is it?” – the model calls the image_info tool.

When your agent needs this

Response

{
  "format": "heic", "width": 3000, "height": 2000, "space": "srgb", "hasAlpha": false,
  "hasExif": true, "hasIcc": false, "make": "Apple", "model": "iPhone 15",
  "taken": "2026:09:20 14:30:00", "hasGps": true, "gps": { "lat": 53.55, "lon": 9.983333 }
}

width and height are the size as displayed: if EXIF says the photo is rotated, the stored size is in stored_width/stored_height. Animated GIFs add frames. Fields without a value are left out.

Parameters

ParamTypeRequiredNotes
filefileyes

Pricing

1¢ per operation
First 100 operations free (per key, never expire) · failed calls (4xx/5xx) cost $0 · repeats with Idempotency-Key are free · prepaid credit from $5, never expires.

Every response carries X-BigAPI-Cost, X-BigAPI-Balance and X-BigAPI-Free-Ops – your agent can budget on its own.

Errors your agent can handle

StatusMeaningAgent action
401missing/invalid keyPOST /v1/keys for a fresh one
402credit exhaustedshow the upgrade_url from the response to a human
413file too largesplit the input (limit 100 MB)
422conversion failedcheck the detail field – costs $0
429rate limitedwait retry_after seconds

FAQ

Which EXIF details does it return?

Camera make and model, lens, software, capture time, artist, copyright and the GPS location (latitude, longitude, altitude). Not every maker note. To strip metadata including the location, use /v1/image.

Which formats are recognized?

Everything sharp reads (JPEG, PNG, WebP, AVIF, TIFF, GIF, SVG and more), plus HEIC/HEIF from iPhones, which reports format: "heic".

Why not let the model guess?

A JSON fact costs 1 cent and is always right – tokens are more expensive.