Check IP
Look up the profile's public IP with its country, region, city, timezone and network.
Only in
WarpX Browser
Check IP finds out the address the profile goes out from, as sites see it: through its proxy. Use it to confirm a proxy works and is in the right country before signing in, or to record which IP each account used.
Settings
- Description
A note shown on the block in the canvas.
ExampleProxy country- Assign to variable
Store the result in a variable.
ExampleChecked- Variable namewhen Assign to variable is ticked
The variable that receives it.
ExampleipInfo- Insert to table
Write the IP address alone into a column of the workflow's table. Only offered once the table has columns.
ExampleUnchecked- Select columnwhen Insert to table is ticked
The column that receives the IP.
Exampleip
Every block also has the shared block settings — a description, Disable block and what to do on an error. Fields that take text accept data from earlier blocks.
What it hands on
An object with ip, country (a two-letter code such as DE), region, city, timezone (such as Europe/Berlin), org (the network, such as AS3320 Deutsche Telekom AG) and location (latitude,longitude). It goes to the variable and on as {{prevBlockData}}, so {{variables.ipInfo.country}} reads the country. The log line reads like 93.184.216.34 · DE · Berlin.
Example: Stop before signing in when the proxy is in the wrong country
- Start
- Check IP
- Conditions
- Open URL
- Forms
- Start the workflow with a Check IP block, Assign to variable ticked, named
ipInfo. - Add a Conditions block with one path, Germany:
{{variables.ipInfo.country}}EqualsDE. - Connect Germany to an Open URL block with the site's login page and the rest of the sign-in.
- Connect the Fallback output to a Notification block that says
Proxy is in {{variables.ipInfo.country}}, not DE, and leave it there so the run ends.
Good to know
- The lookup goes out over the profile's own proxy, so no tab needs to be open. Testing the block in the editor without the profile running shows this computer's IP instead.
- It asks ipinfo.io and falls back to ipwho.is when that one is down or rate-limited, 15 seconds each. When neither answers the block fails with "Could not find out the IP ... is the proxy working?", which makes it a quick check that a proxy is alive.
- The timezone is the IP's, which is what a fingerprint's timezone should agree with.
See also
- Rotate proxy — Call a proxy's change-IP link and wait until the profile's IP is really new.
- Conditions — Send the run down one of several paths, depending on values, page elements or code.
- Insert data — Set variables and add values to the workflow's table, several at once.