---
title: "Read link objects"
method: POST
path: "/reader/link/read"
tags: ["Reader"]
---

# Read link objects

`POST /reader/link/read`

Reads link data (LinkDatum) from the Nutch webgraph. Supports reading all rows, a limited number of rows, a row range, or counting the total number of rows.

## Query parameters

- `nrows` integer
- `start` integer
- `end` integer
- `count` boolean

## Request body

- ReaderConfig — Configuration specifying a file path for reader operations.
  - `path` string, required — The path to the sequence file, link data, or node data to read.

## Response `200`

Link data. Returns application/json when reading rows, or text/plain when count=true.

- object[]

## Other responses

- `400` — Bad request. The request body is missing, malformed, or contains invalid parameters.
- `401` — Unauthorized. Basic authentication credentials are missing or invalid.
- `500` — An unexpected server error occurred.

---

[API](https://skmtc.dev/apache/apis/apache-nutch-rest-api.md) · [All operations](https://skmtc.dev/apache/apis/apache-nutch-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/apache-nutch-rest-api/revisions/e67af5b75ede/schema)
