example-data.com
Menu
Browse docs and collections

measurements

measurements

Browse 760 measurements records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

measurements #3

userId
Amina King @amina_king41
kind
chest
value
109.4
unit
cm
measuredAt
createdAt

measurements #4

userId
Amina King @amina_king41
kind
arm
value
34.6
unit
cm
measuredAt
createdAt

measurements #5

userId
Amina King @amina_king41
kind
waist
value
71.2
unit
cm
measuredAt
createdAt

Showing first 6 of 24 on this page.

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 1,
      "userId": 1,
      "kind": "resting_hr",
      "value": 48.9,
      "unit": "bpm",
      "measuredAt": "2025-07-08T07:02:41.682Z",
      "createdAt": "2025-07-08T07:11:11.881Z"
    },
    {
      "id": 2,
      "userId": 1,
      "kind": "hip",
      "value": 96.1,
      "unit": "cm",
      "measuredAt": "2025-10-19T05:26:11.115Z",
      "createdAt": "2025-10-19T06:04:15.103Z"
    },
    {
      "id": 3,
      "userId": 2,
      "kind": "chest",
      "value": 109.4,
      "unit": "cm",
      "measuredAt": "2025-09-08T18:10:41.232Z",
      "createdAt": "2025-09-08T19:08:51.174Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 760,
    "totalPages": 31
  },
  "links": {
    "self": "/api/v1/measurements?page=1",
    "first": "/api/v1/measurements?page=1",
    "last": "/api/v1/measurements?page=31",
    "next": "/api/v1/measurements?page=2",
    "prev": null
  }
}

View full response →