example-data.com
Menu
Browse docs and collections

Overview

orgs / #21

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/orgs/21"
);
const org = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/orgs/21"
);
const org = (await res.json()) as Org;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/orgs/21"
)
org = res.json()

Response

{
  "id": 21,
  "name": "Toy and Sons",
  "slug": "toy-and-sons",
  "description": "Persistent context-sensitive focus group",
  "industryId": 6,
  "size": "201-1000",
  "foundedYear": 2023,
  "websiteUrl": "https://example.com/orgs/toy-and-sons",
  "logoUrl": "https://picsum.photos/seed/org-21/200/200",
  "createdAt": "2025-04-12T20:11:28.960Z",
  "updatedAt": "2025-08-08T13:21:56.409Z"
}