---
title: "List nodes with labels matching a query, ordered by distance."
method: POST
path: "http://localhost:8000/{project_id}/nodes/find-labels"
tags: ["nodes"]
---

# List nodes with labels matching a query, ordered by distance.

`POST http://localhost:8000/{project_id}/nodes/find-labels`

List nodes with labels matching a query, ordered by distance.

Find nodes with labels (front-end node tags) matching a regular
expression, sort them by ascending distance from a reference location, and
return the result. Returns at most 50 nodes.

## Path parameters

- `project_id` string, required

## Response `201`

Created

---

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