---
title: "Asset by id"
method: GET
path: "/v2/assets/{id}"
tags: ["Assets"]
---

# Asset by id

`GET /v2/assets/{id}`

## Request

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

Get asset by id

## Path parameters

- `id` string, required

## Query parameters

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

## Response `200`

Asset by id

- MainEditorAsset: Main_EditorAsset model
  - `id` string
  - `type` string
  - `urls` object
    - `thumb` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` string
    - `small` 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
    - `medium` MainAsset: Main_Asset model
      - `width` integer
      - `height` integer
      - `url` 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)
