Get Countries
AI-generatedSummary
Fetches the list of countries available in the S.C.A.L.A. Score company database, with company counts per country, via a GET request to /api/score/countries.
Inputs
- Operation (required) — Must be set to 'Get Countries' (value 'countries'). This operation has no other parameters.
Output shape
One n8n item per array entry if the API response contains an array under results, companies, or data. Otherwise a single item containing the whole response object.
The exact fields of each country entry are not defined in the node source; they depend on the API response. The request runs once per input item, so multiple input items produce repeated calls and repeated output. Requires the scalaScoreApi credential (base URL and API key, sent as X-API-Key). The source does not show whether the call consumes credits.
Examples
Example 1: Discover which country codes can be used before searching for companies.
Operation: Get Countries; run once with a single trigger item and use the returned country codes to populate the Country field of a Search Companies node.
Example 2: Report on database coverage by country.
Operation: Get Countries; pipe the output into a Sort or Spreadsheet node to export company counts per country.