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

# List companies

> Retrieve a paginated list of companies in your account. The response includes company details and pagination information.

This endpoint returns a paginated list of companies associated with your account. Each company object includes its attributes, relationships, and metadata.

## Query parameters

<ParamField query="limit" type="number" default="20">
  Specifies the maximum number of items to return in a single response. The value must be between 1 and 100. If not specified, defaults to 20 items per page.
</ParamField>

<ParamField query="cursor" type="string">
  Specifies the starting point for the next page of results. The response will include items that come after (but not including) the object with this ID. To get the next page, use the ID of the last item from your previous request. The easiest way is to use the [list object's](#the-list-object) cursor field. If not provided, the API will return items from the beginning of the list.
</ParamField>

<ParamField path="expand" type="string | string[]">
  See [Expanding objects](/api-reference/expanding-objects). Available options:

  * `memberships`: Include basic membership data for each company
  * `memberships.user`: Include both membership and associated user details
  * `users`: Include all users associated with the company
  * You can request multiple expansions: `expand[]=memberships&expand[]=users`
</ParamField>

## Response

Returns a [list object](/api-reference/pagination#the-list-object) containing an array of [company objects](/api-reference/companies/model) in the `results` property. The response includes pagination information in the `next` and `previous` fields.

<RequestExample>
  ```bash Request theme={null}
  curl https://api.usertour.io/v1/companies \
  -H 'Authorization: Bearer ak_123456789' \
  -H 'Content-Type: application/json'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "results": [
      {
        "id": "comp_123456789",
        "object": "company",
        "attributes": {
          "name": "Acme Corp",
          "domain": "acme.com",
          "industry": "Technology",
          "size": "100-500",
          "created_at": "2024-03-20T08:30:00.000Z"
        },
        "createdAt": "2024-03-20T08:30:00.000Z",
        "updatedAt": "2024-03-20T08:30:00.000Z"
      },
      {
        "id": "comp_987654321",
        "object": "company",
        "attributes": {
          "name": "TechStart Inc",
          "domain": "techstart.io",
          "industry": "Software",
          "size": "50-100",
          "created_at": "2024-03-19T15:45:00.000Z"
        },
        "createdAt": "2024-03-19T15:45:00.000Z",
        "updatedAt": "2024-03-19T15:45:00.000Z"
      }
    ],
    "next": "/v1/companies?limit=2&cursor=comp_987654321",
    "previous": null
  }
  ```
</ResponseExample>
