DocumentationAPI DetailsScrape URLGeotargeting

Using Proxy Geotargeting

This example shows how to make a request with or without a browser from an IP address that will appear as though the request is being made from a specific country and/or city.

To make use of geotargeting, simply set the proxyCountry parameter to the country ISO 3166-1 alpha-3 code and optionally the proxyCity parameter if you want a more specific location in that country. To get a list of available country and city codes that can be used at any point in time, please refer to the Available Country List and the Available City List API calls.

When supplying a proxy country and/or city, the proxyType parameter is mandatory. Data Center Proxies have limited options compared to Residential Proxies. Please check if the country you would like the request to come from is available when using data centers.

Example Request (Australia)

GET https://api.scrapi.tech/v1/scrape?url=http://ip-api.com/json&proxyType=Residential&proxyCountry=AUS

POST https://api.scrapi.tech/v1/scrape

{
  "url": "http://ip-api.com/json",
  "proxyType": "Residential",
  "proxyCountry": "AUS"
}

If you want to target a specific city in a country then you can use the proxyCity parameter in combination with the proxyCountry parameter.

Example Request (Australia - Melbourne)

GET https://api.scrapi.tech/v1/scrape?url=http://ip-api.com/json&proxyType=Residential&proxyCountry=AUS&proxyCity=Melbourne

POST https://api.scrapi.tech/v1/scrape

{
  "url": "http://ip-api.com/json",
  "proxyType": "Residential",
  "proxyCountry": "AUS",
  "proxyCity": "Melbourne"
}

Testing

If you want to test this request or a variation of it, head to the Playground or the OpenAPI page.