example-data.com
Menu
Browse docs and collections

Overview

addresses / #276

work

userId
Mathilde Ziemann-Nienow @mathilde.ziemann-nienow6
label
work
recipient
Beatrice Mayert
street1
945 Western Road
street2
Apt. 899
city
East Shania
region
Vermont
postalCode
79993-4841
countryAlpha2
NL
isDefault
false
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/addresses/276" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/addresses/276"
);
const address = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/addresses/276"
);
const address = (await res.json()) as Address;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/276"
)
addresse = res.json()

Response

{
  "id": 276,
  "userId": 202,
  "label": "work",
  "recipient": "Beatrice Mayert",
  "street1": "945 Western Road",
  "street2": "Apt. 899",
  "city": "East Shania",
  "region": "Vermont",
  "postalCode": "79993-4841",
  "countryAlpha2": "NL",
  "isDefault": false,
  "createdAt": "2026-02-17T21:19:36.089Z"
}