home
- userId
-
Judy Hackett @judy_hackett49
- label
- home
- recipient
- Steve Hane
- street1
- 785 Lakin Flats
- street2
- —
- city
- Erdmanfield
- region
- Minnesota
- postalCode
- 07663-1188
- countryAlpha2
- MX
- isDefault
- true
- createdAt
Overview
addresses / #14
home
#14
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/14" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/14" ); 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/14"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/14"
)
addresse = res.json() Response
{
"id": 14,
"userId": 13,
"label": "home",
"recipient": "Steve Hane",
"street1": "785 Lakin Flats",
"street2": null,
"city": "Erdmanfield",
"region": "Minnesota",
"postalCode": "07663-1188",
"countryAlpha2": "MX",
"isDefault": true,
"createdAt": "2026-05-20T15:09:00.352Z"
}