Docs/List site pages
/v1/site/pages0 creditsStep one of extracting a whole website: every page of a site, grouped by layout, for 0 credits on every plan. Pass the site's address and MiroMiro reads its sitemap (robots.txt, /sitemap.xml, sitemap indexes), or the homepage links when there is none. Pages that share one layout (blog posts, products, docs pages, changelog entries) are grouped into templates, because extracting 60 blog posts gives you the same layout 60 times. suggested is the short list that covers every layout once: the unique pages plus one example per template. Show the list, pick the pages you want, then extract each one with /v1/site/page (30 credits per page).
urlrequiredThe page to extract from. With or without protocol (https:// is assumed).Build a request
GEThttps://miromiro.app/api/v1/v1/site/pages?url=stripe.com
urlrequired Options at their default are left out of the URL - the API assumes them. Auth isn't shown here: send your key as an Authorization: Bearer header (see the example below).
Response
Authorization: Bearer mm_live_…urlstringThe address that was scanned.originstringThe site's origin, e.g. https://linear.app.sourcestringWhere the list came from: sitemap, or links when the site has no sitemap and the homepage links were used instead (usually fewer pages).totalPagesnumberEvery page found, grouped or not. Files, feeds, login, cart and account pages, and tag or category archives are left out.pages[]arrayPages with their own layout (home, pricing, about, ...), each { url, path }, shortest paths first. Up to 200.templates[]arrayGroups of 3 or more pages that share one layout, biggest first: name (e.g. "blog post"), pattern (the URL folder, e.g. /blog/*, or the sitemap they came from), count, and up to 3 examples. Extracting any one example gives you the layout. The grouping is a guess from the URLs only (no page is loaded), so check an example before you rely on it.suggestedstring[]The pages to extract to get every layout once: up to 20 unique pages plus the first example of each template. Its length times creditsPerPage is the cost of the whole site.truncatedbooleantrue when the site has more pages than one scan reads (5,000 URLs from the sitemap, 200 unique pages listed).summarystringOne ready-to-show sentence: how many pages, how many templates, and what extracting suggested would cost.creditsPerPagenumberWhat /v1/site/page charges per page (30), so you can size the job before spending anything.premiumobject?Free keys only: included is false, reason says why extracting a whole website is a paid feature, and upgradeUrl is where to upgrade. The list itself is complete on every plan.usageobjectAlways creditsSpent 0. cached is true when the list came from the 24-hour cache.Example request
https://miromiro.app/api/v1/extract?url=stripe.com&access_key=mm_live_…