The geolocation request allows you to select a specific country for the request to originate from. Our Web Scraping API will select a proxy in the backend depending on the selected country.
See [[Supported countries|here]] for a list of supported countries.
## Example request
Below we are showing an example request and response using Belgium as the target country.
Request:
```markdown
POST https://api.proxyscrape.com/v3/accounts/freebies/scraperapi/request HTTP/1.1
Request headers:
Content-Type: application/json
X-Api-Key: <your api key>
Request body:
{
"url": "https://ipinfo.io/json",
"browserHtml": true,
"geolocation": "BE"
}
```
Response:
```markdown
{
"success": true,
"used_credits": 40,
"remaining_credits": 1049590,
"scrape_id": "7d3b656f-fbce-4857-803c-cf1739c704e1",
"data": {
"url": "https://ipinfo.io/json",
"statusCode": 200,
"browserHtml": "<html><head><meta name=\"color-scheme\" content=\"light dark\"></head><body><pre style=\"word-wrap: break-word; white-space: pre-wrap;\">{\n \"ip\": \"185.18.148.192\",\n \"hostname\": \"hosted-by.fusa.be\",\n \"city\": \"Oostkamp\",\n \"region\": \"Flanders\",\n \"country\": \"BE\",\n \"loc\": \"51.1543,3.2313\",\n \"org\": \"AS42160 DC STAR nv\",\n \"postal\": \"8020\",\n \"timezone\": \"Europe/Brussels\",\n \"readme\": \"https://ipinfo.io/missingauth\"\n}</pre></body></html>"
}
}
```