Skip to main content

Get Page

GET/api/v1/content/pages/{slug}

Overview

Returns a single published page by its URL slug. Pages use a block-based content model (JSONB array of typed content blocks) and include SEO metadata, template assignment, and sort order.

Authentication

info

No authentication required - Client is resolved from the X-Content-Domain header, which the Cloudflare Worker sets automatically based on the request domain.

Headers

HeaderTypeRequiredDescription
X-Content-DomainstringYesThe domain used to resolve the client tenant. Automatically set by the CF Worker; set manually for external frontend integrations.

Path Parameters

ParameterTypeRequiredDescription
slugstringYesThe URL-friendly slug of the page

Response

idstring (UUID)

Unique page identifier

slugstring

URL-friendly slug

titlestring

Page title

blocksarray

JSONB array of typed content blocks. Each block has a type (e.g., hero, text, cta, faq, pricing, features) and block-specific data.

statusstring

Always published

templatestring

Template used to render the page (e.g., default, landing, blank)

sort_orderinteger

Sort order for page listing

published_atstring

ISO 8601 publication timestamp

updated_atstring

ISO 8601 last update timestamp

seo_titlestring | null

Custom SEO title

seo_descriptionstring | null

Custom SEO meta description

og_image_urlstring | null

Open Graph image URL

Example Request

curl -s "https://spideriq.ai/api/v1/content/pages/pricing" \
-H "X-Content-Domain: your-domain.com"

Example Response

{
"id": "d4e5f6a7-b8c9-0123-defg-234567890123",
"slug": "pricing",
"title": "Pricing",
"blocks": [
{
"type": "hero",
"data": {
"heading": "Simple, transparent pricing",
"subheading": "Start free. Scale as you grow.",
"cta_text": "Get Started",
"cta_url": "/signup"
}
},
{
"type": "pricing",
"data": {
"plans": [
{
"name": "Starter",
"price": "$49/mo",
"features": ["1,000 scrapes/mo", "Email verification", "API access"]
},
{
"name": "Pro",
"price": "$199/mo",
"features": ["10,000 scrapes/mo", "Priority support", "Campaigns"]
}
]
}
},
{
"type": "faq",
"data": {
"items": [
{
"question": "Can I cancel anytime?",
"answer": "Yes, cancel anytime with no fees."
}
]
}
}
],
"status": "published",
"template": "landing",
"sort_order": 2,
"published_at": "2026-01-15T12:00:00Z",
"updated_at": "2026-04-01T10:00:00Z",
"seo_title": "Pricing - SpiderIQ",
"seo_description": "Simple, transparent pricing for web scraping and lead generation.",
"og_image_url": "https://cdn.spideriq.ai/og/pricing.webp"
}

Status Codes

Status CodeMeaningDescription
200OKPage returned successfully
404Not FoundNo published page found with the given slug