work
- userId
-
Adelia Roberts @adelia_roberts0
- label
- work
- recipient
- Kevin Kemmer
- street1
- 18692 Dalton Field
- street2
- —
- city
- East Abraham
- region
- Alabama
- postalCode
- 72288
- countryAlpha2
- MX
- isDefault
- true
- createdAt
Overview
addresses / #317
work
#317
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/317" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/317" ); 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/317"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/317"
)
addresse = res.json() Response
{
"id": 317,
"userId": 231,
"label": "work",
"recipient": "Kevin Kemmer",
"street1": "18692 Dalton Field",
"street2": null,
"city": "East Abraham",
"region": "Alabama",
"postalCode": "72288",
"countryAlpha2": "MX",
"isDefault": true,
"createdAt": "2025-09-13T08:50:05.808Z"
}