# Testnet API Swagger

### Testnet API swaggerとは

Swaggerは、利用可能なすべてのAPIエンドポイントをテストできるWebベースのUIです。すべてのコードは事前に構築されているため、時間をかけて自分で実装する前に、特定のパラメータを「ドロップイン」して、結果が期待通りであることを確認することができます。

swaggerを使用することで、エラーやレスポンスをより理解することができます。

APIについて学び、保存環境で多数のエンドポイントをテストするために、Testnet API Swaggerがあります。

このswaggerはMainnet API Swaggerと同じですが、メインネット用にまだリリースされていないエンドポイントを見つけることもあります。もしメインネットで使いたいエンドポイントがあるにもかかわらず、それが利用可能でない場合は、[私たちにご連絡ください](https://nmkr.io/support)。

{% embed url="<https://studio-api.preprod.nmkr.io/swagger/index.html>" %}

#### Testnet Swaggerを使用する

**swaggerを許可する**

最初のステップは、Testnet Swaggerを認証することです。[Testnet Swagger](https://studio-api.preprod.nmkr.io/swagger/index.html)にアクセスし、「認証」をクリックします。

<figure><img src="/files/fmi55qfOXvdiN0U4lv99" alt=""><figcaption></figcaption></figure>

次のタブでベアラ（APIキー）を挿入し、「認証」で確認します。

APIキーがどこにあるかわからない場合は、[APIキーに関するドキュメント](https://docs.nmkr.io/nmkr-studio/testnet/create-testnet-account)をお読みください。

[テストネットアカウント](https://docs.nmkr.io/nmkr-studio/testnet/create-testnet-account)のAPIキーを追加する必要があることにご注意ください。

<figure><img src="/files/wIsBdDfLRPZZaGizh2rU" alt=""><figcaption></figcaption></figure>

swaggerを認証すると、エンドポイントを試すことができるようになります。

<br>

Testnet swaggerの使用方法については、[メインネットAPI Swaggerに関するドキュメント](https://docs.nmkr.io/nmkr-studio-api/api-swagger)をご覧ください。

<br>


---

# 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/tesutonetto/testnet-api-swagger.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.
