> For the complete documentation index, see [llms.txt](https://help.netnut.io/netnut-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.netnut.io/netnut-documentation/netnut-proxies/datacenter-proxies/curl-request-parameters.md).

# cURL Request Parameters

Below is a list of parameters followed by examples of request types:

&#x20;

<table><thead><tr><th width="199">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>USERNAME</td><td>Username of proxy user.</td></tr><tr><td>dc</td><td>Indicates query for datacenter proxy.</td></tr><tr><td>country</td><td>Country code in two-letter format, not case sensitive. For example, nl indicates a proxy in the Netherlands; za for South Africa; it for Italy.</td></tr><tr><td>SID</td><td>Session ID keeps the same IP for next queries. Otherwise, a new IP is assigned for each new request. The same IP address is used until the end user device disconnects. Note that session time is determined by IP availability at the time of the request – if an IP from the pool is in use by another customer, it will not be available. SID supports any number up to 9 digits. The lowest SID can be sid-10000, and the highest SID can be sid-999999999.</td></tr><tr><td>PASSWORD</td><td>Proxy user password.</td></tr><tr><td>site URL</td><td>User’s destination site.</td></tr></tbody></table>

&#x20;

A basic query inserting only USERNAME and PASSWORD will be performed from a random IP address:

<mark style="color:blue;">`curl`</mark>`-x USERNAME-dc-any:PASSWORD@gw.netnut.net:5959 “example.site.com”`

You can request a specific country, as in the examples below:

<mark style="color:blue;">`curl`</mark>`-x  USERNAME-dc-nl:PASSWORD@gw.netnut.net:5959 “example.site.com”`

Add the **SID** (session ID) parameter to use the same IP for next queries. Note that SID must be preceded by a country:

<mark style="color:blue;">`curl`</mark>`-x USERNAME-dc-any-sid-947045456:PASSWORD@gw.netnut.net:5959” “example.site.com”`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.netnut.io/netnut-documentation/netnut-proxies/datacenter-proxies/curl-request-parameters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
