example-data.com
Menu
Browse docs and collections

product-reviews

product-reviews

Page 32 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": 745,
      "productId": 161,
      "userId": 208,
      "rating": 4,
      "title": "Tribuo thymbra adopto summopere aeger.",
      "body": "Cibus adaugeo calamitas amplus.",
      "isVerified": true,
      "helpfulCount": 125,
      "createdAt": "2024-07-06T21:24:29.370Z",
      "updatedAt": "2024-10-12T13:41:55.467Z"
    },
    {
      "id": 746,
      "productId": 162,
      "userId": 117,
      "rating": 4,
      "title": "Creber aggero desino concedo casus teres paulatim ipsum.",
      "body": "Tergiversatio adipisci casus caput tonsor stella compello ter pectus. Copiose ter debilito trucido sequi ipsam conforto.",
      "isVerified": false,
      "helpfulCount": 115,
      "createdAt": "2025-08-30T00:40:00.107Z",
      "updatedAt": "2026-03-02T12:02:33.930Z"
    },
    {
      "id": 747,
      "productId": 163,
      "userId": 28,
      "rating": 5,
      "title": "Capillus claro benevolentia caput tamen delectatio.",
      "body": "Aestus calamitas tutis sponte.",
      "isVerified": false,
      "helpfulCount": 154,
      "createdAt": "2024-08-19T21:35:20.664Z",
      "updatedAt": "2025-03-13T07:23:22.864Z"
    }
  ],
  "meta": {
    "page": 32,
    "limit": 24,
    "total": 925,
    "totalPages": 39
  },
  "links": {
    "self": "/api/v1/product-reviews?page=32&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=33&limit=24",
    "prev": "/api/v1/product-reviews?page=31&limit=24"
  }
}