Our 'countrycodes' API parameter will limit search results to a specific country or a comma-separated list of countries. Parameter needs the ISO 3166-1 alpha-2 code(s). Example:


CodeCountry
deGermany
gbUnited Kingdom
usUnited States of America


API call example for 'Lincoln Street'. Without countrycodes parameter: 


https://us1.locationiq.com/v1/search?key=APIKEY&format=json&q=lincoln%20street


With countrycodes parameter filtered to places in the United States: 


https://us1.locationiq.com/v1/search?key=APIKEY&format=json&q=lincoln%20street&addressdetails=1&countrycodes=us