cURL
curl --request GET \ --url https://spideriq.di-atomic.com/api/v1/locations/countries \ --header 'Authorization: Bearer <token>'
{ "countries": [ { "country_code": "<string>", "country_name": "<string>", "location_count": 123 } ], "total": 123 }
Get list of all countries with location counts
Show Country Properties
curl https://spideriq.di-atomic.com/api/v1/locations/countries \ -H "Authorization: Bearer <your_token>"
{ "countries": [ { "country_code": "AF", "country_name": "Afghanistan", "location_count": 58 }, { "country_code": "AL", "country_name": "Albania", "location_count": 35 }, { "country_code": "DZ", "country_name": "Algeria", "location_count": 156 }, { "country_code": "DE", "country_name": "Germany", "location_count": 2108 }, { "country_code": "FR", "country_name": "France", "location_count": 1140 } ], "total": 240 }