# Own nodes (/concepts/own-nodes)

A node is an egress you bring yourself. With `proxy: "own"`, a request goes out only through your nodes instead of platform proxies, and its proxy traffic is not charged.

There are two kinds of nodes:

| `kind` | What it is | How it joins |
| --- | --- | --- |
| `computer` | A machine running the RunHarvester Node app. | [Download the app](https://runharvester.com/node) and sign in to it with your account. |
| `proxy` | An HTTP proxy you add by URL. | **Add proxy** on the Nodes page of the website, or `POST /api/v1/data/nodes`. |

Computers that another account shared with you, once you accept the invitation, are part of your pool too and are listed with `shared: true`.

## Node state and probes [#node-state-and-probes]

Every node carries the result of its latest probe: the exit IP websites see, `country_code`, IANA `timezone`, `network_class` (`residential` or `datacenter`), `rotating` (the proxy changes its exit IP per request), and `checked_at`.

`usable` tells whether a node can carry a request now. A computer is usable while it is online at the gateway; a proxy is usable while its last probe passed. A failing proxy leaves the pool until a background re-probe succeeds.

```sh
curl 'https://api.runharvester.com/api/v1/data/nodes' \
  -H "X-API-Key: $RUNHARVESTER_API_KEY"
```

```json
{
  "items": [
    {
      "id": "6f1c2d3e-0000-4000-8000-000000000001",
      "kind": "proxy",
      "name": "office-proxy",
      "shared": false,
      "status": "active",
      "usable": true,
      "has_credentials": true,
      "probe": {
        "status": "ok",
        "exit_ip": "203.0.113.10",
        "country_code": "DE",
        "timezone": "Europe/Berlin",
        "network_class": "datacenter",
        "rotating": false,
        "checked_at": "2026-11-20T10:00:00Z"
      }
    }
  ]
}
```

The response is abbreviated; see [List your nodes](/api-reference/data-api/getDataNodes) for every field. Proxy credentials are never returned.

## Add a proxy [#add-a-proxy]

A proxy is validated and probed before it is saved. Private and local hosts are rejected.

```sh
curl -X POST 'https://api.runharvester.com/api/v1/data/nodes' \
  -H "X-API-Key: $RUNHARVESTER_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{ "name": "office-proxy", "url": "http://user:password@proxy.example.com:8080" }'
```

| Error | Meaning |
| --- | --- |
| `400 PROXY_NODE_INVALID`, `PROXY_NODE_UNSAFE_HOST` | The URL is malformed or points to a private or local host. |
| `409 PROXY_NODE_LIMIT_REACHED` | You already have the maximum number of proxies. |
| `422 PROXY_NODE_PROBE_FAILED` | The proxy did not pass the probe; nothing is saved and the message explains why. |

`POST /api/v1/data/nodes/{id}/check` probes a node again; manual checks are rate-limited (`NODE_CHECK_RATE_LIMITED`). `DELETE /api/v1/data/nodes/{id}` removes a proxy. Computers are read-only through the API (`409 NODE_COMPUTER_READ_ONLY`): rename, share, or revoke them on the website.

## Use your nodes [#use-your-nodes]

Set `proxy` to `"own"`. Without other fields, any usable node in your pool can carry the request.

```json
{
  "url": "https://example.com",
  "mode": "http",
  "proxy": "own"
}
```

Narrow the pool with these fields:

- `proxy_type`: `residential` or `datacenter`, matched against each node's probed `network_class`.
- `geo_country`: matched against each node's probed `country_code`.
- `own_pool.node_ids`: only these nodes (up to 50). Omit it to use all usable nodes. An id that is not yours or shared with you returns `404 NODE_NOT_FOUND`.

```json
{
  "url": "https://example.com",
  "proxy": "own",
  "proxy_type": "residential",
  "geo_country": "US",
  "own_pool": { "node_ids": ["6f1c2d3e-0000-4000-8000-000000000001"] }
}
```

### Random or sticky [#random-or-sticky]

`own_strategy` defaults to `random`: each request picks any usable node. `sticky` keeps one node per batch and target host, so a batch hits a site from a single exit. For single requests, pass the same `own_session` string to keep them on one node. A sticky node that stops being usable is replaced by another one. A `rotating` proxy can still change its exit IP between requests.

```json
{
  "url": "https://example.com/account",
  "proxy": "own",
  "own_strategy": "sticky",
  "own_session": "customer-42"
}
```

### Retries and fallback [#retries-and-fallback]

If a node fails during a request, the request is retried on up to two other nodes from the same filtered pool. When no own node can carry it, the request fails with `NO_OWN_PROXY_AVAILABLE` and is not charged.

Set `fallback: "platform"` to use platform proxies instead in that case. The fallback is charged like a normal platform request.

```json
{
  "url": "https://example.com",
  "proxy": "own",
  "fallback": "platform"
}
```

### Rules [#rules]

- `own_pool`, `own_strategy`, `own_session`, and `fallback` require `proxy: "own"`; otherwise the request is rejected with `400`.
- `proxy: "own"` cannot be combined with the `premium` proxy class or the `residential` route modes (`INVALID_PROXY_CONFIGURATION`). Use `proxy_type: "residential"` to select residential nodes.

## Where it works [#where-it-works]

The same fields apply to single requests, every job of a batch, and recipe execution.

## Results and billing [#results-and-billing]

The result reports which egress was used in `proxy_used`: `customer` for your own node, `platform` for platform proxies (including a fallback), or `null` for a direct request. When an own node carried the request, `result_meta.own_node` contains its `id` and `rotating`.

Traffic through your own nodes is not charged as proxy traffic. Use the returned billing metadata for the actual charge; see [Billing](/concepts/billing).

## MCP tools [#mcp-tools]

Data API keys expose the node operations as MCP tools:

| Tool | Operation | Scope |
| --- | --- | --- |
| `data_list_nodes` | List your nodes | `requests:read` |
| `data_get_node` | Read one node | `requests:read` |
| `data_add_proxy_node` | Add a proxy | `scrape:write` |
| `data_delete_proxy_node` | Remove a proxy | `scrape:write` |
| `data_check_node` | Probe a node now | `scrape:write` |

See [RunHarvester MCP](/mcp) for connection setup.