home
- userId
-
Jabari Farrell @jabari_farrell75
- label
- home
- recipient
- Ben Bernier
- street1
- 1811 Lonnie Place
- street2
- —
- city
- Gregoryport
- region
- West Virginia
- postalCode
- 26898
- countryAlpha2
- SG
- isDefault
- false
- createdAt
Overview
addresses / #333
home
#333
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/333" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/333" ); 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/333"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/333"
)
addresse = res.json() Response
{
"id": 333,
"userId": 240,
"label": "home",
"recipient": "Ben Bernier",
"street1": "1811 Lonnie Place",
"street2": null,
"city": "Gregoryport",
"region": "West Virginia",
"postalCode": "26898",
"countryAlpha2": "SG",
"isDefault": false,
"createdAt": "2025-12-09T15:56:40.148Z"
}