Skip to main content

Base URL

All API requests should be made to:
https://api.pricingsaas.com/functions/v1

Authentication

All requests require authentication via Bearer token:
Authorization: Bearer YOUR_API_KEY
See Authentication for details.

Response Format

All responses are returned in JSON format with this structure:
{
  "data": [...],          // Response data (array or object)
  "pagination": {...}     // Pagination metadata (for list endpoints)
}

Available Endpoints

Interactive API Reference

For a complete interactive API reference with all endpoints, parameters, and live testing:

Full API Reference (Scalar)

View the complete OpenAPI specification with interactive examples

OpenAPI Specification

Access the raw OpenAPI spec:
https://api.pricingsaas.com/functions/v1/api/openapi.json
This can be imported into:
  • Postman
  • Insomnia
  • Swagger UI
  • Any OpenAPI-compatible tool

Common Request Patterns

List Resources

GET /api/companies?limit=20&page=1

Search Resources

GET /api/companies?search=slack

Filter Resources

GET /api/companies?category=Communication&employees=10000+

Get Single Resource

GET /api/companies/{slug}

Rate Limiting

All endpoints are subject to rate limits. See Rate Limits for details.

Quick Reference

Companies Endpoint

MethodEndpointDescription
GET/api/companiesList all companies
GET/api/companies/{slug}Get company by slug

Common Query Parameters

ParameterTypeDescription
searchstringSearch by name
categorystringFilter by category
employeesstringFilter by employee count
limitintegerResults per page (max 100)
pageintegerPage number
sortstringSort field and direction

Next Steps