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

Last updated