example-data.com
Menu
Browse docs and collections

Overview

addresses / #43

home

userId
Dwight Dicki-Medhurst @dwight.dicki-medhurst69
label
home
recipient
Ora Hane
street1
39525 Western Avenue
street2
city
New Monserratstead
region
Rhode Island
postalCode
33903-9123
countryAlpha2
IE
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 43,
  "userId": 35,
  "label": "home",
  "recipient": "Ora Hane",
  "street1": "39525 Western Avenue",
  "street2": null,
  "city": "New Monserratstead",
  "region": "Rhode Island",
  "postalCode": "33903-9123",
  "countryAlpha2": "IE",
  "isDefault": false,
  "createdAt": "2025-07-20T20:06:58.381Z"
}