example-data.com
Menu
Browse docs and collections

product-reviews

product-reviews

Page 8 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": 169,
      "productId": 34,
      "userId": 32,
      "rating": 1.5,
      "title": "Capitulus cauda succedo patior amet.",
      "body": "Vallum solium dedecor abundans iusto compono. Illo suffoco denuo.",
      "isVerified": true,
      "helpfulCount": 146,
      "createdAt": "2025-06-14T22:16:16.257Z",
      "updatedAt": "2025-08-02T02:31:31.979Z"
    },
    {
      "id": 170,
      "productId": 35,
      "userId": 197,
      "rating": 2.5,
      "title": "Sumptus demitto tero delectatio conduco utpote absque corpus.",
      "body": "Abeo cras voluptatum synagoga quibusdam ducimus ut benevolentia. Caute super sub nisi sequi cerno antea talio.",
      "isVerified": true,
      "helpfulCount": 20,
      "createdAt": "2025-03-04T11:02:14.479Z",
      "updatedAt": "2025-08-05T15:08:21.381Z"
    },
    {
      "id": 171,
      "productId": 35,
      "userId": 245,
      "rating": 5,
      "title": "Saepe vigor adeptio tres apud.",
      "body": "Deleo adhaero aestus tempus bestia thema varietas. Dapifer officiis tum et capto labore cetera abutor amplus sublime.",
      "isVerified": false,
      "helpfulCount": 120,
      "createdAt": "2025-12-07T00:57:06.517Z",
      "updatedAt": "2026-01-16T07:18:45.050Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 925,
    "totalPages": 39
  },
  "links": {
    "self": "/api/v1/product-reviews?page=8&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=9&limit=24",
    "prev": "/api/v1/product-reviews?page=7&limit=24"
  }
}