example-data.com
Menu
Browse docs and collections

Overview

addresses / #25

other

userId
Antoinette Greenfelder @antoinette_greenfelder61
label
other
recipient
Tanya Grady
street1
677 Mayert Plaza
street2
Suite 434
city
West Flavio
region
Indiana
postalCode
42311
countryAlpha2
NZ
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 25,
  "userId": 22,
  "label": "other",
  "recipient": "Tanya Grady",
  "street1": "677 Mayert Plaza",
  "street2": "Suite 434",
  "city": "West Flavio",
  "region": "Indiana",
  "postalCode": "42311",
  "countryAlpha2": "NZ",
  "isDefault": true,
  "createdAt": "2025-05-21T00:30:20.940Z"
}