Skip to content

A whole website, page by page, as code.

Paste a site and see every page it has, grouped by layout, for free. Pick the pages you want and each one comes back as code, every section from top to bottom.

Try

The page list is free and needs no key. Whole pages as code are on paid plans, 30 credits a page.

section.how

First the list, then the pages you pick.

A site is mostly repeats: hundreds of blog posts or product pages on one layout. The list shows you that before you spend anything.

  1. 01

    List the pages

    Send the site's address. You get every page it has, with the pages that share one layout grouped together. Free on every plan.

  2. 02

    Pick the ones you want

    The list suggests the short set that covers every layout once: the pages with their own layout, plus one example of each group.

  3. 03

    Get each page as code

    One call a page returns every section from top to bottom, in the format you ask for. A flat 30 credits a page.

linear.app1,057 pages, from the sitemap
  • /HomePicked
  • /pricingPricingPicked
  • /aboutAboutPicked
  • /integrations/*Integration, one layoutx409
  • /changelog/*Changelog entry, one layoutx256
  • /docs/*Docs page, one layoutx100
Each page, as code30 credits a page
  • linear.app/ rebuilt from its extracted sections/Every section, top to bottom
  • linear.app/pricing rebuilt from its extracted sections/pricingEvery section, top to bottom
sections[]
The code of each section, in page order
pagePreviewUrl
The page assembled, with Download HTML
TailwindHTML + CSSReactVueElementorShopify

The pictures are the two pages rebuilt from their extracted sections, not screenshots of the original. For linear.app, 35 pages cover every layout once.

section.page

What you get for each page.

  • Every section, top to bottom

    Header, hero, features, pricing, footer: each one as its own piece of code, in page order, with a label taken from its heading.

  • The whole page, assembled

    A link that shows every section put together, with a Download HTML button that saves the page as one file.

  • In the format you build in

    Tailwind, HTML and CSS, React or Vue. For Elementor and Shopify, each section is a file you import.

  • Read in a real browser

    Each section is measured on the live page, with its breakpoints and hover states. Add theme=dark for the dark version.

section.api

Two calls, from your code or your agent.

GET /v1/site/pages lists the site. GET /v1/site/page returns one page. The same key works for both, and for every other endpoint.

1. List the pages
curl "https://miromiro.app/api/v1/site/pages?url=linear.app" \
  -H "Authorization: Bearer $MIROMIRO_KEY"
GET /v1/site/pages · 0 credits · every plan
Response · linear.app, shortened
{
  "source": "sitemap",
  "totalPages": 1057,
  "pages": [
    { "url": "https://linear.app/", "path": "/" },
    { "url": "https://linear.app/about", "path": "/about" },
    …
  ],
  "templates": [
    { "name": "integration", "pattern": "/integrations/*", "count": 409, … },
    { "name": "changelog entry", "pattern": "/changelog/*", "count": 256, … },
    …
  ],
  "suggested": ["https://linear.app/", "https://linear.app/about", …],
  "creditsPerPage": 30,
  "usage": { "creditsSpent": 0 }
}
2. Get a page as code
curl "https://miromiro.app/api/v1/site/page?url=linear.app/pricing&framework=tailwind" \
  -H "Authorization: Bearer $MIROMIRO_KEY"
GET /v1/site/page · 30 credits a page · paid plans
Response · linear.app/pricing, shortened
{
  "url": "https://linear.app/pricing",
  "framework": "tailwind",
  "complete": true,
  "sectionCount": 6,
  "pagePreviewUrl": "https://miromiro.app/p/pg-…",
  "sections": [
    {
      "order": 1,
      "label": "Pricing",
      "code": "<section class=\"relative w-full …\">…</section>",
      "previewUrl": "https://miromiro.app/p/…"
    },
    …
  ],
  "usage": { "creditsSpent": 30 }
}

section.cost

You see the cost before you spend a credit.

The free list says how many pages cover every layout once. Multiply by 30 and that is the whole site. For linear.app: 35 pages, 1,050 credits.

credits to list every page, on every plan
0
credits a page, whatever its length
30
credits for the same page again within 24 hours
0
whole pages a month on Developer
166

Whole pages are included with every paid plan, any credit pack and any AppSumo license. A page that does not finish in one call is completed by a second call at no charge, and a call that fails costs nothing.

section.use

Ask your agent, or call it yourself.

In an agent it is one sentence: list the pages of a site, then get the ones you name. The agent shows you the list and what it would cost before it extracts anything.

Not in ChatGPT or Codex, where single sections still work.

  • Moving a site to a new stack

    Your own site or a client's, from an old builder to Tailwind, React or Vue, page by page, with the layout it already has.

  • Rebuilding in Elementor or Shopify

    Each section comes back as a file you import, so a page arrives as a set of templates in page order.

  • Giving your agent the real pages

    Claude or Cursor lists the site, asks which pages you want and builds from the real sections instead of a guess.

  • Pricing a job before you start

    The free list says how many pages and layouts a site has, and what extracting them would cost.

Only need one section? The website to code endpoint returns a single section on every plan, the free key included. Building this into your own product? See the website migration tool use case.

Whole website questions.

Read the docs
Can I get a whole website in one call?

Not in one call, and that is on purpose. One call lists the pages, for free. Then you call once for each page you want, so you only pay for the pages you pick, and a site with 300 blog posts does not cost 300 pages.

How much does a whole website cost?

Listing the pages is free on every plan. Each page you extract is a flat 30 credits, whatever its length. The list tells you the number up front: its suggested pages cover every layout once, so the cost is that count times 30. For linear.app that was 35 pages, 1,050 credits. The same page again within 24 hours costs nothing.

Why is extracting pages on paid plans only?

One site is many pages, each loaded in a real browser and converted section by section, which would use up the free 300 credits on a single site. It is included with every paid plan, any credit pack and any AppSumo license. The page list, and single sections with /v1/code, stay free.

How does it find the pages?

From the site's sitemap: robots.txt, /sitemap.xml and sitemap indexes. When a site has none, it uses the links on the homepage, which usually finds fewer pages. No page is loaded for the list. Files, feeds, login, cart and account pages, and tag or category archives are left out.

What is a template in the list?

A group of 3 or more pages that share one layout, like blog posts, products or docs pages. Extracting one example gives you the layout, so you do not pay for the same layout 60 times. The grouping is read from the addresses only, so check an example before you rely on it.

Which formats can a page come back in?

Tailwind, HTML and CSS, React (JSX), Vue, an Elementor template or a Shopify section. For Elementor and Shopify, each section is one file you import. Add theme=dark for the dark version, where the site has one.

What happens with a very long page?

One call returns up to 14 sections. When a page does not finish in one call, the response says complete: false and lists what is pending. Call again with the same address and the rest arrives at no charge. Sections past the first 14 are listed as skipped, each with a selector you can pass to /v1/code.

Can I download the page?

Yes. Every page comes with pagePreviewUrl: the whole page assembled in order, with a Download HTML button that saves it as one .html file. The preview is unlisted and expires after 30 days. There is no single file for a whole site: the n8n template saves one folder per page in a zip.

Does it work in my AI agent?

Yes, in Claude, Claude Code, Cursor and other agents that connect to the MiroMiro MCP server. The two tools are list_site_pages and extract_page. They are not available in ChatGPT or Codex, where single sections still work.

Can it read pages behind a login?

No. It reads public pages only.

Who owns what comes back?

The code shows how a page is built. Copy text, logos, images and font files belong to the site owner: they are returned for reference, or for sites you own or are licensed to use. The usual job is moving your own or a client's site to a new stack.

Every page of a site, as code you can build on.

List any site for free. Each page you pick is a flat 30 credits, and the same key works for the API and for your agent.

300 free credits every month. No credit card.