example-data.com
Menu
Browse docs and collections

Overview

addresses / #141

other

userId
Jermain Kshlerin @jermain_kshlerin51
label
other
recipient
Bryan Farrell
street1
236 Clifton Branch
street2
city
Turcottechester
region
Iowa
postalCode
72257
countryAlpha2
FJ
isDefault
false
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/addresses/141" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/addresses/141"
);
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/141"
);
const address = (await res.json()) as Address;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/141"
)
addresse = res.json()

Response

{
  "id": 141,
  "userId": 104,
  "label": "other",
  "recipient": "Bryan Farrell",
  "street1": "236 Clifton Branch",
  "street2": null,
  "city": "Turcottechester",
  "region": "Iowa",
  "postalCode": "72257",
  "countryAlpha2": "FJ",
  "isDefault": false,
  "createdAt": "2025-09-12T15:34:54.367Z"
}