example-data.com
Menu
Browse docs and collections

Overview

addresses / #268

billing

userId
Ricky Langosh @ricky.langosh66
label
billing
recipient
Karen Streich
street1
16069 Cassin Ridges
street2
city
Hellerchester
region
Idaho
postalCode
95695
countryAlpha2
CO
isDefault
false
createdAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 268,
  "userId": 198,
  "label": "billing",
  "recipient": "Karen Streich",
  "street1": "16069 Cassin Ridges",
  "street2": null,
  "city": "Hellerchester",
  "region": "Idaho",
  "postalCode": "95695",
  "countryAlpha2": "CO",
  "isDefault": false,
  "createdAt": "2026-02-20T01:56:39.032Z"
}