home
- userId
-
Carley Gleichner @carley.gleichner
- label
- home
- recipient
- Leigh Bergstrom
- street1
- 528 Carmel Crossing
- street2
- —
- city
- Antoniettaton
- region
- Texas
- postalCode
- 40521-2215
- countryAlpha2
- PL
- isDefault
- false
- createdAt
Overview
addresses / #187
home
#187
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/187" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/187" ); 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/187"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/187"
)
addresse = res.json() Response
{
"id": 187,
"userId": 142,
"label": "home",
"recipient": "Leigh Bergstrom",
"street1": "528 Carmel Crossing",
"street2": null,
"city": "Antoniettaton",
"region": "Texas",
"postalCode": "40521-2215",
"countryAlpha2": "PL",
"isDefault": false,
"createdAt": "2025-12-07T08:00:39.786Z"
}