Skip to main content
GET
/
tprm
/
companies
List TPRM Companies
curl --request GET \
  --url https://api.leen.dev/v1/tprm/companies \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "domain": "<string>",
      "score": {
        "rating": 123,
        "grade": "<string>",
        "factors": []
      },
      "industry": "<string>",
      "size": "<string>",
      "date_added": "2023-11-07T05:31:56Z",
      "compliance_claimed": [
        {
          "standard": "<string>",
          "last_updated_at": "2023-11-07T05:31:56Z"
        }
      ],
      "vendor_attributes": {},
      "related_portfolios": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "updated_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>",
  "previous_cursor": "<string>"
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Query Parameters

sort
string | null
company_ids
string | null

Filter by company_id (comma-separated list, e.g., 'id_1,id_2')

date_added
string<date-time> | null

Filter by companies date added after this date

updatedSince
string<date-time> | null

Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

cursor
string | null

Skip token to continue from the last item in the previous page

limit
integer
default:100

Limit size (page size)

Required range: x >= 0
use_pool
boolean
default:true

Response

Successful Response

items
TPRM Company · object[]
required

List of items returned in the response

next_cursor
string | null

Skip token to continue from the last item in the previous page

previous_cursor
string | null

Skip token to continue from the first item in the previous page

I