---
url: /nestjs-odata/api/generated/functions/parseBatchUrl.md
---
# Function: parseBatchUrl()

> **parseBatchUrl**(`batchUrl`): `URL`

Defined in: [batch/batch-dispatch.ts:164](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-dispatch.ts#L164)

The `$batch` request URL (a path, e.g. `req.originalUrl`), parsed.

## Parameters

### batchUrl

`string`

## Returns

`URL`
