Headless and AI access
Publish your catalog as public files and endpoints that AI agents, Custom GPTs and custom storefronts can read.
What it does
The Headless tab publishes your synced catalog as public files and endpoints. AI agents read them to discover and cite your products, and you can read them from a custom storefront or any other system.
These files update as you sync and optimize products. They need no API key.
Before you start
- A connected store with at least one completed sync.
- Products switched to AI Visible. Only those are published.
Find your URLs
Open your store page and go to the Headless tab. Under Headless & AI access you get four cards. Each has Copy URL and Open.
| Card | File | What it is |
|---|---|---|
| LLMs manifest | llms.txt | A Markdown index of your catalog. AI agents read this first |
| Agent directives | agent.txt | A robots.txt for AI shopping agents: capabilities, endpoints and commerce policies |
| Product feed | feed.txt | Your full catalog as schema.org JSON with AEO content |
| Catalog search | catalog/search | A natural-language product search endpoint |
All four live under one base URL that ends in your store's public slug. Copy them from the tab so the host and slug are right.
Add your catalog to a Custom GPT
- Copy the Product feed URL from the Headless tab.
- Go to
chatgpt.com/gpts, open your GPT and click Edit. - Under Knowledge, click Upload files, then Import from URL.
- Paste the URL and click Import.
- Click Save.
Your GPT now answers from your optimized catalog and picks up changes as the feed refreshes.
Public API reference
Every endpoint below is a GET request relative to your base URL. No authentication is required. Responses are JSON unless noted.
Merchant info
GET /
Returns your store name, domain, country, product count and policies.
Search the catalog
GET /catalog/search?query=running+shoes&limit=6
| Parameter | Description |
|---|---|
query | The shopper's search, in plain language |
limit | Results per page. Default 6, maximum 20 |
page | Page number |
sort | relevance, price_asc, price_desc or newest |
filters | JSON with any of price (min, max), color, size, in_stock |
Returns products, merchant, page, total_results and query. Results are cached for 5 minutes.
List every product
GET /catalog/all?limit=50&in_stock=true
| Parameter | Description |
|---|---|
limit | Results per page. Default 50, maximum 100 |
cursor | The next_cursor value from the previous page |
in_stock | Set to true to return only products in stock |
Returns products, count, next_cursor and total.
Get one product
GET /catalog/products/{product_id}
Accepts a variant item ID, a product group ID or the ID from your store platform.
Product fields
Each product includes these fields, where your catalog has them:
{
"id": "...",
"product_id": "...",
"title": "...",
"description": "...",
"price": 0,
"price_formatted": "...",
"currency": "...",
"image_url": "...",
"images": [],
"product_url": "...",
"availability": "...",
"brand": "...",
"category": "...",
"sku": "...",
"attributes": {},
"specifications": {},
"rating": 0,
"reviews_count": 0,
"variants": []
}
Add extra data to a product
Under Per-product headless data, click Edit on a product to add content that appears in its public data and public page.
| Section | What you can add |
|---|---|
| AEO overrides | Title override and Description override |
| Custom fields | Key and value pairs, with Add field |
| Content blocks | A heading, body and optional image, with Add block |
| SEO / JSON-LD extras | Brand, GTIN, meta title, meta description and extra schema.org properties |
Click Save when you finish. Changes are not saved automatically.
Use View public page to see the product page RankUp hosts for that product, with Product, FAQ and Breadcrumb structured data.
Push data to Shopify
On Shopify stores, Push and Push all write each product's AI data to Shopify as metafields under the rankup namespace:
rankup.aeo_jsonldrankup.faq_jsonldrankup.ai_data
Your theme can read these metafields to output structured data on product pages. Pushing does not change your product titles, descriptions or SEO fields.
Troubleshooting
| Problem | What to do |
|---|---|
| The URLs return 404 | AI search is off for this store, or the store has not been synced. Sync your products, and contact RankUp support if the URLs still return 404 |
| A product is missing from the files | Switch on AI Visible for that product, then sync |
| Search returns everything | Use the query parameter, not q |
| The list says more products are not yet synced | Run a sync from your store page |
Related
Last updated