Yotpo UGC API

Build reviews, ratings, Q&A and visual UGC into any storefront or backend.

These docs are moving to docs.yotpo.com on November 5. Your links will keep working and take you to the same page on the new site.
Quickstart

Show reviews on a product page in two calls

Storefront endpoints are public. Your store ID in the path is enough, so you can call them from server or browser code.

cURLNo token needed
# 1. Reviews for a product
curl "https://api-cdn.yotpo.com/v3/storefront/store/YOUR_STORE_ID/product/YOUR_PRODUCT_ID/reviews?perPage=5"

# 2. Its star rating
curl "https://api-cdn.yotpo.com/v3/storefront/store/YOUR_STORE_ID/product/YOUR_PRODUCT_ID/ratings"
Example response
{
  "pagination": { "page": 1, "perPage": 5, "total": 128 },
  "bottomline": { "totalReview": 128, "averageScore": 4.6 },
  "reviews": [ { "score": 5, "title": "Fits perfectly", ... } ]
}

Build by use case

See all use cases

More Yotpo APIs

Essentials