> Fiscal.ai API docs. Source: https://docs.fiscal.ai/docs/guides/rate-limits. Every page is listed in https://docs.fiscal.ai/llms.txt; append `.md` to any docs URL for its Markdown.

# Rate Limits & Errors

Rate limits, error codes, and HTTP status responses for the Fiscal.ai API. Understand usage tiers and troubleshoot integration issues.

## Rate Limits

The limits below apply **only to free-plan API keys**. Paid and commercial customers are not subject to them — your plan runs on the generous limits defined in your terms of sale.

> **On a paid or commercial plan?:**
>
> The numbers on this page do **not** apply to you. Your rate limits are set generously in your agreement (terms of sale) and sized to your use case — see [Paid Plans](#paid-plans).

### Free Plan

These limits apply to **free-plan keys only**:

| Limit | Value |
| --- | --- |
| Burst requests | 50 requests/minute |
| Daily requests | 250 requests/day |
| Company-level data access | [100 companies on the free plan](https://docs.fiscal.ai/docs/guides/free-trial#included-companies) |

When you exceed the short burst limit, the API returns a `429` status code:

```json
{
  "error": "Rate limit exceeded for free trial."
}
```

When you exceed the daily limit, the API returns a `429` status code:

```json
{
  "error": "Daily request limit exceeded for free trial"
}
```

Your limit resets at midnight UTC each day.

### Paid Plans

Paid and commercial plans run on **generous rate limits defined in your terms of sale** — far above the free-plan figures above and sized to your use case. The 50/minute and 250/day limits shown above do not apply. For the specifics of your plan, refer to your agreement or contact our [sales team](https://fiscal.ai/contact-sales/).

---

## HTTP Status Codes

The API uses standard HTTP status codes to indicate the success or failure of requests.

### Success Codes

| Code | Description |
| --- | --- |
| `200 OK` | Request succeeded |

### Error Codes

| Code | Description |
| --- | --- |
| `400 Bad Request` | Missing or invalid parameters |
| `401 Unauthorized` | Missing or invalid API key |
| `403 Forbidden` | Access denied to this resource or feature |
| `404 Not Found` | Company or resource not found |
| `429 Too Many Requests` | Rate limit exceeded |
| `500 Internal Server Error` | Server error (please retry) |

---

## Error Response Format

All error responses follow this format:

```json
{
  "error": "Error message describing what went wrong"
}
```

### Common Error Messages

#### Authentication Errors (401)

```json
{
  "error": "Invalid API key"
}
```

#### Missing Parameters (400)

```json
{
  "error": "Missing required parameters: either Company Key, CUSIP, ISIN, FIGI, or Ticker + Exchange"
}
```

#### Company Not Found (404)

```json
{
  "error": "Company not found"
}
```

#### Feature Access (403)

```json
{
  "error": "You do not have access to this feature"
}
```

```json
{
  "error": "This company is not available on the free plan. Free trial companies: NASDAQ_MSFT, NASDAQ_NVDA, NASDAQ_AMZN, NASDAQ_GOOG, NASDAQ_TSLA and 95 more. Contact sales at https://fiscal.ai/contact-sales to upgrade."
}
```

#### CUSIP/ISIN License (403)

```json
{
  "error": "CUSIP/ISIN license is required, please contact sales at https://fiscal.ai/contact-sales"
}
```

#### Rate Limit Exceeded (429)

```json
{
  "error": "Daily request limit exceeded for free trial"
}
```

---

## Best Practices

1. **Cache responses** - Financial data doesn't change frequently. Cache responses to reduce API calls.
2. **Handle 429 errors gracefully** - Implement exponential backoff when you hit rate limits.
3. **Check for errors first** - Always check the HTTP status code before parsing the response body.
4. **Use company keys** - Using `companyKey` directly is faster than looking up by ticker/exchange.

---

## API Status

Check our live API status and subscribe to incident notifications:

[status.fiscal.ai](https://status.fiscal.ai)
