example-data.com
Menu
Browse docs and collections

Overview

companies / #23

Component variants

Related

References

Referenced by

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/companies/23"
);
const company = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/companies/23"
);
const company = (await res.json()) as Company;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/companies/23"
)
companie = res.json()

Response

{
  "id": 23,
  "name": "Kreiger - Pagac",
  "slug": "kreiger-pagac-23",
  "description": "Ergonomic exuding moratorium",
  "industryId": 35,
  "headquartersCountryAlpha2": "AT",
  "employeeCount": 42559,
  "foundedYear": 1988,
  "websiteUrl": "https://example.com/companies/kreiger-pagac",
  "logoUrl": "https://picsum.photos/seed/company-23/200/200",
  "isHiring": true,
  "createdAt": "2025-11-18T16:22:38.420Z"
}