Skip to main content
GET
https://api.pricingsaas.com
/
functions
/
v1
/
api
/
companies
Companies API
curl --request GET \
  --url https://api.pricingsaas.com/functions/v1/api/companies \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "name": "Slack",
      "slug": "slack",
      "category": "Communication",
      "employees": "10000+",
      "url": "https://slack.com",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": 2,
      "name": "Notion",
      "slug": "notion",
      "category": "Productivity",
      "employees": "1000-5000",
      "url": "https://notion.so",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "total": 1500,
    "page": 1,
    "limit": 10,
    "has_more": true
  }
}

List Companies

Retrieve a paginated list of B2B SaaS companies.
Search companies by name (partial match, case-insensitive)
category
string
Filter by business category (e.g., “Communication”, “Productivity”)
employees
string
Filter by employee count rangeValid values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10000+
limit
integer
default:"20"
Number of results per page (1-100)
page
integer
default:"1"
Page number for pagination
sort
string
default:"name:asc"
Sort field and directionFormat: field:directionValid fields: name, created_at, employeesValid directions: asc, desc

Request

cURL
curl -X GET "https://api.pricingsaas.com/functions/v1/api/companies?limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

data
array
Array of company objects
pagination
object
Pagination metadata
{
  "data": [
    {
      "id": 1,
      "name": "Slack",
      "slug": "slack",
      "category": "Communication",
      "employees": "10000+",
      "url": "https://slack.com",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": 2,
      "name": "Notion",
      "slug": "notion",
      "category": "Productivity",
      "employees": "1000-5000",
      "url": "https://notion.so",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "total": 1500,
    "page": 1,
    "limit": 10,
    "has_more": true
  }
}

Get Company by Slug

Retrieve detailed information about a specific company, including all active pricing pages.
slug
string
required
Company slug (URL-friendly identifier)

Request

cURL
curl -X GET "https://api.pricingsaas.com/functions/v1/api/companies/slack.com" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

pages
array
Array of active pricing pages for this company
{
  "id": "uuid-here",
  "name": "Slack",
  "slug": "slack.com",
  "category": "Communication",
  "employees": "10000+",
  "url": "https://slack.com",
  "logo_url": "https://...",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-15T10:30:00Z",
  "pages": [
    {
      "subslug": "pricing",
      "pricing_page_url": "https://slack.com/pricing"
    },
    {
      "subslug": "",
      "pricing_page_url": "https://slack.com/pricing-overview"
    }
  ]
}

Query Examples

Search by Name

curl "https://api.pricingsaas.com/functions/v1/api/companies?search=slack" \
  -H "Authorization: Bearer YOUR_API_KEY"

Filter by Category

curl "https://api.pricingsaas.com/functions/v1/api/companies?category=Communication" \
  -H "Authorization: Bearer YOUR_API_KEY"

Filter by Employee Count

curl "https://api.pricingsaas.com/functions/v1/api/companies?employees=10000%2B" \
  -H "Authorization: Bearer YOUR_API_KEY"

Combine Filters

curl "https://api.pricingsaas.com/functions/v1/api/companies?category=Productivity&employees=51-200&limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sort Results

# Newest companies first
curl "https://api.pricingsaas.com/functions/v1/api/companies?sort=created_at:desc" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Largest companies first
curl "https://api.pricingsaas.com/functions/v1/api/companies?sort=employees:desc" \
  -H "Authorization: Bearer YOUR_API_KEY"

Pagination

# Page 1
curl "https://api.pricingsaas.com/functions/v1/api/companies?limit=50&page=1" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Page 2
curl "https://api.pricingsaas.com/functions/v1/api/companies?limit=50&page=2" \
  -H "Authorization: Bearer YOUR_API_KEY"

Available Categories

The API supports these business categories:
  • Communication - Team chat, video conferencing
  • Productivity - Project management, note-taking
  • Development - Developer tools, CI/CD, version control
  • Marketing - Email marketing, social media, analytics
  • Sales - CRM, sales engagement
  • Customer Support - Help desk, live chat
  • Finance - Accounting, billing
  • HR - Recruiting, payroll

Employee Count Ranges

Valid employee count filter values:
RangeDescription
1-10Micro companies
11-50Small companies
51-200Medium-small companies
201-500Medium companies
501-1000Medium-large companies
1001-5000Large companies
5001-10000Very large companies
10000+Enterprise companies
Remember to URL-encode the + character as %2B when using 10000+ in query parameters

Code Examples

const API_KEY = process.env.PRICINGSAAS_API_KEY;

async function getCompanies(filters = {}) {
  const params = new URLSearchParams(filters);
  const url = `https://api.pricingsaas.com/functions/v1/api/companies?${params}`;

  const response = await fetch(url, {
    headers: {
      'Authorization': `Bearer ${API_KEY}`
    }
  });

  if (!response.ok) {
    throw new Error(`HTTP ${response.status}: ${response.statusText}`);
  }

  return response.json();
}

// Usage
const companies = await getCompanies({
  category: 'Communication',
  employees: '10000+',
  limit: 20
});