example-data.com
Menu
Browse docs and collections

Overview

users / #2

Amina King

Amina King

@amina_king41

creator, nerd, parent 🐩

Phone
+1 202-555-0101 ext 1
Joined
11/26/2025

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/users/2"
);
const user = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/users.d.ts https://example-data.com/types/users.d.ts
import type { User } from "./types/users";

const res = await fetch(
  "https://example-data.com/api/v1/users/2"
);
const user = (await res.json()) as User;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/users/2"
)
user = res.json()

Response

{
  "id": 2,
  "firstName": "Amina",
  "lastName": "King",
  "fullName": "Amina King",
  "username": "amina_king41",
  "email": "amina_king41@example.com",
  "phone": "+1 202-555-0101 ext 1",
  "bio": "creator, nerd, parent 🐩",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-2",
  "thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-2&size=128",
  "coverImageUrl": "https://picsum.photos/seed/user-cover-2/1200/400",
  "emailVerified": true,
  "isActive": true,
  "twitterHandle": null,
  "createdAt": "2025-11-26T14:32:54.774Z",
  "updatedAt": "2026-02-14T01:26:37.282Z"
}