> For the complete documentation index, see [llms.txt](https://liquid-terminal.gitbook.io/liquid-terminal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liquid-terminal.gitbook.io/liquid-terminal/liquid-api/introduction.md).

# Introduction

### Liquid Terminal API

The API implements a comprehensive multi-level rate limiting system to protect against abuse and ensure fair usage across all endpoints. The system uses Redis for distributed counting and provides granular control over request frequency.

### Rate Limit Configuration

#### Multi-Level Limits

The system implements three distinct rate limiting tiers:

| Tier         | Window        | Max Requests    | Purpose                                         |
| ------------ | ------------- | --------------- | ----------------------------------------------- |
| Burst Limit  | 1 second      | 20 requests     | Prevents sudden traffic spikes                  |
| Minute Limit | 60 seconds    | 1,200 requests  | Controls medium-term usage (20 req/sec average) |
| Hour Limit   | 3,600 seconds | 72,000 requests | Prevents long-term abuse (20 req/sec average)   |

Front end stack

* Next JS
* Tailwing
* TypeScript
* ShaDCN

Back end stack:

* NodeJs (Express)
* Typescript
* Postgres
* Prisma

API used:

* HyperLiquid
* HypurrScan
* DefiLlama
