home
- userId
-
Sandrine Osinski @sandrine.osinski
- label
- home
- recipient
- Anthony Hills
- street1
- 989 Misael Groves
- street2
- —
- city
- Danielstad
- region
- Nebraska
- postalCode
- 68101
- countryAlpha2
- DE
- isDefault
- false
- createdAt
Overview
addresses / #215
home
#215
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/215" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/215" ); 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/215"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/215"
)
addresse = res.json() Response
{
"id": 215,
"userId": 157,
"label": "home",
"recipient": "Anthony Hills",
"street1": "989 Misael Groves",
"street2": null,
"city": "Danielstad",
"region": "Nebraska",
"postalCode": "68101",
"countryAlpha2": "DE",
"isDefault": false,
"createdAt": "2025-04-11T20:22:01.816Z"
}