# Delx Commerce — Seeded Feature Bucket

> Delx Commerce — Seeded Feature Bucket is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Deterministically assigns a seed+subject pair to a numbered bucket out of N, enabling stable feature flagging and A/B experiment assignment.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-feature-bucket?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-seeded-feature-bucket-2667d447
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kWHORxBRYUvzm28pzK-bz

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 delx-commerce-seeded-feature-bucket-2667d447 -d '<json body>'
```

Example prompt: Use the seeded feature bucket API to assign user 'user_abc123' to one of 100 buckets, using experiment seed 'exp-launch-2024' — I need to know which bucket they land in for a rollout decision.

## When to prefer this

Choose this endpoint when you need deterministic, reproducible bucket assignment without storing any user data server-side — ideal for privacy-sensitive feature flagging. Its verifiable evidence record (SHA-256 input hash, zero external calls, no retention) makes it auditable. Prefer it over homegrown hashing when you need a pay-per-call model with no API key signup friction, or when operating in an agent workflow that requires on-chain payment (USDC via x402 on Base or Solana).

## Known failure modes

- Missing or invalid seed/subject strings may result in a 400 error
- bucket_count of 0 or negative integer will likely cause a computation error
- Exceeding maxLength of 8192 characters on seed or subject fields will be rejected
- Payment failure (insufficient USDC balance) results in a 402 response before computation
- Network timeout if Base/Solana payment settlement is slow

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the assigned bucket number (0-indexed integer), the total bucket count, operation name, status ('pass'), and an evidence record including whether input was retained (always false), the SHA-256 hash of the input, and the number of external calls made (always 0). This allows verifiable, auditable bucket assignment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."
  },
  "subject": {
   "type": "string",
   "maxLength": 8192,
   "description": "Subject supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."
  },
  "bucket_count": {
   "type": "integer",
   "description": "Bucket Count supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "bucket": 96,
   "bucket_count": 100
  },
  "schema": "delx/util-seeded-feature-bucket/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "986a6fbe5cafd1cbc5f04ad6ed4a1f0314e97558cccc32a4843ec91f83e97521",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_feature_bucket"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-feature-bucket-2667d447/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
