# xCache Create Cache

> xCache Create Cache is a paid API for AI agents from api.xcache.io, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-24).

Creates a new private cache entry via the xCache instant caching service, billed at $0.50 USDC per call

## Facts

- Endpoint: POST https://api.xcache.io/create?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xcache-create-cache-d8922cc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v1eiIb7DefqCH6pKtfqUz

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 xcache-create-cache-d8922cc5 -d '<json body>'
```

Example prompt: Store this JSON payload in xCache as a new private cache entry so I can retrieve it later: {"user": "alice", "session": "abc123", "expires": 3600}.

## When to prefer this

Choose this endpoint when you need to instantly create a private, paid cache entry without managing your own caching infrastructure. Ideal for agents that need ephemeral data storage with guaranteed availability and are already operating within an x402 payment-enabled environment. Prefer over self-hosted Redis or Memcached when low-overhead setup and pay-per-use billing are priorities.

## Known failure modes

- Insufficient USDC balance — payment of $0.50 USDC not fulfilled, returns 402 Payment Required
- Invalid or missing cache data in request body — returns 400 Bad Request
- Cache service unavailable or overloaded — returns 503 Service Unavailable
- Malformed request payload — returns 422 Unprocessable Entity
- Authentication/authorization failure — returns 401 Unauthorized
- Cache size limit exceeded — returns 413 Payload Too Large

## How this service works

Create a new cache

## Output

Returns a confirmation of the newly created cache entry, including a cache ID or key, access credentials or token, and metadata about the created cache such as expiration time. The agent can use the returned identifier to retrieve or manage the cached data later.

## More

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