---
title: "Icon → transparent PNG — estimate"
method: POST
path: "/v1/stock/icon/estimate"
tags: ["Stock"]
---

# Icon → transparent PNG — estimate

`POST /v1/stock/icon/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/stock/icon/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/stock/icon`.

## Request body

- object
  - `icon` string, required: Icon id from the search, e.g. "mdi:rocket"
  - `size` integer: px (square, transparent background)
  - `color` string
  - `padding` number: % of the size
  - `background` string, nullable: Circle behind the icon, e.g. #D0F808

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
