home
- userId
-
Maymie Boehm @maymie.boehm90
- label
- home
- recipient
- Miss Geraldine Bogisich
- street1
- 9553 W Broadway Avenue
- street2
- Apt. 817
- city
- North Estelburgh
- region
- Wyoming
- postalCode
- 61308
- countryAlpha2
- IE
- isDefault
- true
- createdAt
Overview
addresses / #57
home
#57
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/57" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/57" ); 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/57"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/57"
)
addresse = res.json() Response
{
"id": 57,
"userId": 48,
"label": "home",
"recipient": "Miss Geraldine Bogisich",
"street1": "9553 W Broadway Avenue",
"street2": "Apt. 817",
"city": "North Estelburgh",
"region": "Wyoming",
"postalCode": "61308",
"countryAlpha2": "IE",
"isDefault": true,
"createdAt": "2025-02-19T17:48:32.216Z"
}