example-data.com
Menu
Browse docs and collections

Overview

addresses / #134

other

userId
Lazaro Rath @lazaro.rath42
label
other
recipient
Ana Ledner
street1
5779 Rosalyn Radial
street2
city
South Payton
region
Kansas
postalCode
64230-4594
countryAlpha2
KE
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 134,
  "userId": 102,
  "label": "other",
  "recipient": "Ana Ledner",
  "street1": "5779 Rosalyn Radial",
  "street2": null,
  "city": "South Payton",
  "region": "Kansas",
  "postalCode": "64230-4594",
  "countryAlpha2": "KE",
  "isDefault": true,
  "createdAt": "2025-09-05T01:13:23.965Z"
}