# Technical specification

This technical specification explains the content of the OS Names API and the methods you can use to call it.

{% hint style="info" %}
This technical specification extends the Infrastructure for Spatial Information in the European Community (INSPIRE) Geographical Names theme to ensure compliance with European open data initiatives.
{% endhint %}

{% hint style="info" %}
If you are not familiar with the OS Names API, please read the [overview documentation](/os-apis/accessing-os-apis/os-names-api.md) before proceeding.
{% endhint %}

## Core concepts

This specification does not cover core concepts that apply to all Ordnance Survey APIs.

Please read the following pages to learn more about OS API core concepts:

* [Authentication](/os-apis/core-concepts/authentication.md)
* [Error codes](/os-apis/core-concepts/error-codes.md)
* [Rate-limiting policy](/os-apis/core-concepts/rate-limiting-policy.md)

## API reference

The OS Names API is an API, which returns queries to the service in either XML or JSON. The service offers two resources:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Find</strong></td><td>Return matched features based on a free text search.</td><td><a href="/pages/KBrVwSLdTaFk6DI0eD08">/pages/KBrVwSLdTaFk6DI0eD08</a></td></tr><tr><td><strong>Nearest</strong></td><td>Return the closest features to a pair of coordinates (X and Y).</td><td><a href="/pages/aO0k3ChV0iZwXeUD38Dw">/pages/aO0k3ChV0iZwXeUD38Dw</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.os.uk/os-apis/accessing-os-apis/os-names-api/technical-specification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
