Get Icon Png Url
get_icon_png_urlGet a PNG URL for an icon by its ID - use when SVG is not available. NOTE: SVG format is preferred for Icons8 icons when possible (use get_icon_svg). Args: icon_id: The unique identifier of the icon ctx: MCP context for API access size: The preview image size in pixels (default: 24) Returns: Dictionary containing the PNG preview URL
When to Use
Use this tool when you need to get a png url for an icon by its id - use when svg is not available. note: svg format is preferred for icons8 icons when possible (use get_icon_svg).
args: icon_id: the unique identifier of the icon ctx: mcp context for api access size: the preview image size in pixels (default: 24)
returns: dictionary containing the png preview url . This is part of the Icons8 provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 3+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("icons8/get_icon_png_url")xpay_run— Execute:xpay_run("icons8/get_icon_png_url", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
icon_id | string | Yes | |
size | integer | No |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Icons8 (all tools) — 4 tools
- Search Icons — $0.01/call
- List Categories — $0.01/call
- List Platforms — $0.01/call
Links
- Tool page: https://xpay.tools/icons8/get-icon-png-url/
- Provider: https://xpay.tools/icons8/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
icon_id | string | Yes | - |
size | integer | No | - |
Related Tools from Icons8
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Icons8

