---
updatedAt: 2026-11-04T10:28:14.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 an empty snippet (`from 0 reviews`), so render the snippet 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 endpoint always returns HTML, never JSON: look for the `<div id="yotpo-reviews-section-data">` block. If your page already outputs Product structured data, keep only one source so the ratings don't conflict.