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

# Fetch Text

> Fetch text content from the page

## Description

Returns the visible text content of a specific node, stripped of HTML markup.

## Authentication

Open-source deployments do not require authentication by default. If your server config enables `X-API-Key`, include that header with the request.

## Path Parameters

<ParamField path="id" type="string" required>
  The browser ID returned from Create Session.
</ParamField>

## Request Body

<ParamField body="node_id" type="integer" required>
  Node ID from the UI map to fetch text from.
</ParamField>

## Response

<ResponseField name="text" type="string">
  The visible text content of the matched node.
</ResponseField>

## Example

```bash theme={null}
curl -X POST http://localhost:8080/browsers/exc-b9534e98-c3ce-4d1b-9671-b563ac66adc3/fetch-text/ \
  -H "Content-Type: application/json" \
  -d '{ "node_id": 123 }'
```
