HomeIP Documentation
  • Residential Proxies
    • Getting Started
    • Making Requests
    • Location Settings
      • Country
      • City
      • State
  • Session Control
  • Sticky Proxy Entry Nodes
  • Protocols
Powered by GitBook
On this page
  1. Residential Proxies
  2. Location Settings

State

If you're aiming to focus your requests on a specific state within the US, the state flag in the authorization string is your tool. By combining the state flag with the city parameter, you can achieve a granular level of targeting.

Examples of Valid state and city Combinations:

  • California, Los Angeles: state=california+city=los_angeles

  • Illinois, Springfield: state=illinois+city=springfield

  • Michigan, Detroit: state=michigan+city=detroit

  • Ohio, Columbus: state=ohio+city=columbus

  • Maine, Portland: state=maine+city=portland

  • Tennessee, Memphis:state=tennessee+city=memphis

Code example

In this example, a query to ip.homeip.io is performed from a random IP address from California, USA:

curl -x pr.homeip.io:7777 -U "username=USERNAME+country=us+state=california:PASSWORD" http://ip.homeip.io
PreviousCityNextSession Control

Last updated 1 year ago