# Pricing

## Tiers

|                        | Free (0 EUR)    | Developer (39 EUR/mo) | Professional (99 EUR/mo) | Business (299 EUR/mo) |
| ---------------------- | --------------- | --------------------- | ------------------------ | --------------------- |
| **OHLCV daily/hourly** | Full history    | Full history          | Full history             | Full history          |
| **OHLCV 1-min**        | Rolling 1 month | Rolling 1 year        | Full history             | Full history          |
| **Spot trades**        | Rolling 24h     | Rolling 90 days       | Rolling 1 year           | Full history (286B+)  |
| **Futures trades**     | —               | —                     | Rolling 1 year           | Full history          |
| **Options trades**     | —               | —                     | —                        | Full history          |
| **Futures OHLCV**      | —               | —                     | Full history             | Full history          |
| **Options OHLCV**      | —               | —                     | —                        | Full history          |

## REST API Limits

|                       | Free | Developer | Professional | Business |
| --------------------- | ---- | --------- | ------------ | -------- |
| **Items per request** | 100  | 1,000     | 1,000        | 1,000    |
| **Requests per day**  | 100  | 1,000     | 1,000        | 10,000   |

## SQL Limits

### Per-month quotas

|                    | Free   | Developer | Professional | Business   |
| ------------------ | ------ | --------- | ------------ | ---------- |
| **query\_selects** | 50     | 500       | 1,000        | 10,000     |
| **result\_rows**   | 50,000 | 500,000   | 5,000,000    | 50,000,000 |

`SHOW`, `DESCRIBE`, and `EXPLAIN` queries are exempt from the queries/month counter.

### Shared limits (all tiers)

| Type                | Limit                    |
| ------------------- | ------------------------ |
| **execution\_time** | 60 seconds max per query |
| **data\_transfer**  | 100 GB per month         |

## Time-Window Clamping

Queries requesting data outside your tier's allowed time window will return only the data that falls within the window — no error is raised.

For example, a Free-tier user querying 7 days of spot trades will receive only the last 24 hours of data. Similarly, a Developer querying 2 years of 1-minute OHLCV candles will receive only the last year.

{% hint style="info" %}
If a query returns fewer rows than expected, check whether the requested time range exceeds your tier's data window. Upgrade your tier to access deeper history.
{% endhint %}

## REST vs SQL

REST and SQL serve different use cases. REST is designed for recent, small data pulls and app integrations. SQL is designed for historical analysis, backtesting, and bulk computation.

For example, downloading 1 year of 1-minute candles for one pair:

* **REST** at 1,000 items/req: 526 paginated requests
* **SQL**: 1 query, server-side, result in \~1.7 seconds

The REST API is the discovery and integration layer. For any workload exceeding a few thousand rows, use SQL.

## Enterprise

For workloads beyond Business tier limits, we offer custom Enterprise plans (Starting from 1000 EUR/mo) with dedicated resources, SLAs, and unrestricted data access. [Contact us](mailto:contact@koinju.io?subject=Enterprise%20plan%20inquiry) for details.


---

# 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.koinju.io/pricing.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.
