|
1 | 1 | ## API rate limits
|
2 | 2 |
|
3 |
| -The following rate-limits (in requests per minute, or RPM) are applicable for all Hiro APIs as of [November 2023](https://www.hiro.so/blog/updated-rate-limits-for-hiro-apis): |
| 3 | +You can access all of Hiro's API services without an API key, but you are subject to rate limits of 25 RPM, per client IP. To build with higher rate limits, you can generate a free API key in the Hiro Platform that is set to the free "starter" plan as a default, and you can upgrade your account to a [higher tier](https://www.hiro.so/pricing) as needed: |
4 | 4 |
|
5 |
| -| API key | Rate Limit | |
6 |
| -|:--------|:----------------------------------| |
7 |
| -| No | 50 requests per minute (RPM) per client IP, for unauthenticated traffic | |
8 |
| -| Yes | 500 requests per minute (RPM), regardless of origin IP, with an authenticated API key | |
| 5 | +| Tiers | API RPM | Stacks L2 requests / month | Bitcoin L1 requests / month | |
| 6 | +|:---------------|:--------|:---------------------------|:----------------------------| |
| 7 | +| No API key | 25 | n/a | n/a | |
| 8 | +| Free / Starter | 900 | 150K | 50K | |
| 9 | +| $99 / Build | 3K | 15M | 500K | |
| 10 | +| $599 / Scale | 7K | 75M | 5M | |
| 11 | +| Enterprise | Custom | Custom | Custom | |
| 12 | + |
| 13 | +With a single API key, you gain access to Hiro's suite of API services that span Bitcoin and Stacks: |
| 14 | + |
| 15 | +**Bitcoin L1 API services** |
| 16 | + |
| 17 | +- [Ordinals API](/bitcoin/ordinals/api) (includes BRC-20 support) |
| 18 | +- [Runes API](/bitcoin/runes/api) |
| 19 | + |
| 20 | +**Stacks L2 API services** |
9 | 21 |
|
10 |
| -These rate-limits apply to the entirety of API traffic, regardless of whether it's from one or all of these APIs: |
11 | 22 | - [Stacks Blockchain API](/stacks/api)
|
12 | 23 | - [Token Metadata API](/stacks/token-metadata-api)
|
13 |
| -- [Ordinals API](/bitcoin/ordinals/api) |
14 |
| -- [Runes API](/bitcoin/runes/api) |
15 | 24 |
|
16 | 25 | These new rate limits help us ensure fair usage of Hiro APIs and provide the best possible service as our community of developers and applications grow.
|
17 | 26 |
|
18 | 27 | <Callout title='Need an API key?'>
|
19 | 28 | You can create one for free in the [Hiro Platform](https://platform.hiro.so) by creating an account.
|
20 | 29 | </Callout>
|
21 | 30 |
|
22 |
| -## STX Faucet rate limits |
23 |
| - |
24 |
| -Note: this faucet is for Stacks testnet and provides testnet STX, which has no monetary value. |
| 31 | +## STX / sBTC testnet faucet rate limits |
25 | 32 |
|
| 33 | +Note: these faucets are for Stacks and sBTC testnet tokens, which have no monetary value. |
26 | 34 |
|
27 | 35 | | Type | Rate Limit |
|
28 | 36 | |:-----------------------------|:-----------------------------|
|
29 | 37 | | Stacking requests | 1 request per 2 days |
|
30 |
| -| Regular STX requests | 1 request per minute (RPM) | |
| 38 | +| Regular STX / sBTC requests | 1 request per minute (RPM) | |
| 39 | + |
| 40 | +To use the faucets, visit the [Hiro Platform Faucet](https://platform.hiro.so/faucet). |
0 commit comments