---
title: "Holdings"
description: "List a firm's portfolio companies, and whether your credential can read each company's private metrics."
---

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

# Holdings

`GET /v2/entities/{id}/holdings` lists the companies in a firm's portfolio, from the firm's existing portfolio links. It carries no valuation, IRR, MOIC or fund accounting.

## List a firm's holdings

```sh
curl -sS "https://api.sureshake.com/v2/entities/$SURESHAKE_ENTITY_ID/holdings" \
  -H "Authorization: Bearer $SURESHAKE_TOKEN"
```

**Auth:** an API key with **Read** permission or a session, if you own the firm or are a current team member of it; or a firm token with `portfolio:read`, for its own firm only, even where its owner runs another firm.

```json
{
  "data": [
    {
      "companyEntityId": "a5ab5687-a45b-4679-b05e-7989dcee8a68",
      "name": "Acme Robotics",
      "slug": "acme-robotics",
      "website": "https://acme.example",
      "fund": null,
      "access": "public_only",
      "linkState": "shown"
    }
  ],
  "meta": { "total": 1, "limit": 1, "offset": 0, "hasMore": false }
}
```

| Field             | Notes                                                                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `companyEntityId` | The company's ID, for use in other calls. `null` when the link has no Sureshake company behind it                                                 |
| `name`            | The company's name                                                                                                                                |
| `slug`            | Slug of the company's published Sureshake page, or `null`                                                                                         |
| `website`         | The company's website, or `null`                                                                                                                  |
| `fund`            | The firm's own label, or `null`. Only the firm can see it, and an administrator sets it with `PATCH /v2/entities/{id}/holdings/{companyEntityId}` |
| `access`          | `private` if this credential can read the company's private [metrics](/developers/metrics/#who-can-read-what), otherwise `public_only`            |
| `linkState`       | `shown` on the firm's public page, `hidden` by the firm, or `pending` review                                                                      |

`access` comes from the same decision `GET /v2/metrics` makes, so the two agree. `public_only` doesn't mean the company has public figures, only that you won't see private ones. The list returns everything at once, so it has no paging parameters.

## Errors

| Status | `error.code`             | When                                                                                   |
| ------ | ------------------------ | -------------------------------------------------------------------------------------- |
| 400    | `FST_ERR_VALIDATION`     | `{id}` isn't a valid ID                                                                |
| 401    | `UNAUTHORIZED`           | No valid credential                                                                    |
| 403    | `FORBIDDEN`              | You aren't on this firm's team, a firm token named another firm, or it lacks the scope |
| 429    | `TOO_MANY_REQUESTS`      | Over the limit of 120 requests per minute for each credential                          |
| 503    | `DEPENDENCY_UNAVAILABLE` | Portfolio links couldn't be read. Retry with backoff                                   |

Source: https://docs.sureshake.com/developers/holdings/index.mdx
