# API

Minara Agent API は、開発者、トレーダー、市場アナリストに、標準的な HTTP インターフェースを通じて Minara の金融インテリジェンスと取引執行へ直接アクセスを提供します。

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

### 主な機能

**リアルタイムの市場データ。** 暗号資産と株式全体のライブデータを検索できます。ウォレットのアクティビティ、DeFi 指標、オンチェーンフロー、アルファシグナルなど、すべてエージェント向けに構造化されています。

**取引提案。** 市場コンテキストのクエリを送信すると、すぐに実行できるあらかじめ設定された注文ペイロードとともに、ロング/ショートの直接的な推奨が返されます。シグナルから取引までのループを短縮します。

**テキストからスワップへ。** 取引内容を平易な英語で記述すると、API はデフォルトで OKX DEX と互換性のある、実行可能なオンチェーン取引ペイロードを返します。

**予測市場。** 市場データ、ニュースコンテキスト、不確実性帯をもとに裏付けられた、イベント結果に対する AI 推定の確率分布を検索できます。これを使って、誤った価格付けのオッズを特定し、より明確なリスク境界でポジションサイズを調整できます。

### 仕組み

2つの請求方法:

1. **API キー** — こちらで利用可能: **Pro または Partner** プラン。Minara プロフィールから直接キーを生成できます。
2. **従量課金制** — こちらを通じた柔軟で許可不要のオプション: [x402 プロトコル](https://www.x402.org/)、$USDC のようなステーブルコインによる利用量ベースの支払いが可能です。

\
**開発を始める準備はできましたか？** ガイドに従って [Broken mention](broken://pages/aaaf3ea72a13c3b2969add06cf379c3e2b41b6b2).


---

# 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://minara.ai/docs/minara-handbook/ja/qu-yin/agent-api.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.
