Query with Geographic Location

This documentation explains how to use the uule parameter with the SERP API to specify a geographic location for your search. This can be helpful for getting location-specific search results.

Parameter for Geographic Location

The SERP API provides an optional parameter for specifying the geographic location:

  • uule (Optional): This parameter is the Google-encoded location you want to use for the search. You can generate a UULE value using the UULE Generator tool. The UULE represents a geographic location, such as a city or region.

Generating UULE

When working with the SERP API and you want to obtain location-specific search results, you can use a UULE parameter. This parameter represents a specific geographic location, allowing you to customize your API requests. This guide will walk you through the process of generating a UULE parameter using the site-analyzer.pro website.

Step 1: Visit the UULE Generator Website

Go to the UULE Generator website.

Step 2: Enter Your Desired Location

On the UULE Generator webpage, you'll find an input field or form where you can specify your desired geographic location. Enter the name of the city, region, or location you want to use for your search.

Step 3: Generate the UULE

Click on the "Generate" button or similar action on the website. The tool will process your input and generate a UULE value associated with the specified location.

Step 4: Copy the Generated UULE

Once the UULE has been generated, you'll typically see it displayed on the website interface. It may appear as a string of characters. Click on the UULE or use a provided button to copy it to your clipboard.

Step 5: Use the Generated UULE in Your API Request

Alt text

Alternatively

Using the uule Parameter

To customize your SERP API request with a specific geographic location, include the uule parameter in your GET request. Here's an example using various programming languages:

  • Bash

  • Javascript

  • Python

  • Go

Also, you can just write area, city or a country and we will automatically convert it into UULE

  • Bash

  • Javascript

  • Python

  • Go

API Response

The API will respond with a JSON object containing the search results. Here is an example of the response:

Previous

Last updated