In this page we want to guide you about how to get Google Search Results from anywhere in Malta. Currently, we support 5 places which means you can get Google Search results from 5 different location in Malta via our SERP API for Malta
Google operates its job in more than 150 countries around the globe and offers a unique "google domain" for each countries. For instance if you want to get search results from Malta you need to pass google_domain as parameter to our API.
In order to use our service, you need a valid API Key that we generated for you with free credits so that you test our service before deciding. If you are not our member please click here to create your account and obtain your API Key. After you pass your key to the API URL, It will look like this
https://api.avesapi.com/search?apikey=XXXXXXX&type=web
type=web parameter means we want to get Google Web Search results from Malta and we use this as default.
https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza
Query parameter is mandatory. This represents what are you looking for at Google. So add your query parameter to SERP API as query=pizza. You will be searching pizza term in Google Web results and your API request will look like this
Once you pass the parameter google_domain=google.com.mt the API URL will look like thishttps://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt
In addition to google_domain parameter you need to specify gl code for the country which you want to get results from. In this case, you should add gl=mt parameter to obtain search results in Malta. So your API URL will look like this https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt&gl=mt
Our crawler is ready for scraping Google search results from anywhere in Malta randomly since we have not provided the location yet!
If your business requires the results with the used language of the country you can use hl parameter to do so. According to our use case we need to provide hl=mt parameter. By doing so, your Google search results will be bil-Malti. Example SERP API URL will be like this below;
https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt&gl=mt&hl=mt
Google results may varies regarding your device you use. For this reason you should pay attention in which device you desire to get results such as desktop or mobile. If you don't provide device our crawler use desktop result as default. To scrape result by specific device please add device=desktop or device=mobile parameter to our SERP API URL. So It will look like this
https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt&gl=mt&hl=mt&device=desktop
While scraping Google search results, the output format is an important factor in order to integrate your solutions. We support 2 types of output format as JSON or HTML. If you want to get result as JSON you should add output=json or you need HTML result then use output=html. For example, SERP API URL will look like this with json output.
https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt&gl=mt&hl=mt&device=desktop&output=json
By default, Google returns 10 results for each query. Some of the query may have different SERP features such as video, image, twitter as well. If you have your own rank tracker 10 results will not be enough. Somehow you should visit other pages regarding the query. At this point, we offer our customers to num parameter and you can get Top-100 results which means the results of first 10 pages by adding num=100 at the end of the API URL.
https://api.avesapi.com/search?apikey=XXXXXXX&type=web&query=pizza&google_domain=google.com.mt&gl=mt&hl=mt&device=desktop&output=json&num=100