# Protocols

### HTTP/ HTTPS

An example of the HTTP rotating proxy:

```
curl -x "http://login:password@gw.dataimpulse.com:823" https://api.ipify.org/
```

An example of the HTTP sticky proxy:

```
curl -x "http://login:password@gw.dataimpulse.com:10000" https://api.ipify.org/
```

{% hint style="info" %}
For sticky connections, you can use ports from 10000 to 20000
{% endhint %}

### SOCKS5

An example of the SOCKS5 rotating proxy:

```
curl -x "socks5://login:password@gw.dataimpulse.com:824" https://api.ipify.org/
```

An example of the SOCKS5 sticky proxy:

```
curl -x "socks5://login:password@gw.dataimpulse.com:10000" https://api.ipify.org/
```

Blog article on choosing the best proxy protocol:

[Choosing Between HTTP and SOCKS Proxies: How to Make the Right Decision](https://dataimpulse.com/blog/choosing-between-http-and-socks-proxies-how-to-make-the-right-decision/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dataimpulse.com/proxies/protocols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
