Shopify Sitemap API
The sitemap index and its typed child sitemaps, as structured JSON.
GET /v1/shopify/store/sitemap1 credit Failed requests are free
About this endpoint
Call GET /v1/shopify/store/sitemap?store=… without type to read the index. data.sitemaps lists each child with url, type, page and the from and to bounds it publishes. Pass type=product, collection, page, blog, article, metaobject_page or agentic_discovery to read one child.
A child answer puts its rows in data.entries, each with url, handle, type, lastModified and image metadata where the sitemap gives it. truncated is true when the page stopped at the response bound. The index is read first so the child URL keeps the exact bounds the store published.
Shopify Sitemap API FAQ
How do I walk a whole sitemap?
Read the index first, then request each child with its type. The typed child answer is bounded and reports truncated when it stops at the response bound.
Are image details always present?
No. image is populated only where the sitemap publishes image metadata for that URL.
What does the page query do?
It selects a child sitemap page when the store splits a type across pages. You can also continue with page.nextCursor.
How do I name the store?
The store is the domain, for example allbirds.com, www.allbirds.com or weareallbirds.myshopify.com. A full URL is reduced to its host.
How is it billed?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.
What does lookupStatus mean?
found means the lookup succeeded. not_found means the store or entity does not exist or is not a Shopify store. private means the storefront is password-protected. restricted means it is paused or frozen. HTTP 200 only means the request finished, so branch on lookupStatus.
Other Shopify endpoints
- StoreGET /v1/shopify/store
- PoliciesGET /v1/shopify/store/policies
- LocationsGET /v1/shopify/store/locations
- MenuGET /v1/shopify/store/menus/{handle}
- RedirectsGET /v1/shopify/store/redirects
- ProductsGET /v1/shopify/products
- ProductGET /v1/shopify/products/{handle}
- RecommendationsGET /v1/shopify/products/{handle}/recommendations