---
title: "Image by id"
method: GET
path: "/v2/images/{id}"
tags: ["Images"]
---

# Image by id

`GET /v2/images/{id}`

## Request

- Base URL: `https://api-photos.icons8.com/api`
- URL: `https://api-photos.icons8.com/api/v2/images/{id}`
- Auth: API key in header `api-key`

Get image by id

## Path parameters

- `id` string, required

## Query parameters

- `fields` string
- `locale` 'en' | 'ru' | 'fr' | 'de' | 'it' | 'jp' | 'es' | 'br' | 'cn' | 'ko'

## Response `200`

Image by id

- MainImage: Main_Image model
  - `id` string
  - `type` string
  - `free` string
  - `title` string: first description
  - `urls` object
    - `thumb` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `small` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `medium` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `large` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `thumb1xWebp` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `thumb2xWebp` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
  - `assets` object
    - `models` string[]
    - `objects` string[]
    - `background` string
  - `categories` string[]
  - `descriptions` string[]
  - `tags` string[]

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/icons8/apis/photos-api.md) · [All operations](https://skmtc.dev/icons8/apis/photos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/icons8/apis/photos-api/revisions/76ea7419d720?raw)
