> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/quickcreateproxies-...args.md).

# quickCreateProxies(...args)

Quickly forwards multiple proxies to a set of ports.

* If a port has a configuration, the proxy will be forwarded using that configuration.
* If not, a random proxy will be assigned.
* Optionally, you can limit forwarding only to unused ports.

```javascript
async quickCreateProxies(requestId, plan, ports, n, onlyFree)
```

***

## Parameters

* **requestId** (<mark style="color:green;">string</mark>) – ID used to track request status in event callbacks.
* **plan** (<mark style="color:green;">string</mark>) – ID of the plan to use (default: "1").
* **ports** (<mark style="color:green;">Uint32Array</mark>) – List of ports to forward.
* **n** (<mark style="color:green;">number</mark>) – Number of elements in the ports array.
* **onlyFree** (<mark style="color:green;">number</mark>, 0 or 1) – 1 = only forward to ports that are not in use; 0 = attempt on all ports.

## Return Value

number or array (binding dependent).

## Example

```javascript
// example

const cand = new Uint32Array([60000, 60001]);
const ret = sdk.quickCreateProxies("request_id", "1", cand, cand.length, 1);

```
