home
- userId
-
Malvina Ortiz @malvina_ortiz
- label
- home
- recipient
- Ashley Medhurst
- street1
- 3506 Zulauf Camp
- street2
- —
- city
- Vandervortburgh
- region
- Kentucky
- postalCode
- 31534
- countryAlpha2
- SA
- isDefault
- false
- createdAt
Overview
addresses / #324
home
#324
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/324" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/324" ); 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/324"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/324"
)
addresse = res.json() Response
{
"id": 324,
"userId": 234,
"label": "home",
"recipient": "Ashley Medhurst",
"street1": "3506 Zulauf Camp",
"street2": null,
"city": "Vandervortburgh",
"region": "Kentucky",
"postalCode": "31534",
"countryAlpha2": "SA",
"isDefault": false,
"createdAt": "2025-07-21T23:08:11.628Z"
}