> ## Documentation Index
> Fetch the complete documentation index at: https://weaverse.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Weaverse component configuration uses `settings`. `inspector` is deprecated; never generate it.
> Weaverse Hydrogen themes use React Router v7: import from `react-router`, never `react-router-dom` or `@remix-run/*`.
> Before using any code sample, read `@weaverse/hydrogen` in the project's `package.json`: 6.x and 5.x import from different entries and use different type names, so code for one does not build on the other.
> `@weaverse/hydrogen` 6 (Shopify Hydrogen 2026.10 and later, the version these docs show) imports from `@weaverse/hydrogen/react-router` and uses `Weaverse*` types such as `WeaverseComponentProps`, `WeaverseComponentLoaderArgs` and `WeaverseComponentSchema`; the root `@weaverse/hydrogen` entry only exports `createSchema()`, data helpers and types.
> `@weaverse/hydrogen` 5.x (Hydrogen 2026.4 and earlier) imports everything from `@weaverse/hydrogen` and uses `HydrogenComponentProps`, `ComponentLoaderArgs` and `HydrogenComponentSchema`. On a 5.x project, convert samples to these names. Upgrade to 6 only when asked (`npx @weaverse/cli@latest migrate v6`, plus the Hydrogen 2026.10 upgrade). Do not mix major versions.
> Next.js themes use `@weaverse/hydrogen` 6.2.0 or later: import client and shared code from `@weaverse/hydrogen/next` and server-only code from `@weaverse/hydrogen/next/server`. `@weaverse/next` is deprecated; never install or import it.
> For live project data (pages, theme settings, translations), use the Weaverse MCP server: https://weaverse.io/docs/developer-tools/weaverse-mcp

# List Public Custom Pages

> Retrieve custom-page route metadata for sitemap and crawler integrations without authentication

# List Public Custom Pages

```
GET /api/public/v1/projects/:projectId/custom-pages
```

Returns route metadata for non-deleted `CUSTOM` page assignments. Unlike the authenticated Content API, this endpoint does not return component content or theme settings.

> [!NOTE]
>
> No API key is required. Responses are CDN-cacheable. A process-local rate limit allows 60 requests per 60 seconds for each IP address and project pair.

> [!WARNING]
>
> The endpoint does not filter assignments by publication state. Do not treat an entry as proof that a page is published; apply your storefront's publication policy before adding a route to a public sitemap.

## Path parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `projectId` | string | Yes | Project whose custom-page assignments should be listed |

## Query parameters

| Parameter | Type | Default | Description |
| - | - | - | - |
| `locale` | string | — | Limit results to a locale. Use `default` to match assignments whose locale is empty or `null`. |
| `limit` | integer | `100` | Page size. Values above `1000` are capped at `1000`. |
| `cursor` | string | — | Cursor from the previous response's `nextCursor` field. |

## Example

```bash theme={null}
# First page
curl "https://studio.weaverse.io/api/public/v1/projects/PROJECT_ID/custom-pages?locale=en-us&limit=100"

# Next page
curl "https://studio.weaverse.io/api/public/v1/projects/PROJECT_ID/custom-pages?locale=en-us&limit=100&cursor=NEXT_CURSOR"
```

## Response

```json theme={null}
{
  "data": [
    {
      "handle": "pages/gift-shop",
      "locale": "en-us",
      "path": "/en-us/pages/gift-shop",
      "lastModified": "2026-08-24T10:30:00.000Z",
      "priority": 0.7,
      "changeFrequency": "weekly"
    }
  ],
  "nextCursor": null
}
```

`nextCursor` is `null` when there are no more results. Otherwise, pass it unchanged as the next request's `cursor` value.

Use each returned `handle` and `path` exactly as returned. A handle may contain `/`, for example `pages/gift-shop`.

## Errors

This public endpoint returns a compact `{ "error": "code" }` body rather than the authenticated Content API error envelope.

| Error | Status | When |
| - | -: | - |
| `invalid_limit` | 400 | `limit` cannot be parsed as a value of at least 1 |
| `invalid_cursor` | 400 | `cursor` cannot be decoded |
| `too_many_requests` | 429 | The IP/project rate limit is exceeded |
| `internal` | 500 | The query fails |

> [card] [Custom Pages](https://weaverse.io/docs/features/custom-pages.md)
>
> Learn how custom routes are created and rendered.

> [card] [List Pages](https://weaverse.io/docs/content-api/pages/list-page-assignments.md)
>
> Use the authenticated assignment endpoint when you need page IDs, types, or project content.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.