home
- userId
-
Lazaro Rath @lazaro.rath42
- label
- home
- recipient
- Gwen Kris
- street1
- 177 Sycamore Street
- street2
- —
- city
- New Curtischester
- region
- Virginia
- postalCode
- 42420
- countryAlpha2
- NL
- isDefault
- false
- createdAt
Overview
addresses / #135
home
#135
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/135" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/135" ); 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/135"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/135"
)
addresse = res.json() Response
{
"id": 135,
"userId": 102,
"label": "home",
"recipient": "Gwen Kris",
"street1": "177 Sycamore Street",
"street2": null,
"city": "New Curtischester",
"region": "Virginia",
"postalCode": "42420",
"countryAlpha2": "NL",
"isDefault": false,
"createdAt": "2026-03-12T15:23:59.070Z"
}