example-data.com
Menu
Browse docs and collections

Overview

companies / #3

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/companies/3"
);
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/3"
);
const company = (await res.json()) as Company;

Python example

import requests

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

Response

{
  "id": 3,
  "name": "Mante - Carter",
  "slug": "mante-carter-3",
  "description": "Open-architected immersive neural-net",
  "industryId": 12,
  "headquartersCountryAlpha2": "AR",
  "employeeCount": 37006,
  "foundedYear": 1983,
  "websiteUrl": "https://example.com/companies/mante-carter",
  "logoUrl": "https://picsum.photos/seed/company-3/200/200",
  "isHiring": false,
  "createdAt": "2025-02-09T15:45:11.161Z"
}