example-data.com
Menu
Browse docs and collections

companies

companies

Page 3 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": 49,
      "name": "Feest - Kessler",
      "slug": "feest-kessler-49",
      "description": "Open-architected empowering process improvement",
      "industryId": 13,
      "headquartersCountryAlpha2": "NG",
      "employeeCount": 3495,
      "foundedYear": 1981,
      "websiteUrl": "https://example.com/companies/feest-kessler",
      "logoUrl": "https://picsum.photos/seed/company-49/200/200",
      "isHiring": true,
      "createdAt": "2014-07-18T08:14:35.071Z"
    },
    {
      "id": 50,
      "name": "Simonis and Sons",
      "slug": "simonis-and-sons-50",
      "description": "Total needs-based core",
      "industryId": 8,
      "headquartersCountryAlpha2": "MY",
      "employeeCount": 44089,
      "foundedYear": 1998,
      "websiteUrl": "https://example.com/companies/simonis-and-sons",
      "logoUrl": "https://picsum.photos/seed/company-50/200/200",
      "isHiring": true,
      "createdAt": "2011-11-14T02:31:23.086Z"
    },
    {
      "id": 51,
      "name": "Jenkins Inc",
      "slug": "jenkins-inc-51",
      "description": "Devolved logistical matrix",
      "industryId": 30,
      "headquartersCountryAlpha2": "GR",
      "employeeCount": 30393,
      "foundedYear": 1972,
      "websiteUrl": "https://example.com/companies/jenkins-inc",
      "logoUrl": "https://picsum.photos/seed/company-51/200/200",
      "isHiring": true,
      "createdAt": "2019-02-02T04:41:39.110Z"
    }
  ],
  "meta": {
    "page": 3,
    "limit": 24,
    "total": 80,
    "totalPages": 4
  },
  "links": {
    "self": "/api/v1/companies?page=3&limit=24",
    "first": "/api/v1/companies?page=1&limit=24",
    "last": "/api/v1/companies?page=4&limit=24",
    "next": "/api/v1/companies?page=4&limit=24",
    "prev": "/api/v1/companies?page=2&limit=24"
  }
}