> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/api/ja/exoclick-gong-kai-api/api-manual-rate-limiting.md).

# レート制限

## 全体のリクエスト上限

APIでは、60秒ごとに150件までリクエストできます。すべてのリクエストが合計数にカウントされます。APIで処理された各リクエストでは、HTTPヘッダーにレート制限情報が返されます。

{% hint style="info" %}
**注意**：レート制限はユーザー名とIPアドレスの両方に基づきます。そのため、1つのユーザー名につき60秒ごとに150件まで、1つのIPアドレスにつき60秒ごとに150件までに制限されます。
{% endhint %}

## ログインリクエストの上限

ログインリクエストは、次の上限でレート制限されています。 **60秒ごとに10件のリクエスト**。すべてのリクエストが合計数にカウントされます。

{% hint style="info" %}
**注意**：実行された統計リクエストごとに、そのIPアドレスとユーザー名がこれらの上限にカウントされます。
{% endhint %}

## 統計リクエストの上限

統計リクエストは、IPアドレスごとに1分あたり30件、ユーザー名ごとに1分あたり25件にレート制限されています。

{% hint style="info" %}
**注意**：実行された統計リクエストごとに、そのIPアドレスとユーザー名がこれらの上限にカウントされます。
{% endhint %}

たとえば、1台のコンピューターからユーザー名でログインして統計リクエストを25件実行すると、次のリクエストは失敗します。ただし、別のユーザー名に切り替えれば、IPアドレスの上限に達するまでに、さらに5件の統計リクエストを実行できます。

## 例

### レート制限 - 例1

```bash
$ curl -i https://api.exoclick.com/v2/statistics/a/date
```

```json
{
  "HTTP/1.1": "200 OK",
  "Date": "Fri, 24 Oct 2014 14:57:32 GMT",
  "Content-Type": "application/json",
  "Transfer-Encoding": "chunked",
  "X-Rate-Limit-Limit": 25,
  "X-Rate-Limit-Remaining": 44,
  "X-Rate-Limit-Reset": 27
}
```

レート制限を超過すると、 *429 Too Many Requests* HTTPエラーが、レート制限がリセットされるまで、その後のリクエストで発生します。通常のリクエストと同様に、レート制限情報はHTTPヘッダーで確認できます。

### レート制限 - 例2（上限超過）

```bash
$ curl -i https://api.exoclick.com/v2/statistics/a/date
```

```json
{
  "HTTP/1.1": "429 Too Many Requests",
  "Date": "Fri, 24 Oct 2014 15:04:35 GMT",
  "Content-Type": "application/json",
  "Transfer-Encoding": "chunked",
  "X-Rate-Limit-Limit": 25,
  "X-Rate-Limit-Remaining": 0,
  "X-Rate-Limit-Reset": 12
}
```


---

# 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.exoclick.com/api/ja/exoclick-gong-kai-api/api-manual-rate-limiting.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.
