> For the complete documentation index, see [llms.txt](https://docs.os.uk/more-than-maps/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.os.uk/more-than-maps/using-os-mapping-apis/os-apis-for-developers.md).

# OS APIs for Developers

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Code examples</td><td align="center">Helping you start building solutions with OS data.</td><td align="center">Here you'll find examples of our APIs in use. You can copy and paste the code to start building your own innovative projects.</td><td><a href="https://labs.os.uk/public/os-data-hub-examples/">https://labs.os.uk/public/os-data-hub-examples/</a></td><td data-object-fit="cover" data-alt="Map of Western GB"><a href="/files/0Cco1qHbvuzRwfglyer8">/files/0Cco1qHbvuzRwfglyer8</a></td></tr><tr><td align="center">OS NGD API – Features</td><td align="center">These examples will provide you with an introduction to the OS NGD API – Features.</td><td align="center">They focus on the <code>/collections</code> resource which lists the feature collections that are offered through the API.</td><td><a href="https://labs.os.uk/public/osngd/os-ngd-api-features/">https://labs.os.uk/public/osngd/os-ngd-api-features/</a></td><td data-object-fit="cover" data-alt="Map of Westminster"><a href="/files/Yl1fEzz0ZLj660TyJU81">/files/Yl1fEzz0ZLj660TyJU81</a></td></tr><tr><td align="center">OS NGD API – Tiles</td><td align="center"></td><td align="center">These examples will provide you with an introduction to the OS NGD API – Tiles.</td><td><a href="https://labs.os.uk/public/osngd/os-ngd-api-tiles/">https://labs.os.uk/public/osngd/os-ngd-api-tiles/</a></td><td data-object-fit="cover" data-alt="Map of an urban area"><a href="/files/oKtMC9cIcrDuW2Fweai9">/files/oKtMC9cIcrDuW2Fweai9</a></td></tr><tr><td align="center">OS API branding</td><td align="center">Branding for users developing solutions using OS data supplied via our APIs.</td><td align="center"></td><td><a href="https://github.com/OrdnanceSurvey/os-api-branding">https://github.com/OrdnanceSurvey/os-api-branding</a></td><td data-object-fit="cover" data-alt="Map of Ambleside"><a href="/files/iZAuaIohVorSSWClaoxK">/files/iZAuaIohVorSSWClaoxK</a></td></tr></tbody></table>

## OS API Wrappers

Our OS API wrappers make it easier for developers to interact with our APIs using a preferred language, providing a single and intuitive interface for developing and performing analysis on OS data.

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">osdatahub (JavaScript)</td><td align="center">JavaScript package that makes it easier to interact with the OS Data Hub APIs.</td><td><a href="/files/iQAT9F0wb6AVlt9u3hNc">/files/iQAT9F0wb6AVlt9u3hNc</a></td><td><a href="https://www.npmjs.com/package/osdatahub">https://www.npmjs.com/package/osdatahub</a></td></tr><tr><td align="center">osdatahub (Python)</td><td align="center">Designed to make data from the OS Data Hub APIs readily accessible to Python developers.</td><td><a href="/files/MB8LdpW9SIvHph9Sh7Ps">/files/MB8LdpW9SIvHph9Sh7Ps</a></td><td><a href="https://pypi.org/project/osdatahub/">https://pypi.org/project/osdatahub/</a></td></tr><tr><td align="center">osdatahub (R)</td><td align="center">R package for easier interaction with the Ordnance Survey Data Hub.</td><td><a href="/files/2v4IOAcm21KjWuhLcNpU">/files/2v4IOAcm21KjWuhLcNpU</a></td><td><a href="https://cran.r-project.org/web/packages/osdatahub/index.html">https://cran.r-project.org/web/packages/osdatahub/index.html</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.os.uk/more-than-maps/using-os-mapping-apis/os-apis-for-developers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
