> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.withverifa.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withverifa.com/_mcp/server.

# Get rate limit status

GET https://api.withverifa.com/api/v1/rate-limits

Returns the current rate limit and quota usage for the caller's API key
and environment. This endpoint does not consume a meaningful request
against your rate limit.

Use this to monitor your remaining quota before making bulk API calls.


Reference: https://docs.withverifa.com/api-reference/api-keys/get-rate-limits

## Authentication

- `X-API-Key` header (required) — Organization API key. Keys are prefixed with `vk_live_` (production) or `vk_sandbox_` (sandbox).

## Request

### Headers

- `Verifa-Version` (date, optional) — API version date string (e.g. `2026-02-01`). If omitted, the version pinned to your API key is used.
- `Key-Inflection` (enum, optional, default: snake) — Response key casing. Defaults to `snake`.
  - Allowed values: `camel`, `kebab`, `snake`

## Response

### 200

Current rate limit and quota status.

- `rate_limit` (ApiV1RateLimitsGetResponsesContentApplicationJsonSchemaRateLimit, required) — Per-minute rate limit status for this environment.
- `quotas` (map from string to ApiV1RateLimitsGetResponsesContentApplicationJsonSchemaQuotas, required) — Per-product quota usage. Keys are quota identifiers (e.g., `verification_creation`, `key_creation`).
- `plan` (string, required) — The organization's current plan.
- `environment` (enum, required) — The environment for this API key (sandbox or live).
  - Allowed values: `sandbox`, `live`

## Errors

### 401 Unauthorized Error

Missing or invalid API key.

- `error` (string, required) — Short error code.
- `status_code` (integer, required) — HTTP status code.
- `detail` (string, optional) — Human-readable error description.

## Types

### ApiV1RateLimitsGetResponsesContentApplicationJsonSchemaRateLimit

Per-minute rate limit status for this environment.

- `limit` (integer, optional) — Maximum requests per window.
- `remaining` (integer, optional) — Requests remaining in the current window.
- `reset_in_seconds` (integer, optional) — Seconds until the current window resets.
- `window_seconds` (integer, optional) — Window duration in seconds (60).

### ApiV1RateLimitsGetResponsesContentApplicationJsonSchemaQuotas

- `label` (string, optional)
- `limit` (integer, optional, nullable)
- `remaining` (integer, optional, nullable)
- `reset_in_seconds` (integer, optional, nullable)

## Examples

**Response**

```json
{
  "rate_limit": {
    "limit": 1,
    "remaining": 1,
    "reset_in_seconds": 1,
    "window_seconds": 1
  },
  "quotas": {},
  "plan": "professional",
  "environment": "sandbox"
}
```

**SDK Code**

```python
import requests

url = "https://api.withverifa.com/api/v1/rate-limits"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.withverifa.com/api/v1/rate-limits';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.withverifa.com/api/v1/rate-limits"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.withverifa.com/api/v1/rate-limits")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.withverifa.com/api/v1/rate-limits")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.withverifa.com/api/v1/rate-limits', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.withverifa.com/api/v1/rate-limits");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.withverifa.com/api/v1/rate-limits")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```