---
title: "Check API Credits"
method: POST
path: "/v1/credits"
tags: ["Authorization"]
---

# Check API Credits

`POST /v1/credits`

## Request

- Base URL: `https://api.casparser.in`
- URL: `https://api.casparser.in/v1/credits`
- Auth: API key in header `x-api-key`

Check your remaining API credits and usage for the current billing period.

Returns:
- Number of API calls used and remaining credits
- Credit limit and reset date
- List of enabled features for your plan

Credits reset at the start of each billing period.

## Response `200`

Credits information retrieved successfully

- object
  - `used` number: Number of credits used this billing period
  - `remaining` number, nullable: Remaining credits (null if unlimited)
  - `limit` integer: Total credit limit for billing period
  - `is_unlimited` boolean: Whether the account has unlimited credits
  - `resets_at` string, date-time, nullable: When credits reset (ISO 8601)
  - `enabled_features` string[]: List of API features enabled for your plan

## Other responses

- `400`: Bad request (e.g., using access token instead of API key)
- `401`: Unauthorized. This can happen if the `x-api-key` header is missing.

## Changes

- **2026-09-13** `cf1b57c0f2f7`: 1 warning
  - the optional response header `X-Request-ID` removed for the status `401`
- **2026-07-12** `c74b9ecd5b53`: 1 warning
  - added the new `failed` enum value to the `status` response property for the response status `401`
- **2026-02-22** `be3ca0403f2f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2/changes/v1/credits/post.md)

---

[API](https://skmtc.dev/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2.md) - [All operations](https://skmtc.dev/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2/llms.txt) - [OpenAPI document](https://skmtc.dev/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2/revisions/9d8f1445bad3?raw)
