---
title: "Find the closest node in a skeleton relative to a passed in location."
method: GET
path: "http://localhost:8000/{project_id}/nodes/nearest"
tags: ["nodes"]
---

# Find the closest node in a skeleton relative to a passed in location.

`GET http://localhost:8000/{project_id}/nodes/nearest`

Find the closest node in a skeleton relative to a passed in location.

If a skeleton ID or neuron id is passed in as well, the nearest node in the
respective skeleton is returned.

## Path parameters

- `project_id` string, required

## Response `200`

OK

## Changes

- **2020-06-24** `80927abb02ba` — 1 info
  - endpoint added
- **2019-08-15** `2b6c094737cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/catmaid/apis/catmaid-api/changes/http:/localhost:8000/:project_id/nodes/nearest/get.md)

---

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