# BasaltSurge x402 Subscription

> BasaltSurge x402 Subscription is a paid API for AI agents from surge-sand.basalthq.com, paid per call via x402, $399/call, status unknown (last checked 2026-09-15).

Creates a paid subscription plan on the BasaltSurge crypto commerce platform, returning an API key and subscription ID via x402 agentic payment

## Facts

- Endpoint: POST https://surge-sand.basalthq.com/api/x402/subscribe
- Price: $399/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basaltsurge-x402-subscription-5c7f663f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_62UUq6XlQtfR1jErgqHaY

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 basaltsurge-x402-subscription-5c7f663f -d '<json body>'
```

Example prompt: Sign me up for the BasaltSurge pro plan — the $399 one — so I can get an API key and start accepting multi-currency crypto payments on Base.

## When to prefer this

Use this endpoint when an AI agent or application needs to programmatically subscribe to the BasaltSurge crypto commerce platform and obtain an API key, especially in automated or agentic workflows using the x402 payment standard. Prefer this over manual sign-up when building agent-driven onboarding pipelines or when the x402 payment protocol is already in use.

## Known failure modes

- Invalid planKey value returns error response
- Payment of $399 USDC not completed or rejected by x402 facilitator causes subscription not created
- Missing required planKey field returns validation error
- Enterprise plan ($500) or unknown plan key may fail if not properly authorized
- Network or blockchain congestion may cause delayed confirmation

## How this service works

Basaltsurge is a full‑stack crypto commerce platform: multi‑currency payments (USDC, ETH, cbBTC) on Base, the x402 agentic payment standard, Google&#x27;s Universal Commerce Protocol (UCP), instant receipts &amp; QR terminals, on‑chain split releases, shops, loyalty, and whitelabel partner containers.

## Output

Returns a JSON object with a boolean ok status, the plan name (e.g. 'pro'), the newly provisioned apiKey, a human-readable message, the price in USD, and a unique subscriptionId for the created subscription.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "planKey"
 ],
 "properties": {
  "planKey": {
   "enum": [
    "starter",
    "pro",
    "enterprise"
   ],
   "type": "string",
   "description": "Pricing: starter=$0, pro=$399, enterprise=$500"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "plan": {
   "type": "string"
  },
  "apiKey": {
   "type": "string"
  },
  "message": {
   "type": "string"
  },
  "priceUsd": {
   "type": "number"
  },
  "subscriptionId": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basaltsurge-x402-subscription-5c7f663f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from surge-sand.basalthq.com](https://www.zero.xyz/host/surge-sand.basalthq.com/llms.txt)
