Design Extraction API
SVG APIGET /v1/svg1 credit/call

SVG Extraction API

Pull every inline SVG (as code) and SVG file from any live URL - icons, logos, and vectors, one API call.

Inline + file
both SVG sources
Paste-ready
code comes back whole
1 credit
cheapest endpoint

The API is the demo

One authenticated GET request against any live URL - clean, typed JSON back.

SVG Extraction API
const res = await fetch(
  `https://miromiro.app/api/v1/svg?url=stripe.com&access_key=${process.env.MIROMIRO_API_KEY}`
)
const data = await res.json()

Returns inline SVG code AND linked .svg files in one call - most tools give you only the file links.

Built for the agent era

Every endpoint plugs straight into your coding agent - as a native MCP tool or a plain-English prompt. No SDK, no glue code.

Native MCP toolno code

Your agent calls it directly, mid-task, and gets typed JSON back.

// Cursor · Claude Code · Windsurf

extract_svgs({ url: "stripe.com" })

Or just a promptplain English

No MCP? Drop this into any agent - it wires up the API itself.

“Grab the icon set from stripe.com and drop the SVGs into my components folder.”

Set up the MCP server 7 tools · one config · works in any MCP client

Everything, tagged and typed

inline <svg> code
external .svg files
icons
logos
illustrations

Get every SVG from any website

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.

1

Point at a URL

One GET request with any live URL - e.g. stripe.com.

2

Get structured data

Clean, typed JSON back - resolved, not raw HTML to parse.

3

Your agent uses it

MCP or a prompt wires it into your build - no glue code.

What you can build

Icon recovery

Grab an entire icon set from a reference site.

Logo extraction

Pull clean vector logos ready for Figma or React.

Asset migration

Recover every vector from a legacy site during a redesign.

Questions

Do I get the SVG code or just links?

Both - inline SVGs come back as ready-to-paste code, and external .svg files come back as URLs.

What does it cost?

SVG extraction is 1 credit per call. Cached and failed calls are free.

Get your free API key

100 free credits every month, no credit card. One key unlocks every endpoint - brand, tokens, images, SVGs, fonts, and Lottie. Upgrade only when you outgrow the free tier.