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.

CardFileWhat it is
LLMs manifestllms.txtA Markdown index of your catalog. AI agents read this first
Agent directivesagent.txtA robots.txt for AI shopping agents: capabilities, endpoints and commerce policies
Product feedfeed.txtYour full catalog as schema.org JSON with AEO content
Catalog searchcatalog/searchA 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

  1. Copy the Product feed URL from the Headless tab.
  2. Go to chatgpt.com/gpts, open your GPT and click Edit.
  3. Under Knowledge, click Upload files, then Import from URL.
  4. Paste the URL and click Import.
  5. 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
ParameterDescription
queryThe shopper's search, in plain language
limitResults per page. Default 6, maximum 20
pagePage number
sortrelevance, price_asc, price_desc or newest
filtersJSON 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
ParameterDescription
limitResults per page. Default 50, maximum 100
cursorThe next_cursor value from the previous page
in_stockSet 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.

SectionWhat you can add
AEO overridesTitle override and Description override
Custom fieldsKey and value pairs, with Add field
Content blocksA heading, body and optional image, with Add block
SEO / JSON-LD extrasBrand, 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_jsonld
  • rankup.faq_jsonld
  • rankup.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

ProblemWhat to do
The URLs return 404AI 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 filesSwitch on AI Visible for that product, then sync
Search returns everythingUse the query parameter, not q
The list says more products are not yet syncedRun a sync from your store page

Last updated

Ready to set this up?

Open RankUp and follow these steps in your own project.