example-data.com

categories

categories

Page 2 of 2.

Non-Fiction

Biographies, history, science, self-help, and reference books.

Music

Digital albums, vinyl records, and music streaming gift cards.

Skincare

Moisturizers, serums, cleansers, and sunscreen for face and body.

Hair Care

Shampoos, conditioners, styling products, and hair tools.

Vitamins & Supplements

Multivitamins, protein powders, and wellness supplements.

Fresh Produce

Fruits, vegetables, herbs, and organic farming products.

Showing first 6 of 16 on this page.

curl -sS \
  "https://example-data.com/api/v1/categories?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/categories?limit=25"
);
const { data, meta } = await res.json();
import type { Categorie, ListEnvelope } from "https://example-data.com/types/categories.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/categories",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 25,
      "name": "Non-Fiction",
      "slug": "non-fiction",
      "description": "Biographies, history, science, self-help, and reference books.",
      "parentId": 5,
      "sortOrder": 2
    },
    {
      "id": 26,
      "name": "Music",
      "slug": "music",
      "description": "Digital albums, vinyl records, and music streaming gift cards.",
      "parentId": 5,
      "sortOrder": 3
    },
    {
      "id": 27,
      "name": "Skincare",
      "slug": "skincare",
      "description": "Moisturizers, serums, cleansers, and sunscreen for face and body.",
      "parentId": 6,
      "sortOrder": 1
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 40,
    "totalPages": 2
  },
  "links": {
    "self": "/api/v1/categories?page=2",
    "next": null,
    "prev": "/api/v1/categories?page=1"
  }
}
Draftbit