GET /v1/svgThe SVG API returns every vector on a page in one call: inline SVGs as paste-ready code and linked .svg files as URLs. Icons, logos and illustrations, ready for Figma, React or your design system.
1 credit per call · 300 free credits a month · no credit card
GET /v1/svg$
⠿ fetching stripe.com…
{
"svgs": [
{"type": "inline", "code": "<svg viewBox=…>…</svg>" },
{"type": "inline", "code": "<svg …>…</svg>" },
{"type": "file", "url": "https://…/logo.svg" }, …
], "count":154
}
200 OK · 0.6s · 1 credit
154 SVGs · inline code + files
Every <svg> written into the page, returned whole - paths, viewBox and all - ready to paste into a component.
Every external .svg file the page references, as an absolute URL you can download.
Whole icon sets, header logos and decorative art, from a single URL.
The cheapest endpoint. Repeat calls within 24 hours are free.
Frontend developers
Pull a reference site's icons straight into your components.
Designers
Get vector logos and icons to open in Figma, instead of screenshots to redraw.
Teams migrating a site
Recover inline SVGs that exist nowhere but the old site's HTML.
AI coding agents
Hand an agent the real icon code through the extract_svgs MCP tool.
One GET request to /v1/svg with the address. No browser or scraper to run.
It collects every inline <svg> and every linked .svg file the page uses.
Typed JSON: inline SVGs as code, files as URLs, and a total count. 1 credit.
The same extraction, three doors: a REST endpoint for your app, an MCP tool for ChatGPT, Claude, Cursor or Codex, and a verified n8n node for automations. One account, one credit balance.
One REST call from any language, with your API key. Typed JSON back.
1const res = await fetch(2 'https://miromiro.app/api/v1/svg?url=stripe.com',3 { headers: { Authorization: `Bearer ${process.env.MIROMIRO_API_KEY}` } }4)5const data = await res.json()678
Connect once over MCP, then ask in plain words. No code.
Grab the icon set from stripe.com and drop the SVGs into my components folder.
Called MiroMiro · extract_svgs · stripe.com
Found 154 SVGs on stripe.com. I saved the icons to components/icons/ as SVG files.
A verified n8n node with free, ready-made templates. Make, Zapier and any tool that sends an HTTP request can call the API too.
Schedule
Every Monday
Google Sheets
Your URLs
MiroMiro
extract svgs
Google Drive
The results
Captured from the live API, not written by hand.
Inline SVGs (showing 13 of 150)
Rendered from the extracted code as paste-ready SVG - not screenshots.
| MiroMiro | Browser extension | Web scraper | Devtools by hand | |
|---|---|---|---|---|
| Inline SVGs as clean code | Yes | Yes | Partly | Yes |
| Linked .svg files as URLs | Yes | Yes | Partly | Yes |
| Ready to use, no HTML parsing | Yes | Yes | No | Yes |
| Callable from code or CI | Yes | No | Yes | No |
| AI agents call it through MCP | Yes | No | Partly | No |
Only url is required. Everything else narrows or reshapes the result.
urlrequired
any public URL
The page to extract from. With or without protocol (https:// is assumed).
fields
svgs · count
Comma-separated list of fields to return (e.g. fields=svgs).
render
true · false (default)
Load the page in a real browser and run its JavaScript before extracting.
fresh
true · false (default)
Skip the 24-hour cache and re-extract from the live page.
screenshot
true · full · false (default)
Requires render=true. The same real browser that renders the page also captures a screenshot - true for the 1440x900 viewport, full for the entire page height.
Every parameter, the response fields and the error codes are in the reference.
Send the page URL to /v1/svg. The response lists every SVG on the page: inline ones as complete <svg> code and linked files as URLs. Pick the logo or the icon set you need from that list in your own code, or ask an agent to do it through the extract_svgs MCP tool.
Both - inline SVGs come back as ready-to-paste code, and external .svg files come back as URLs.
Each call costs 1 credit, and the free plan includes 300 credits a month with no credit card - up to 300 pages a month at no cost. Repeat calls within 24 hours and failed calls are free.
Yes. The page’s HTML and CSS are read first, which is enough for most sites. When a page only builds itself with JavaScript, or refuses a plain request, it is re-read in a real browser automatically at no extra cost. Add render=true to force the browser, for example for images that load on scroll: that costs 5 extra credits, on every plan including the free key.
No. It reads public pages the way a visitor without an account would see them. Pages that need a sign-in, and addresses on your own machine such as localhost, are out of reach.
Yes. The same call is the extract_svgs tool on the MiroMiro MCP server. Connect ChatGPT, Claude, Cursor, Codex or another agent once, with a sign-in and no API key, and ask in plain language.
The MiroMiro SVG Extraction API returns every vector on a page in one call: inline <svg> elements come back as ready-to-paste code, and external .svg files come back as resolved URLs. Icons, logos, and illustrations - all of them, tagged by source.
Point it at a reference site and pull the entire icon system, grab a clean vector logo ready for Figma or React, or recover every SVG from a legacy site during a redesign. Because inline SVGs return as code, you can drop them straight into a component without re-drawing anything.
300 free credits a month, no credit card. One key works for every endpoint, over REST or MCP.
Get a free API key