---
title: "Get FetchDB node information"
method: GET
path: "/db/fetchdb"
tags: ["Database"]
---

# Get FetchDB node information

`GET /db/fetchdb`

Returns fetch node database entries for the specified index range. Both from and to default to 0; if to is 0 or exceeds the total number of entries, all entries from the starting index are returned.

## Query parameters

- `from` integer
- `to` integer

## Response `200`

A JSON array of fetch node information objects.

- FetchNodeDbInfo[]
  - `url` string — The URL of the fetched node.
  - `status` integer — The HTTP status code of the fetch.
  - `numOfOutlinks` integer — The number of outgoing links discovered.
  - `children` ChildNode[], required — The outgoing links from this node.
    - `childUrl` string — The URL of the child node.
    - `anchorText` string — The anchor text of the link.

## Other responses

- `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)
