# 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** | 1,000 | 1,000     | 1,000        | 10,000   |
| **Requests per day**  | 100   | 1,000     | 10,000       | 50,000   |

## SQL Limits

### Per-query guard-rails

|                       | Free  | Developer | Professional | Business  |
| --------------------- | ----- | --------- | ------------ | --------- |
| **max\_result\_rows** | 1,000 | 10,000    | 100,000      | 1,000,000 |

### Per-month quotas

|                    | Free    | Developer | Professional | Business      |
| ------------------ | ------- | --------- | ------------ | ------------- |
| **query\_selects** | 100     | 200       | 500          | 1,000         |
| **result\_rows**   | 100,000 | 2,000,000 | 50,000,000   | 1,000,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 (>999 EUR/mo) with dedicated resources, SLAs, and unrestricted data access. [Contact us](mailto:contact@koinju.io?subject=Enterprise%20plan%20inquiry) for details.
