Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/sdk-and-tools/rest-api/gateway-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ Currently, authentication is not needed to access the API.

[comment]: # (mx-context-auto)

## **Rate Limits**

The public Gateway endpoints use a rate-limiting mechanism to ensure infrastructure stability and fair resource distribution. The limitations are as follows:

* **gateway.multiversx.com (_Mainnet_):** Maximum of **50 requests / IP / second**.
* **devnet-gateway.multiversx.com (_Devnet_):** Maximum of **50 requests / IP / second**.

[comment]: # (mx-context-auto)

## **HTTP Response format**

Each request against the MultiversX API will resolve to a JSON response having the following structure:
Expand Down Expand Up @@ -76,3 +85,4 @@ In the case of an **error**, the `data` field is unset, the `error` field contai
:::important
When describing each HTTP endpoint on the following pages, the basic structure of the response is **simplified for brevity,** and, in general, only the actual payload of the response is depicted.
:::
```
14 changes: 10 additions & 4 deletions docs/sdk-and-tools/rest-api/multiversx-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,18 @@ An API instance can be started with the following behavior:
- subscription: used to manage subscriptions, fetch and broadcast data to subscribers
[comment]: # (mx-context-auto)

## Rate limiting
### Rate Limits

Public MultiversX APIs have a rate limit mechanism that brings the following limitations:
Public MultiversX APIs utilize a protective rate-limiting mechanism to ensure network stability. The following limitations apply:

- api.multiversx.com (_mainnet_): 2 requests / IP / second
- devnet-api.multiversx.com (_devnet_): 5 requests / IP / second
#### HTTP Requests (REST API)
* **api.multiversx.com (_Mainnet_):** Maximum of **2 requests / IP / second**.
* **devnet-api.multiversx.com (_Devnet_):** Maximum of **5 requests / IP / second**.

---

#### WebSocket Subscriptions
* **Subscription Limit:** A single client can create a maximum of **10 different subscription variants** (active parallel subscriptions).

[comment]: # (mx-context-auto)

Expand Down
Loading