Get Icon Png Url
get_icon_png_urlGet a PNG URL for an icon by its ID - use when SVG is not available.
How it works ↓Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
icon_id *
stringsize
integerInput Parameters
Cost per run
Execution cost$0.01
About Get Icon Png Url
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
Frequently Asked Questions
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
Get Icon Png Url costs $0.01 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Icons8 MCP endpoint to your client — Claude Code: claude mcp add --transport http icons8 "https://icons8.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see get_icon_png_url as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath icons8/get_icon_png_url.)
Yes — that's exactly what xpay is for. You don't need a Icons8 account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Get Icon Png Url immediately. Billing flows through your xpay balance.
Get Icon Png Url accepts 2 input parameters: icon_id, size. See the input schema and runnable form on this page for details and to test live.

