work
- userId
-
Margaretta Barrows @margaretta_barrows41
- label
- work
- recipient
- Alvin Kilback
- street1
- 67663 Kilback Field
- street2
- —
- city
- Lake Justineshire
- region
- Idaho
- postalCode
- 32930
- countryAlpha2
- IS
- isDefault
- true
- createdAt
Overview
addresses / #48
work
#48
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/48" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/48" ); 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/48"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/48"
)
addresse = res.json() Response
{
"id": 48,
"userId": 39,
"label": "work",
"recipient": "Alvin Kilback",
"street1": "67663 Kilback Field",
"street2": null,
"city": "Lake Justineshire",
"region": "Idaho",
"postalCode": "32930",
"countryAlpha2": "IS",
"isDefault": true,
"createdAt": "2025-11-20T17:11:56.150Z"
}