---
updatedAt: 2026-11-16T12:42:53.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Add review content for AI crawlers

```shell Shell
# 1. On your server, fetch the review markup for the product
curl "https://api-cdn.yotpo.com/v1/stores/YOUR_STORE_ID/products/YOUR_PRODUCT_ID/llm-schema"

# 2. Insert the returned HTML into your product page template, as returned
```

```html Response Example
<div id="yotpo-reviews-section-data" style="...">
  <section id="yotpo-reviews-overall-rating">
    <p><strong>Overall rating:</strong> 4.9 / 5 from 756 reviews.</p>
  </section>
  <section id="yotpo-reviews-ai-summary">
    <h3>AI Generated Review Summary</h3>
    <p>Shoppers praise the leather and the build.</p>
  </section>
  ...
</div>
```

# Fetch the markup on your server

<!-- shell@1-2 -->

Call the endpoint from your server or server-side rendering layer, not the browser, so the markup is in the HTML that crawlers download. Use the `/v1/stores/...` path shown here. The endpoint is public, so no token is needed. Set a short timeout (about 3 seconds) and render the page without it if the call fails. A wrong store or product ID doesn't fail: it returns `200` with no reviews (`"reviewCount":0` or `from 0 reviews`), so render the response only when it has reviews. Cache the response and refresh it at least once a day. See [Retrieve LLM schema HTML for a product](https://docs.yotpo.com/reference/retrieve-llm-schema) for platform examples.

# Inject it into the page

<!-- shell@4-4 -->

Output the HTML exactly as returned, and don't combine it with user input. Then view the page source to confirm the snippet is there. The response is `text/html` in one of two forms, depending on your store's template: a JSON-LD `<script type="application/ld+json">` block, or a `<div id="yotpo-reviews-section-data">` block. Look for whichever one your store returns. If your page already outputs Product structured data, keep only one source so the ratings don't conflict.