# getimagemeta: Get Metadata of an Image

> getimagemeta (Get Metadata of an Image) is a 1001fx API function in the group Images: POST https://api.1001fx.com/images/getimagemeta, 1 credit per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Returns the width, height, file extension, mimetype, and presence of alpha channel of an image (bmp, gif, jpeg, png and tiff).

- Group: Images
- Endpoint: `POST https://api.1001fx.com/images/getimagemeta`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 1 credit per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/getimagemeta

## Parameters

- `file` (file, required) – Image file: Image file to be processed.

## Example: PNG image

```bash
curl -X POST 'https://api.1001fx.com/images/getimagemeta' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@1600x900.png'
```

Answer (HTTP 200):

```json
{
  "result": {
    "width": 1600,
    "height": 900,
    "extension": "png",
    "mime": "image/png",
    "hasAlpha": false
  }
}
```
