# x402station.io Credits

> x402station.io Credits is a paid API for AI agents from x402station.io, paid per call via x402, $0.5/call, status down (last checked 2026-09-15).

Purchases prepaid credit balance for x402station.io Preflight calls, returning a creditId, balance, and expiry timestamp for $0.50 USDC per 1000 calls.

## Facts

- Endpoint: POST https://x402station.io/api/v1/credits
- Price: $0.5/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402station-io-d9bb424e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oYRuq7a-JVLcgvkezBmgg

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 x402station-io-d9bb424e -d '<json body>'
```

Example prompt: Buy me a prepaid x402station.io credit pack so I have 1000 Preflight calls ready to go — charge $0.50 USDC and give me the creditId and expiry.

## When to prefer this

Use this endpoint before making bulk x402station.io Preflight or Preflight Batch calls — purchasing credits upfront at $0.50/1000 calls is more cost-efficient than per-call billing, and the returned creditId can be passed to subsequent evaluation calls to draw down the balance.

## Known failure modes

- Insufficient USDC balance causes payment failure and no creditId returned
- Duplicate payment submission may result in only one credit allocation
- Network timeout during settlement leaves credit state ambiguous
- Expired or invalid payment token causes 402/401 rejection
- Rate limiting if too many credit purchases attempted in rapid succession

## How this service works

Independent risk-signal layer for x402 agentic commerce — endpoint evidence (decoy / zombie / price-trap / never-paid) before an agent authorizes payment.

## Output

Returns a JSON object with creditId (unique identifier for the credit allocation), balance (number of calls remaining, starting at 1000), and expiresAt (timestamp when the credits expire).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": {
   "header": "X-Credit-Id",
   "statusUrl": "https://x402station.io/api/v1/credits/0a44f6b8-3b7d-4f2a-9e3a-2c5fd1b0aa11"
  },
  "balance": 1000,
  "creditId": "0a44f6b8-3b7d-4f2a-9e3a-2c5fd1b0aa11",
  "createdAt": "2026-04-28T00:00:00Z",
  "expiresAt": "2026-07-27T00:00:00Z",
  "paidAmount": "0.50",
  "payerAddress": "0x30d2b1f9bcEdE5F13136b56Ff199A8ad6E4f50de",
  "initialBalance": 1000
 }
}
```

## More

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