Main Site HUB Security Scorecard API 6.5 Get A List of all the companies in a portfolio

HUB

6.5 Get A List of all the companies in a portfolio

Get A List of all the companies in a portfolio

SecurityScorecard allows you to manage the companies you have in portfolio via an API. You can add and remove companies from a portfolio as well as get a list of all companies in a portfolio. This API endpoint allows you to get a list of all the companies in a portfolio. You can check out the full specification for this endpoint here.

Resource URI

/portfolios/{portfolio_id}/companies

Parameters:

Name Required Description
Portfolio ID Y The ID of the portfolio for which you want to generate this report

Sample Code:


            curl -X GET \
                https://api.securityscorecard.io/portfolios/5d55b74ab9989f0022b0d2b4/companies \
                -H 'Accept: application/json' \
                -H 'Authorization: Token <Your API Key>' \
                -H 'Content-Type: application/json' \
                -H 'cache-control: no-cache'
        

Sample Response:


{
    "entries": [
        {
            "domain": "ovofinance.com",
            "grade": "D",
            "grade_url": "https://s3.amazonaws.com/ssc-static/grades/factor_d.svg",
            "industry": "technology",
            "is_custom_vendor": false,
            "last30days_score_change": -1,
            "name": "IBM",
            "score": 67,
            "size": "size_more_than_10000"
        },
        {
            "domain": "acmecorp.com",
            "grade": "F",
            "grade_url": "https://s3.amazonaws.com/ssc-static/grades/factor_f.svg",
            "industry": "technology",
            "is_custom_vendor": false,
            "last30days_score_change": 0,
            "name": "Acme Corp",
            "score": 53,
            "size": "size_more_than_10000"
        },
        {
            "domain": "springfieldbank.com",
            "grade": "B",
            "grade_url": "https://s3.amazonaws.com/ssc-static/grades/factor_b.svg",
            "industry": "information_services",
            "is_custom_vendor": false,
            "last30days_score_change": 2,
            "name": "Springfield Bank",
            "score": 81,
            "size": "size_1001_to_5000"
        }
    ],
    "total": 3
}