# ScanPay Credits Micro Pack

> ScanPay Credits Micro Pack is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-01).

Purchases a prepaid micro credit pack of 5 scans for $0.10 USDC, returning an X-API-Key for use against ScanPay scanning endpoints.

## Facts

- Endpoint: POST https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/credits-micro?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scanpay-credits-micro-pack-4a7ae5a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5uFpPrQPq15TvRlPGhztl

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 scanpay-credits-micro-pack-4a7ae5a0 -d '<json body>'
```

Example prompt: Buy me a ScanPay micro credit pack — I need 5 prepaid scans for $0.10 USDC so I have an API key ready to run code security checks.

## When to prefer this

Choose this endpoint when an agent needs a small, bounded budget for scanning operations — ideal for autonomous systems with per-task spending caps, one-off security checks, or situations where you want a disposable API key tied to exactly 5 scan credits at minimal cost. Prefer over larger credit packs when usage is unpredictable or when testing the scanning service.

## Known failure modes

- Payment insufficient or rejected — USDC amount does not meet the $0.10 threshold
- Invalid or missing payment header — x402 payment proof not attached or malformed
- Credits already exhausted — key returned but credits may deplete quickly if reused
- Worker unavailable — Cloudflare edge service outage returns 5xx
- Duplicate purchase race condition — concurrent requests may result in duplicate charges without double credits

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

Returns an X-API-Key credential and confirmation of 5 prepaid scan credits loaded, along with a receipt or transaction reference for the $0.10 USDC payment.

## 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": {
  "scans": 5,
  "usage": {
   "header": "X-API-Key",
   "endpoint": "POST /api/v1/key/scan"
  },
  "api_key": "<issued-api-key>",
  "product": "scanpay.credits_micro",
  "price_usd": 0.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scanpay-credits-micro-pack-4a7ae5a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
