Skip to main content
GET
/
v2
/
transit-hub
/
risk-scores
Get Risk Scores
curl --request GET \
  --url https://api.example.com/v2/transit-hub/risk-scores \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "pathogen": "<string>",
      "iata_code": "<string>",
      "latitude": "<string>",
      "longitude": "<string>",
      "iso2_country": "<string>",
      "origin_score": "<string>",
      "destination_score": "<string>",
      "file_date": "<string>",
      "run_timestamp": "<string>",
      "output_version": "<string>"
    }
  ],
  "has_more": true,
  "next_page": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
string | null

A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

num
integer
default:100

Maximum number of records will be returned by the API call. The maximum acceptable value is 1000

pathogen_name
string | null

Optional pathogen name to filter risk scores by. If not provided, all risk scores are returned.

Response

Successful Response

data
RiskScore · object[]
required
has_more
boolean
required
next_page
string | null