example-data.com
Menu
Browse docs and collections

Overview

users / #58

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/users/58"
);
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/58"
);
const user = (await res.json()) as User;

Python example

import requests

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

Response

{
  "id": 58,
  "firstName": "Autumn",
  "lastName": "Bartell",
  "fullName": "Autumn Bartell",
  "username": "autumn.bartell95",
  "email": "autumn.bartell95@example.com",
  "phone": "+1 202-555-0157 ext 1",
  "bio": "photographer, geek, philosopher",
  "avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-58",
  "thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-58&size=128",
  "coverImageUrl": "https://picsum.photos/seed/user-cover-58/1200/400",
  "emailVerified": false,
  "isActive": true,
  "twitterHandle": "autumn.bartell95",
  "createdAt": "2025-08-30T08:14:09.538Z",
  "updatedAt": "2026-03-06T01:38:30.959Z"
}