example-data.com
Menu
Browse docs and collections

Overview

addresses / #232

other

userId
Kamryn Rogahn @kamryn_rogahn40
label
other
recipient
Elbert Lehner
street1
449 Maya Meadow
street2
city
Abilene
region
Minnesota
postalCode
98943
countryAlpha2
AE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 232,
  "userId": 170,
  "label": "other",
  "recipient": "Elbert Lehner",
  "street1": "449 Maya Meadow",
  "street2": null,
  "city": "Abilene",
  "region": "Minnesota",
  "postalCode": "98943",
  "countryAlpha2": "AE",
  "isDefault": true,
  "createdAt": "2026-05-19T06:22:16.293Z"
}