Skip to main content

Scorecards

Scorecards are retrieved using the Beagle company ID. This returns all scorecards issued for that company.

You can optionally filter scorecards using updated_after in ISO 8601 format. To download the underlying scorecard document, use the Beagle scorecard ID. The API returns an authenticated download URL that expires after 24 hours.


Endpoints​

MethodPathPurpose
GET/api/companies/{company_id}/scorecardsRetrieve all scorecard data for a company. Does not consume credits.
GET/api/scorecards/{scorecard_id}/downloadConsume one Beagle Bundle credit and return a signed download URL.
Authentication

Include the following headers on every request:

  • Authorization: Basic <base64_encoded_credentials>
  • Accept: application/json

See Authentication.


Attributes​

Scorecard Fields​

FieldTypeDescription
idstringBeagle scorecard identifier.
black_ownershipstringBlack ownership percentage.
black_female_ownershipstringBlack female ownership percentage.
certificate_numberstring | nullCertificate number, if available.
company_sizestringCompany size classification (e.g. QSE, Generic).
levelintegerB-BBEE level.
overall_scorestring | nullOverall B-BBEE score.
valid_untilstringCertificate validity date (YYYY-MM-DD).
value_adding_supplierstring | nullValue-adding supplier status.
reviewedbooleanWhether the scorecard has been reviewed.
revokedbooleanWhether the scorecard has been revoked.
measured_understringCharter/code measured under (e.g. CoGP).
empoweringbooleanWhether the entity is empowering.
designated_group_black_ownershipstringDesignated group black ownership percentage.
updated_atdatetimeLast update timestamp.
verification_agencystringName of the verification agency.
vat_numberstringVAT number of the scored company.

Download Response Fields​

FieldTypeDescription
scorecard_idstringBeagle scorecard identifier.
download_urlstringSigned URL for downloading the scorecard document. Expires after 24 hours.
credits_remainingintegerNumber of Beagle Bundle credits remaining.
credit_consumedstringWhether a credit was consumed ("yes" or "no").

Notes​

  • Download requests consume Beagle Bundle credits.
  • Repeated requests for the same scorecard download do not consume additional credits for up to 30 days from the first request.
  • Signed download_url links expire after 24 hours.
  • The updated_after query parameter accepts ISO 8601 format (e.g. 2025-05-11T00:00:00Z).

List scorecards for a company​

Retrieve all scorecards issued for a company. Does not consume credits.

GET /api/companies/{company_id}/scorecards

Path parameters​

NameTypeRequiredDescription
company_idstringyesThe Beagle company identifier (from the Companies API).

Query parameters​

NameTypeRequiredDescription
updated_afterstringnoFilter to scorecards updated after this date (ISO 8601).

Code examples​

curl -X GET "https://www.beagledatabase.co.za/api/companies/9olRro/scorecards?updated_after=2025-05-11T00:00:00Z" \
-u "<your username>:<your password>" \
-H "Accept: application/json"

Response​

[
{
"id": "YkJTmr",
"black_ownership": "0.0",
"black_female_ownership": "0.0",
"certificate_number": null,
"company_size": "QSE",
"level": 2,
"overall_score": null,
"valid_until": "2026-04-01",
"value_adding_supplier": null,
"reviewed": true,
"revoked": false,
"measured_under": "CoGP",
"empowering": false,
"designated_group_black_ownership": "0.0",
"updated_at": "2025-09-11T06:40:29.000Z",
"verification_agency": "ABC Verification",
"vat_number": "412345678"
}
]

Download a scorecard​

Consume one Beagle Bundle credit and receive a signed download URL for the scorecard document.

GET /api/scorecards/{scorecard_id}/download

Path parameters​

NameTypeRequiredDescription
scorecard_idstringyesThe Beagle scorecard identifier.

Code examples​

curl -X GET "https://www.beagledatabase.co.za/api/scorecards/L5lTaY/download" \
-u "<your username>:<your password>" \
-H "Accept: application/json"

Response​

{
"scorecard_id": "YZgTZL",
"download_url": "www.beagledatabase.co.za/scorecards/YZgTZL?token=fbb664416297fee5313&expiry=1757670666",
"credits_remaining": 9,
"credit_consumed": "yes"
}