home
- userId
-
Van Crona @van_crona
- label
- home
- recipient
- Beatrice Gibson
- street1
- 617 Stanley Road
- street2
- —
- city
- Port Patricia
- region
- California
- postalCode
- 67453-2791
- countryAlpha2
- IL
- isDefault
- false
- createdAt
Overview
addresses / #250
home
#250
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/250" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/250" ); 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/250"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/250"
)
addresse = res.json() Response
{
"id": 250,
"userId": 185,
"label": "home",
"recipient": "Beatrice Gibson",
"street1": "617 Stanley Road",
"street2": null,
"city": "Port Patricia",
"region": "California",
"postalCode": "67453-2791",
"countryAlpha2": "IL",
"isDefault": false,
"createdAt": "2025-11-02T01:51:17.747Z"
}