> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Data From a Designated Batch by Offset

> **Required plan:** Standard, Professional, or Enterprise.

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



## OpenAPI

````yaml /en/api/openapi.json get /data/lotno/all
openapi: 3.0.1
info:
  title: Octoparse API
  description: >-
    Octoparse OpenAPI allows you to programmatically manage tasks, run cloud
    extractions, and retrieve scraped data. Base URL:
    `https://openapi.octoparse.com`
  version: 1.0.0
servers:
  - url: https://openapi.octoparse.com
    description: Octoparse API Server
security: []
paths:
  /data/lotno/all:
    get:
      tags:
        - Data
      summary: Get Data From a Designated Batch by Offset
      description: >-
        **Required plan:** Standard, Professional, or Enterprise.


        Get data from a specific batch (lotno) starting from a row offset. Set
        offset to 0 to start from the first row.
      operationId: getDataByBatchOffset
      parameters:
        - name: taskId
          in: query
          required: true
          schema:
            type: string
        - name: lotno
          in: query
          required: true
          schema:
            type: string
          description: The batch number (lotNo) returned when a task was started
        - name: offset
          in: query
          required: true
          schema:
            type: integer
          description: Row offset to start from (0-indexed)
        - name: size
          in: query
          required: true
          schema:
            type: integer
          description: Number of rows to return
      responses:
        '200':
          description: Batch data retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                      total:
                        type: integer
                      restTotal:
                        type: integer
                      offset:
                        type: integer
                  requestId:
                    type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use the access_token obtained from POST /token

````