example-data.com
Menu
Browse docs and collections

Overview

addresses / #108

home

userId
Mateo Gerlach @mateo.gerlach
label
home
recipient
Miss Dawn Goldner
street1
39811 Schulist Shore
street2
—
city
Oak Lawn
region
Delaware
postalCode
44974
countryAlpha2
PH
isDefault
true
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 108,
  "userId": 81,
  "label": "home",
  "recipient": "Miss Dawn Goldner",
  "street1": "39811 Schulist Shore",
  "street2": null,
  "city": "Oak Lawn",
  "region": "Delaware",
  "postalCode": "44974",
  "countryAlpha2": "PH",
  "isDefault": true,
  "createdAt": "2026-04-08T21:56:47.865Z"
}