work
- userId
-
Anne Hamill @anne_hamill75
- label
- work
- recipient
- Willard Wiegand
- street1
- 7920 Purdy Turnpike
- street2
- —
- city
- Castro Valley
- region
- Iowa
- postalCode
- 57436
- countryAlpha2
- IT
- isDefault
- true
- createdAt
Overview
addresses / #11
work
#11
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/11" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/11" ); 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/11"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/11"
)
addresse = res.json() Response
{
"id": 11,
"userId": 9,
"label": "work",
"recipient": "Willard Wiegand",
"street1": "7920 Purdy Turnpike",
"street2": null,
"city": "Castro Valley",
"region": "Iowa",
"postalCode": "57436",
"countryAlpha2": "IT",
"isDefault": true,
"createdAt": "2025-09-26T17:04:28.316Z"
}