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

# .get()

> Fetch a single page

```javascript theme={null}
openbridge.pages.get(idOrHandle)
openbridge.pages.get(idOrHandle).select(fields)
```

Fetches a single page by handle or Shopify GID. Supports chaining `.select()` to limit fields.

## Parameters

| Param        | Type     | Required | Description                |
| ------------ | -------- | -------- | -------------------------- |
| `idOrHandle` | `string` | Yes      | Page handle or Shopify GID |

## Returns

[`ShopifyPage`](/api/types/pages#shopifypage) `| null`

## Examples

### Get by handle

```javascript theme={null}
const page = await openbridge.pages.get('about-us')

if (page) {
    console.log(page.title)
}
```

### Get by Shopify GID

```javascript theme={null}
const page = await openbridge.pages.get(
    'gid://shopify/Page/123456789'
)
```

### With field selection

```javascript theme={null}
const page = await openbridge.pages
    .get('contact')
    .select(['title', 'body', 'seo'])
```

### Handle not found

```javascript theme={null}
const page = await openbridge.pages.get('non-existent')

if (!page) {
    console.log('Page not found')
}
```
