example-data.com
Menu
Browse docs and collections

companies

companies

Page 2 of 4.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/companies?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/companies?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/companies";

const res = await fetch(
  "https://example-data.com/api/v1/companies?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Company>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/companies",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 25,
      "name": "Ondricka, Bosco and Donnelly",
      "slug": "ondricka-bosco-and-donnelly-25",
      "description": "Horizontal high-level pricing structure",
      "industryId": 8,
      "headquartersCountryAlpha2": "CA",
      "employeeCount": 46144,
      "foundedYear": 1999,
      "websiteUrl": "https://example.com/companies/ondricka-bosco-and-donnelly",
      "logoUrl": "https://picsum.photos/seed/company-25/200/200",
      "isHiring": false,
      "createdAt": "2024-08-19T01:58:36.072Z"
    },
    {
      "id": 26,
      "name": "Windler Group",
      "slug": "windler-group-26",
      "description": "Integrated eco-centric analyzer",
      "industryId": 14,
      "headquartersCountryAlpha2": "MA",
      "employeeCount": 32003,
      "foundedYear": 2022,
      "websiteUrl": null,
      "logoUrl": "https://picsum.photos/seed/company-26/200/200",
      "isHiring": false,
      "createdAt": "2016-08-08T09:47:57.075Z"
    },
    {
      "id": 27,
      "name": "Crona - Schumm",
      "slug": "crona-schumm-27",
      "description": "Quality-focused AI-powered function",
      "industryId": 18,
      "headquartersCountryAlpha2": "PL",
      "employeeCount": 15707,
      "foundedYear": 2010,
      "websiteUrl": "https://example.com/companies/crona-schumm",
      "logoUrl": "https://picsum.photos/seed/company-27/200/200",
      "isHiring": false,
      "createdAt": "2015-04-27T12:43:48.513Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 80,
    "totalPages": 4
  },
  "links": {
    "self": "/api/v1/companies?page=2&limit=24",
    "first": "/api/v1/companies?page=1&limit=24",
    "last": "/api/v1/companies?page=4&limit=24",
    "next": "/api/v1/companies?page=3&limit=24",
    "prev": "/api/v1/companies?page=1&limit=24"
  }
}