work
- userId
-
Wade Upton @wade_upton78
- label
- work
- recipient
- Noel Wisozk-Feest
- street1
- 433 Lancaster Road
- street2
- —
- city
- Maybelleworth
- region
- Delaware
- postalCode
- 48873-3772
- countryAlpha2
- PH
- isDefault
- true
- createdAt
Overview
addresses / #170
work
#170
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/170" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/170" ); 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/170"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/170"
)
addresse = res.json() Response
{
"id": 170,
"userId": 129,
"label": "work",
"recipient": "Noel Wisozk-Feest",
"street1": "433 Lancaster Road",
"street2": null,
"city": "Maybelleworth",
"region": "Delaware",
"postalCode": "48873-3772",
"countryAlpha2": "PH",
"isDefault": true,
"createdAt": "2025-02-09T20:49:53.655Z"
}