Oh Polly API endpoint
Returns one Oh Polly static page by its `handle`: title, page URL, plain-text content, and created, published and updated times. Content is cleaned text, not HTML. An unknown handle returns 404. The store is fixed to Oh Polly, so no store URL is needed. Some responses include `transport_mode` set to `ssr_embedded` and omit `id`.
/ohpolly/pages/{handle}Returns static page detail from Oh Polly.
This is a brand-pinned endpoint: the storefront URL (https://www.ohpolly.com) is fixed server-side, so unlike the generic /shopify/* family this wraps, there is no url request parameter. The same storefront is reachable through the generic family by passing url=https://www.ohpolly.com directly.
Path parameters:
handle: required. Page handle, such as example-page-handle.This endpoint takes no other query parameters.
Notable response behavior:
body_html; raw HTML is not returned.404 when Shopify returns not found.transport_mode: "ssr_embedded"; content is plain text rendered from the page's rich-text blocks, and id is omitted (the source id is not a Shopify numeric id).transport_mode allowed values: ssr_embedded (only ever present, never any other value; omitted for the classic transport).
| Field | In the sample | Value in the sample |
|---|---|---|
| store_url | Has a value | ohpolly.com |
| page.id | Has a value | |
| page.handle | Has a value | |
| page.title | Has a value | |
| page.url | Has a value | |
| page.published_at | Has a value | |
| page.created_at | Has a value | |
| page.updated_at | Has a value |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| handle (path) | string | Yes | Page handle | page-handle | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ohpolly/pages/page-handle" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"store_url": "https://www.ohpolly.com",
"source_url": "https://www.ohpolly.com",
"page": {
"id": "54831906896",
"handle": "example-page-handle",
"title": "Example Page",
"url": "https://www.ohpolly.com/pages/example-page-handle",
"content": "Example page content"
}
}
}Request schema
No body schema
Response schema
#/definitions/shopifybrands.pageResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | shopify.PageResponse | No | ||||
| data.page | object | No | The static page that was requested. | |||
| data.page.content | string | No | Body of the page as plain text. | |||
| data.page.created_at | string | No | Time the record was created, as Shopify returns it. | |||
| data.page.handle | string | No | accessibility | URL slug of the page, for example `accessibility`. | ||
| data.page.id | string | No | 54831906896 | Shopify page id. | ||
| data.page.published_at | string | No | Time the record was published, as Shopify returns it. | |||
| data.page.title | string | No | Accessibility | Page title as shown on the storefront. | ||
| data.page.updated_at | string | No | Time the record was last updated, as Shopify returns it. | |||
| data.page.url | string | No | https://www.allbirds.com/pages/accessibility | Storefront URL of the page. | ||
| data.source_url | string | No | https://www.allbirds.com | URL the data was read from. | ||
| data.store_url | string | No | https://www.allbirds.com | Base URL of the Shopify storefront that was queried. | ||
| data.transport_mode | string | No | ssr_embedded | ssr_embedded | Set only for headless storefronts that do not expose Shopify's standard catalogue; the value is `ssr_embedded`. Omitted otherwise. | |
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/ohpolly/pages/page-handle" \
-H "x-api-key: $CRAWLORA_API_KEY"