> ## Documentation Index
> Fetch the complete documentation index at: https://help.ip2up.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CURL Request

<Tip>All proxy products of the platform need to be used in an overseas network environment, which requires customers to configure themselves.</Tip>

This article demonstrates how to use `curl` to initiate requests through Ip2up static residential proxy IPs, suitable for direct proxy connection calls in terminals or scripts.\
Static residential proxies include two line types: **Native Residential IP** and **ISP IP**. Both support account-and-password sub-account authentication, and the exit IP remains fixed throughout the connection session.

## HTTP Proxy

```bash theme={null}
curl -x http://USERNAME:PASSWORD@PROXY_IP:PROXY_PORT https://ipinfo.io
```

## SOCKS5 Proxy

```bash theme={null}
curl --socks5 USERNAME:PASSWORD@PROXY_IP:PROXY_PORT https://ipinfo.io
```

## Key Parameter Descriptions

| Parameter    | Description                                                                                   |
| ------------ | --------------------------------------------------------------------------------------------- |
| `USERNAME`   | Sub-account for proxy connection authentication                                               |
| `PASSWORD`   | Connection password corresponding to the sub-account                                          |
| `PROXY_IP`   | Static residential proxy exit IP                                                              |
| `PROXY_PORT` | Proxy port                                                                                    |
| `-x`         | Specifies HTTP proxy mode                                                                     |
| `--socks5`   | Specifies SOCKS5 proxy mode                                                                   |
| `ipinfo.io`  | Only used to verify proxy connectivity and exit location; can be replaced with any target URL |
