home
- userId
-
Jonas Rath @jonas.rath
- label
- home
- recipient
- Yolanda Collier
- street1
- 31077 David Shores
- street2
- —
- city
- East Kariane
- region
- Wyoming
- postalCode
- 41589-9910
- countryAlpha2
- TH
- isDefault
- true
- createdAt
Overview
addresses / #179
home
#179
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/179" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/179" ); 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/179"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/179"
)
addresse = res.json() Response
{
"id": 179,
"userId": 138,
"label": "home",
"recipient": "Yolanda Collier",
"street1": "31077 David Shores",
"street2": null,
"city": "East Kariane",
"region": "Wyoming",
"postalCode": "41589-9910",
"countryAlpha2": "TH",
"isDefault": true,
"createdAt": "2025-11-16T10:04:04.197Z"
}