other
- userId
-
Michale Hilpert @michale_hilpert62
- label
- other
- recipient
- Rogelio Gibson
- street1
- 2671 Langworth Road
- street2
- —
- city
- Armstrongmouth
- region
- Washington
- postalCode
- 16782
- countryAlpha2
- PH
- isDefault
- true
- createdAt
Overview
addresses / #345
other
#345
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/345" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/345" ); 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/345"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/345"
)
addresse = res.json() Response
{
"id": 345,
"userId": 250,
"label": "other",
"recipient": "Rogelio Gibson",
"street1": "2671 Langworth Road",
"street2": null,
"city": "Armstrongmouth",
"region": "Washington",
"postalCode": "16782",
"countryAlpha2": "PH",
"isDefault": true,
"createdAt": "2025-12-22T02:24:54.134Z"
}