# API Rate Limits

To maintain fair use, protect against system abuse and maintain system reliability of our APIs, data.gov.sg has rate limits for these following API services:

* [v2 Real-time APIs](https://data.gov.sg/datasets?formats=API)
* [Datastore Search](/developer-guide/dataset-apis/search-and-filter-within-dataset.md)
* [Dataset Downloads](https://guide.data.gov.sg/developer-guide/dataset-apis#downloads)

While these APIs are free to use, the rate limit is significantly lower for users who are not logged in. For production use, we highly recommend [signing up on our platform](https://data.gov.sg/?signin=Registration) to access higher rate limits.

### **Rate Limits**

The rate limits are reset every 10 seconds - the following rate limits represent the number of API calls that can be made every 10 seconds. If the rate limits are exceeded, you will receive a `429` status error (Too many requests)

<table><thead><tr><th width="209.65625">API Endpoint</th><th width="162.93359375">Without API Key</th><th width="171.984375">With Dev API Key</th><th>With Prod API Key</th></tr></thead><tbody><tr><td><a href="https://data.gov.sg/datasets?formats=API">v2 Realtime API</a></td><td>6</td><td>12</td><td>30</td></tr><tr><td><a href="/pages/3eHNCLLQW6nUvZ2MbpD5">Datastore Search</a></td><td>4</td><td>8</td><td>20</td></tr><tr><td><a href="/spaces/q7WX3NoaCV1xN8QVTpJE">Dataset Downloads</a></td><td>2</td><td>4</td><td>10</td></tr></tbody></table>

{% hint style="info" %}
**Tier Definitions**

* Without API Key: Public access. Lowest limits for exploration.
* Development Tier (Dev): Requires API Key. Moderate limits for development/testing purposes.
* Production Tier (Prod): Requires API Key. Highest limits, priority support for your application.
  {% endhint %}

We are currently fine-tuning these rate limits based on user inputs and would appreciate receiving your feedback at <support@data.gov.sg>.&#x20;


---

# 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://guide.data.gov.sg/developer-guide/api-overview/api-rate-limits.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.
