Skip to main content
This guide assumes you have already created your first Residential Proxy. Here, we’ll focus on how to use it with a simple example.

Your Connection Credentials

First, navigate to your proxy’s settings page in the My Proxies dashboard. You will need the following from the “Connection Details” block:
  • Host: proxy.2extract.net
  • Port: (e.g., 5555)
  • Username: (e.g., 2xt-customer-...-proxy-my-scraper)
  • Password: (Click “Show” to reveal)

Example: Getting an IP from Germany

Let’s make a request to get an IP address from Germany. We will do this by adding the -country-de parameter to your username.
# Replace with your actual credentials
USERNAME="PROXY_USERNAME-country-de"
PASSWORD="PROXY_PASSWORD"
HOST="proxy.2extract.net:5555"

curl "https://api.ipify.org?format=json" \
  --proxy "http://${USERNAME}:${PASSWORD}@${HOST}"
If successful, the response will be a JSON object containing an IP address located in Germany.
That’s it! You can now use this logic to target any country or configure sessions. For a full list of possibilities, check out our Configuration Guide.
I