example-data.com
Menu
Browse docs and collections

product-reviews

product-reviews

Page 17 of 39.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/product-reviews?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/product-reviews?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/product-reviews.d.ts https://example-data.com/types/product-reviews.d.ts
import type { ProductReview, ListEnvelope } from "./types/product-reviews";

const res = await fetch(
  "https://example-data.com/api/v1/product-reviews?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<ProductReview>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/product-reviews",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 385,
      "productId": 83,
      "userId": 161,
      "rating": 4,
      "title": "Villa compono vilitas tenus sordeo.",
      "body": "Combibo deporto aureus. Theca canonicus voro.",
      "isVerified": true,
      "helpfulCount": 6,
      "createdAt": "2025-12-14T13:35:40.961Z",
      "updatedAt": "2026-03-05T10:48:44.343Z"
    },
    {
      "id": 386,
      "productId": 83,
      "userId": 70,
      "rating": 5,
      "title": "Vulgaris eveniet exercitationem voluptatem decerno caute creber cohors.",
      "body": "Sol cupiditas comminor deinde vallum celo sum. Trado vito audacia. Ventosus assumenda conitor.",
      "isVerified": true,
      "helpfulCount": 25,
      "createdAt": "2025-04-17T16:19:07.033Z",
      "updatedAt": "2025-06-09T23:19:05.232Z"
    },
    {
      "id": 387,
      "productId": 83,
      "userId": 138,
      "rating": 1.5,
      "title": "Odio sapiente tristis celer voluptatibus suffragium totus.",
      "body": "Vesica aedificium ipsa clibanus sponte annus delego.",
      "isVerified": true,
      "helpfulCount": 24,
      "createdAt": "2024-08-15T21:24:47.600Z",
      "updatedAt": "2026-04-27T13:34:01.989Z"
    }
  ],
  "meta": {
    "page": 17,
    "limit": 24,
    "total": 925,
    "totalPages": 39
  },
  "links": {
    "self": "/api/v1/product-reviews?page=17&limit=24",
    "first": "/api/v1/product-reviews?page=1&limit=24",
    "last": "/api/v1/product-reviews?page=39&limit=24",
    "next": "/api/v1/product-reviews?page=18&limit=24",
    "prev": "/api/v1/product-reviews?page=16&limit=24"
  }
}