example-data.com

time-zones

time-zones

Browse 66 time-zones records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.

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

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

res = requests.get(
    "https://example-data.com/api/v1/time-zones",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 1,
      "name": "America/New_York",
      "offsetMinutes": -300,
      "abbreviation": "EST",
      "countryAlpha2": "US"
    },
    {
      "id": 2,
      "name": "America/Chicago",
      "offsetMinutes": -360,
      "abbreviation": "CST",
      "countryAlpha2": "US"
    },
    {
      "id": 3,
      "name": "America/Denver",
      "offsetMinutes": -420,
      "abbreviation": "MST",
      "countryAlpha2": "US"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 66,
    "totalPages": 3
  },
  "links": {
    "self": "/api/v1/time-zones?page=1",
    "first": "/api/v1/time-zones?page=1",
    "last": "/api/v1/time-zones?page=3",
    "next": "/api/v1/time-zones?page=2",
    "prev": null
  }
}

View full response →

Draftbit