---
title: "Find matching names or permit numbers"
method: GET
path: "/api/completion"
tags: ["Cross Register"]
---

# Find matching names or permit numbers

`GET /api/completion`

In addition to the search and retrieval facilities then some simple APIs are provided to assist with UI construction.
These take a partial word fragment and return a list of names or registration numbers that contain the fragment.
Since these are not retrieval APIs, and not part of the default presentation, they do not support the full range of content negotiation and metadata.
They simply return a JSON array of strings containing the available completions.

## Query parameters

- `name` string
- `number` string
- `infix` true

## Response `200`

A list of names or numbers

- string[]

## Other responses

- `400` — Bad request. Please check that at least one of the `name` or `number` parameters is given

---

[API](https://skmtc.net/environment-agency/apis/public-registers-online-api.md) · [All operations](https://skmtc.net/environment-agency/apis/public-registers-online-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/environment-agency/public-registers-online-api/versions/a5ff4428e777/schema)
