# AES-256-GCM Decrypt

> AES-256-GCM Decrypt is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.016/call, status unknown (last checked 2026-09-14).

Decrypts AES-256-GCM ciphertext using a provided key, initialization vector (IV), and authentication tag

## Facts

- Endpoint: GET https://api.x402node.dev/crypto/aes-decrypt
- Price: $0.016/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-af755aa5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DaNU1KG9opBvdckRYz_Wz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-x402node-dev-af755aa5
```

Example prompt: I have an AES-256-GCM encrypted ciphertext '3a9f...c1d2', the key is 'abc123...', the IV is 'f3a9...', and the auth tag is '9b2c...' — can you decrypt it back to the original plaintext?

## When to prefer this

Use this endpoint when you need to decrypt data that was encrypted using AES-256-GCM symmetric authenticated encryption, particularly when you already have the key, IV, and authentication tag. Ideal for decrypting payloads encrypted by the sibling AES-encrypt endpoint on the same platform, or any standard AES-256-GCM encrypted data.

## Known failure modes

- Invalid or wrong key results in authentication failure and decryption error
- Incorrect IV causes authentication tag mismatch
- Malformed or truncated authentication tag triggers GCM authentication failure
- Ciphertext has been tampered with, causing integrity check failure
- Missing required fields (key, IV, ciphertext, or auth tag) returns 400 Bad Request
- Ciphertext is not valid base64 or hex encoding returns parsing error

## How this service works

AES decryption, AES-256-GCM decrypt, symmetric decryption, authenticated decryption, decrypt cipher, decode encrypted. Decrypt AES-256-GCM ciphertext given the key, IV, and authentication tag. Accepts payment on Base or Solana — either network works.

## Output

The decrypted plaintext string recovered from the AES-256-GCM ciphertext, assuming the key, IV, and authentication tag are all correct and the ciphertext has not been tampered with.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "key"
     ],
     "properties": {
      "iv": {
       "type": "string",
       "description": "Init vector (hex) (optional)"
      },
      "key": {
       "type": "string",
       "description": "Key (hex) (required)"
      },
      "auth_tag": {
       "type": "string",
       "description": "Auth_tag (optional)"
      },
      "ciphertext": {
       "type": "string",
       "description": "Text to decrypt (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-af755aa5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
