> For the complete documentation index, see [llms.txt](https://minara.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minara.ai/docs/minara-handbook/ko/trade/agent-api/authentication.md).

# 인증

Minara는 API 요청을 인증하는 두 가지 방법을 제공합니다.

### API 키(구독)

표준 방식 **Pro** 및 **파트너** 플랜 사용자. API 키를 다음에 포함하세요 `Authorization` 모든 요청의 헤더입니다.

**형식:**

```
Authorization: Bearer <YOUR_API_KEY>
```

**예시:**

```bash
curl -H "Authorization: Bearer sk-minara-xxxxxxxx" https://api.minara.ai/v1/developer/chat
```

> **보안:** API 키를 비밀번호처럼 취급하세요. 클라이언트 측 코드나 공개 저장소에 절대 노출하지 마세요.

👉 **자세히 알아보기:** [Broken mention](broken://pages/866686b9348be5aeebc0d026bc3a9c8065a76303)

### 사용량 기반 결제(x402)

구독 없이 사용량 기반 액세스를 위해, 저희는 다음을 지원합니다: [**x402 프로토콜**](https://www.x402.org/). $USDC 같은 스테이블코인을 사용해 API 호출 비용을 직접 지불합니다(구독 불필요).

**x402 API URL**:[https://x402.minara.ai](https://x402.minara.ai/)

**x402 엔드포인트를 살펴보세요:** [x402scan의 Minara](https://www.x402scan.com/server/66307a3c-aeb9-4508-9531-71eed69bc9b5)

👉 **자세히 알아보기:** [Broken mention](broken://pages/70a0e6daafa8190476fc2b0872bbcd89677a05a7)


---

# 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://minara.ai/docs/minara-handbook/ko/trade/agent-api/authentication.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.
