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

---

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