home
- userId
-
Kevon Dickinson @kevon.dickinson
- label
- home
- recipient
- Rosa Kreiger
- street1
- 39007 Grimes Hills
- street2
- Apt. 534
- city
- Collinsworth
- region
- Vermont
- postalCode
- 02823-6641
- countryAlpha2
- TH
- isDefault
- false
- createdAt
Overview
addresses / #302
home
#302
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/302" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/302" ); 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/302"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/302"
)
addresse = res.json() Response
{
"id": 302,
"userId": 218,
"label": "home",
"recipient": "Rosa Kreiger",
"street1": "39007 Grimes Hills",
"street2": "Apt. 534",
"city": "Collinsworth",
"region": "Vermont",
"postalCode": "02823-6641",
"countryAlpha2": "TH",
"isDefault": false,
"createdAt": "2025-07-30T23:00:02.008Z"
}