---
title: "Deduct Credits"
method: POST
path: "/v1/deduct-credits"
tags: ["User"]
---

# Deduct Credits

`POST /v1/deduct-credits`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/deduct-credits`
- Auth: none declared

## Request body

- DeductCreditsBody
  - `credits_to_deduct` integer, required

## Response `200`

Successful Response

- DeductCreditsResponse
  - `message` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api.md) - [All operations](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/revisions/a0e42195429f?raw)
