cURL
curl --request GET \ --url https://api.leadmagic.io/v1/jobs/countries \ --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.
Successful response with country list
The response is of type object[].
object[]
Was this page helpful?