cURL
curl --request GET \ --url https://api.leadmagic.io/job-country \ --header 'X-API-Key: <api-key>'
[ { "id": "AL", "name": "Albania" }, { "id": "DZ", "name": "Algeria" }, { "id": "AD", "name": "Andorra" }, { "id": "AO", "name": "Angola" }, { "id": "AG", "name": "Antigua and Barbuda" } ]
Use this API to retrieve the country ID, which can then be used in the Jobs Finder API to filter jobs by country.
Your LeadMagic API key. Header name is case-insensitive (X-API-Key, X-API-KEY, x-api-key all work).
Successful response with country list
[ { "id": "AL", "name": "Albania" }, { "id": "DZ", "name": "Algeria" }, { "id": "AD", "name": "Andorra" }, { "id": "AO", "name": "Angola" }, { "id": "AG", "name": "Antigua and Barbuda" }]
Was this page helpful?