Get icon PNG URLs
get_icon_pngGet transparent PNG download URLs for any Infyicon icon ID, in your chosen size or all seven sizes (16–512 px). Use this to embed images in email, docs, or chat when SVG isn't supported.
Instructions
Return direct PNG download URLs (transparent background) for one Infyicon icon id, either a single size or all seven sizes 16/24/32/64/128/256/512 px. Use when the user needs an image file or src (email, docs, chat, platforms that cannot render SVG); use get_icon_svg instead when inline vector markup is wanted. Read-only, no auth; returns URLs only (no binary data); returns an error for a malformed id or an unknown icon. Free with attribution to infyicon.com.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Icon id like hammer-16_66091 (slug_number) | |
| size | No | Optional single size in px; omit to get all seven sizes |