---
title: "Get Data From a Designated Batch by Offset"
method: GET
path: "/data/lotno/all"
tags: ["Data"]
---

# Get Data From a Designated Batch by Offset

`GET /data/lotno/all`

## Request

- Base URL: `https://openapi.octoparse.com`
- URL: `https://openapi.octoparse.com/data/lotno/all`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/octoparse/apis/octoparse-api/docs/data/lotno/all/get.ts> (a function with typed inputs; its response is checked against the schema)

Get data from a specific batch (lotno) starting from a row offset. Set offset to 0 to start from the first row.

## Query parameters

- `taskId` string, required
- `lotno` string, required
- `offset` integer, required
- `size` integer, required

## Response `200`

Batch data retrieved

- object
  - `data` object
    - `data` object[]
    - `total` integer
    - `restTotal` integer
    - `offset` integer
  - `requestId` string

---

[API](https://skmtc.dev/octoparse/apis/octoparse-api.md) - [All operations](https://skmtc.dev/octoparse/apis/octoparse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoparse/apis/octoparse-api/revisions/ba22877ce84b?raw)
