> For the complete documentation index, see [llms.txt](https://docs.pacificdata.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pacificdata.org/dotstat/api.md).

# API

Integrate your IT applications to the Pacific data ecosystem

PDH.stat provides machine-to-machine accessibility to Pacific data through its RESTful API. A freely available SDMX-based web service is exposed on the Web at the following endpoint:

{% embed url="<https://stats-nsi-stable.pacificdata.org>" %}

![](https://3496061366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDSpD50SdXxsYnU7P9D%2F-MK7yGdpEuh5mHRmRAjf%2F-MK7zRP0AcciiPDbdeZ3%2Fimage.png?alt=media\&token=fae3f5a9-5062-48a8-9787-78011378cbe0)

![Overview of main queriable SDMX classes](https://3496061366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDSpD50SdXxsYnU7P9D%2F-MK8BWxx0p7jflfZKLf3%2F-MK8BrgPmDxI5XAGuG6W%2Fimage.png?alt=media\&token=cf59a464-c1f2-4767-b685-70874e0df8fa)

Sample API calls corresponding to particular data views can be produced from the Data Explorer, for more information on this see [dedicated section from the Data Explorer documentation](/dotstat/de.md).

For more information on SDMX web services see the following references:

* [SDMX official website](https://sdmx.org/)
* [SDMX information model](https://sdmx.org/wp-content/uploads/SDMX_2-1_SECTION_2_InformationModel_2020-07.pdf)
* [SDMX REST web services guidelines](https://github.com/sdmx-twg/sdmx-rest/) and its [SDMX 2.1 RESTful web services cheat sheet](https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/rest_cheat_sheet.pdf?raw=true)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pacificdata.org/dotstat/api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
