# APIの例

このセクションでは、APIを[使い始め](https://docs.nmkr.io/nmkr-studio-api/get-started-with-the-api)、独自のカールを構築しやすくするためのAPI例を紹介します。

例をコピー＆ペーストして個々の値を置き換える前に、[APIの](https://docs.nmkr.io/nmkr-studio-api/introduction-nmkr-studio-api)構造と[応答を](https://docs.nmkr.io/nmkr-studio-api/api-swagger/swagger-responses-and-error-codes)理解していることを確認してください。

APIの使い方を学ぶのに最適な方法は、[API Swagger](https://docs.nmkr.io/nmkr-studio-api/api-swagger)です。SwaggerはTestnetとMainnetで利用可能で、DAppsに追加する前にコードを試すことができます。

また、[APIの基本的な](https://docs.nmkr.io/nmkr-studio-api/introduction-nmkr-studio-api)こと、想定される[応答とエラーコードについても](https://docs.nmkr.io/nmkr-studio-api/api-swagger/swagger-responses-and-error-codes)理解しておいてください。


---

# 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.nmkr.io/jp/nmkr-studio-api/apino.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.
