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

# Get Node

> Retrieve a single node by its slug.

### Path Parameters

<ParamField path="slug" type="string" required>
  The node's unique slug (e.g., `k9m2xp4q`).
</ParamField>

### Response

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="id" type="string">UUID of the node.</ResponseField>
    <ResponseField name="slug" type="string">8-char short code.</ResponseField>
    <ResponseField name="label" type="string">Internal display name.</ResponseField>
    <ResponseField name="url" type="string">Public scan URL.</ResponseField>
    <ResponseField name="function_type" type="string">One of `redirect`, `vcard`, `wifi`, `microsite`, `digital_card`, `action`.</ResponseField>
    <ResponseField name="payload" type="object">Type-specific configuration.</ResponseField>
    <ResponseField name="status" type="string">Lifecycle status.</ResponseField>
    <ResponseField name="hardware_id" type="string">NFC chip UID (if written).</ResponseField>
    <ResponseField name="scan_count" type="integer">Total scans.</ResponseField>
    <ResponseField name="created_at" type="string">ISO 8601 timestamp.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://nearnode.io/api/v1/nodes/k9m2xp4q \
    -H "Authorization: Bearer sk_live_..."
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "id": "node_abc123...",
      "slug": "k9m2xp4q",
      "label": "Office Front Door",
      "url": "https://nearnode.io/v/k9m2xp4q",
      "function_type": "redirect",
      "payload": {
        "url": "https://acme.com/welcome"
      },
      "status": "active",
      "hardware_id": "04:A2:C8:1A:35:39:80",
      "scan_count": 1247,
      "created_at": "2026-01-15T10:00:00Z"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Node not found"
  }
  ```
</ResponseExample>
