The Companies API LogoThe Companies API Logo
APIUse casesPricingCompanies
LoginLogin
Get started
Authentication
Errors
Rate limits
Webhooks
Datapoints
Companies
Enrich from domain
Enrich from email
Enrich from social network
Count companies
Search companies
Search by name
Search by prompt
Search similar
Ask company
Fetch context
Find email patterns
Fetch analytics
Export analytics
Industries
Search industries
Find similar industries
Lists
Fetch lists
Create list
Fetch companies
Toggle companies
Locations
Search cities
Search counties
Search countries
Search states
Search continents
Actions
Request action
Fetch actions
Teams
Fetch team
Technologies
Search technologies
Utilities
API health
OpenAPI spec
Get started
Authentication
Errors
Rate limits
Webhooks
Datapoints
Companies
Enrich from domain
Enrich from email
Enrich from social network
Count companies
Search companies
Search by name
Search by prompt
Search similar
Ask company
Fetch context
Find email patterns
Fetch analytics
Export analytics
Industries
Search industries
Find similar industries
Lists
Fetch lists
Create list
Fetch companies
Toggle companies
Locations
Search cities
Search counties
Search countries
Search states
Search continents
Actions
Request action
Fetch actions
Teams
Fetch team
Technologies
Search technologies
Utilities
API health
OpenAPI spec

Fetch OpenAPI specification

Retrieve our OpenAPI specification to explore our API's endpoints, parameters, and responses.
GET
https://api.thecompaniesapi.com/v2/openapi
Free

The OpenAPI Specification is a standard, language-agnostic format for describing RESTful APIs, enabling both humans and machines to understand how to interact with a service.

Signup to access all our API features

Get your 500 free credits and start enriching and searching companies.

No credit card required

Response schema
componentsobject

Reusable components used across the API specification.

externalDocsobject

Additional external documentation.

infoobject

Metadata about the API.

openapistring

The version of the OpenAPI specification.

pathsobject

The available paths and operations for the API.

serversarray

An array of server objects, which provide connectivity information to a target server.

webhooksobject

Incoming webhooks that may be received as part of this API.

Code examples
Select your favorite language:
Go
SDK

JavaScript
SDK

PHP
SDK

Python
SDK

import createClient from '@thecompaniesapi/sdk'

const tca = createClient({ apiToken: 'YOUR_API_TOKEN' })

const response = await tca.fetchOpenApi()

const openapi = response.data // The OpenAPI specification

Fetch API Health

Check the health status of our API and its various services.

Getting Started

Supercharge your product features and marketing with The Companies API.

A glowing background image to highlight the titleA glowing background image to highlight the title
© 2025 The Companies API
  • Updates
  • Terms
  • Privacy
  • FAQ
  • Status

Fast-growing SaaS companies with remote teams