> ## Documentation Index
> Fetch the complete documentation index at: https://api.tryspecter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get network companies

> Returns all companies where someone in your team's network currently works ordered by number of connections at each company. Each result includes the person IDs of your contacts there.

<Note>
Costs 1 credit per request.
</Note>

## What you need

Your team's LinkedIn network connected to Specter, via the LinkedIn integration in the Specter app. Companies only appear once teammates' connections have synced; until then, this returns an empty list.

## Behaviour

- Results are ordered by the number of network contacts at each company, descending.
- Page through with `page` and `limit`.
- Use `min_connections` to require a minimum number of contacts.

## What you do next

- **Open the company.** Follow `company_id` to [Get company by ID](/api-reference/companies/get-company-by-id).
- **See who you know there.** Get the contacts and their roles with [Get network connections at a company](/api-reference/network/get-network-connections-at-a-company).




## OpenAPI

````yaml /api-ref/bundle_api.yaml get /network/companies
openapi: 3.0.0
info:
  title: Specter API
  termsOfService: https://tryspecter.com/terms/
  contact:
    name: API support
    email: api-support@tryspecter.com
  version: 1.0.0
servers:
  - description: Production
    url: https://app.tryspecter.com/api/v1
security:
  - ApiKeyAuth: []
tags:
  - name: Enrich
    description: >
      Look up a company, person, or investor and, if Specter does not already
      hold it, fetch it on demand. Includes email-based person enrichment.
  - name: Search
    description: |
      Find records across every product from a single plain-English query.
  - name: Companies
    description: >
      Company profiles, funding, headcount, traction, the per-company signals
      and sub-resources attached to a single company, and identifier resolution.
  - name: People
    description: >
      Specter people records: profile data, contact details, and per-person
      lookups for a known person ID.
  - name: Investors
    description: >
      Specter investor records: profile, activity, targeting, funds, portfolio
      companies, and the funding rounds they have participated in.
  - name: Transactions
    description: |
      Transaction detail by ID: funding rounds, acquisitions, and IPOs.
  - name: News Signals
    description: |
      Company-level news signals: by ID, and for a saved list or company search.
  - name: Revenue Signals
    description: >
      Revenue and profitability signals: by ID, by date, and for a saved list or
      company search.
  - name: Talent Signals
    description: |
      Talent signals: by ID and in bulk by ID.
  - name: Investor Interest Signals
    description: |
      Investor interest signals: by ID and in bulk by ID.
  - name: Company Lists
    description: |
      Create, query, and maintain lists of companies, including their results.
  - name: Investor Lists
    description: |
      Create, query, and maintain lists of investors, including their results.
  - name: People Lists
    description: |
      Create, query, and maintain lists of people, including their results.
  - name: Saved Searches
    description: |
      List and delete searches saved via tryspecter.com.
  - name: Company Saved Searches
    description: |
      Details and results for saved company searches.
  - name: People Saved Searches
    description: |
      Details and results for saved people searches.
  - name: Investor Saved Searches
    description: |
      Details and results for saved investor searches.
  - name: Talent Signals Saved Searches
    description: |
      Details and results for saved Talent Signals searches.
  - name: Investor Interest Saved Searches
    description: |
      Details and results for saved Investor Interest Signals searches.
  - name: Network
    description: >
      Your team's LinkedIn network: the people and companies your teammates are
      connected to, and your reach into a given company.
  - name: Account
    description: >
      Organisation-level resources: your team's members, API call logs, and
      credit balance.
paths:
  /network/companies:
    get:
      tags:
        - Network
      summary: Get network companies
      description: >
        Returns all companies where someone in your team's network currently
        works ordered by number of connections at each company. Each result
        includes the person IDs of your contacts there.


        <Note>

        Costs 1 credit per request.

        </Note>


        ## What you need


        Your team's LinkedIn network connected to Specter, via the LinkedIn
        integration in the Specter app. Companies only appear once teammates'
        connections have synced; until then, this returns an empty list.


        ## Behaviour


        - Results are ordered by the number of network contacts at each company,
        descending.

        - Page through with `page` and `limit`.

        - Use `min_connections` to require a minimum number of contacts.


        ## What you do next


        - **Open the company.** Follow `company_id` to [Get company by
        ID](/api-reference/companies/get-company-by-id).

        - **See who you know there.** Get the contacts and their roles with [Get
        network connections at a
        company](/api-reference/network/get-network-connections-at-a-company).
      parameters:
        - $ref: '#/components/parameters/PaginationPage'
        - $ref: '#/components/parameters/PaginationLimit'
        - in: query
          name: min_connections
          schema:
            type: integer
            minimum: 1
            default: 1
          required: false
          description: |
            Only return companies with at least this many network contacts.
      responses:
        '200':
          $ref: '#/components/responses/NetworkCompaniesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/OutOfCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimits'
components:
  parameters:
    PaginationPage:
      in: query
      name: page
      schema:
        type: number
      required: false
      description: The page number of results to return, base 0, default is 0.
    PaginationLimit:
      in: query
      name: limit
      schema:
        type: number
      required: false
      description: The number of results to return, default is 50.
  responses:
    NetworkCompaniesResponse:
      description: List of companies in your team's network.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/NetworkCompany'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/ApiKeyMissing'
              - $ref: '#/components/schemas/ApiKeyNotValid'
    OutOfCredits:
      description: Out of credits - API credit limit exceeded
      content:
        application/json:
          schema:
            type: object
            required:
              - errorCode
              - message
            properties:
              errorCode:
                type: string
                enum:
                  - OUT_OF_CREDITS
              message:
                type: string
                description: |
                  There are no more credits available to complete the request.
      headers:
        X-CreditLimit-Limit:
          schema:
            type: integer
          description: The total number of credits allocated for the current period
        X-CreditLimit-Remaining:
          schema:
            type: integer
          description: The number of credits remaining for the current period
        X-CreditLimit-Reset:
          schema:
            type: number
            format: float
          description: The number of seconds until the credit limit resets
    Forbidden:
      description: Forbidden - There is no permissions to use the endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              errorCode:
                description: NOT_PERMITTED
                type: string
                example: NOT_PERMITTED
              message:
                type: string
                description: You do not have permission to access this resource.
                example: You do not have permission to access this resource.
            required:
              - errorCode
              - message
    RateLimits:
      description: Too Many Requests - API Rate limit exceeded
      content:
        application/json:
          schema:
            type: object
            required:
              - errorCode
              - message
            properties:
              errorCode:
                type: string
                description: RATE_LIMITED
              message:
                type: string
                description: You have been rate-limited
      headers:
        X-RateLimit-Limit:
          schema:
            type: integer
          description: The total rate limit allowed for this endpoint
        X-RateLimit-Remaining:
          schema:
            type: integer
          description: The number of requests remaining
        X-RateLimit-Reset:
          schema:
            type: number
            format: float
          description: The number of seconds until the rate limit resets
  schemas:
    NetworkCompany:
      title: NetworkCompany
      type: object
      description: >
        A company where one or more people in your team's network currently
        work. Use `GET /v1/companies/{company_id}` for the full company profile.
      additionalProperties: false
      required:
        - company_id
        - connection_count
        - connected_person_ids
      properties:
        company_id:
          description: >-
            The Specter company id. Use with `GET /v1/companies/{company_id}` to
            fetch the full profile.
          type: string
          example: 5e3a8f9f040ca7b0c6f29438
        connection_count:
          description: >
            Number of distinct people in your team's network who currently work
            at this company.
          type: integer
          example: 189
        connected_person_ids:
          description: >
            Specter person ids of the people in your network who currently work
            at this company. Use each with `GET /v1/people/{person_id}`.
          type: array
          items:
            type: string
          example:
            - per_8869906e5759b1f0b07fc847
            - per_f77220602055869e0ea206a1
            - per_a8b8758c3fcc74961a12818c
            - per_08b5c46ca5aa04d6926c5ed7
            - per_ad00e6950d2ed6be393fc5d9
            - per_ba4bdcc5380bda820ed27e4d
            - per_9642639282de2e3a2bfd4d4f
            - per_5cb74ffcf95387f0ec986fcf
            - per_e27934b70e7d16adfd15fd22
            - per_fb43dbfe0b2e80d1cfbd941d
    ApiKeyMissing:
      properties:
        errorCode:
          description: API_KEY_MISSING
          example: API_KEY_MISSING
          type: string
        message:
          description: No API Key was presented on the header X-API-KEY
          example: No API Key was presented on the header X-API-KEY
          type: string
    ApiKeyNotValid:
      properties:
        errorCode:
          description: API_KEY_NOT_VALID
          example: API_KEY_NOT_VALID
          type: string
        message:
          description: API key present, but not valid
          example: API key present, but not valid
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````