# Stelar Digital Grid Parameter Recommender

> Stelar Digital Grid Parameter Recommender is a paid API for AI agents from api.stelardigital.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Recommends grid-trading parameters (grid count, spacing percent, price band, per-grid USD allocation) for a crypto pair and capital amount using live 24h market structure.

## Facts

- Endpoint: GET https://api.stelardigital.com/gridparams?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stelar-digital-grid-parameter-recommender-12b10f2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZiVN79pcF4ZZCGeA8tD1D

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 stelar-digital-grid-parameter-recommender-12b10f2d
```

Example prompt: What grid trading parameters should I use for SOL with $2000 in capital — give me the grid count, spacing, price band, and per-grid allocation based on current market conditions.

## When to prefer this

Choose this endpoint when you need to configure or size a grid bot before deployment and want parameters grounded in live market structure rather than static heuristics. It is specifically designed to match the spacing bounds of a production grid engine, making it ideal for agents that will hand off config directly to a grid bot. Prefer this over manual calculation when you need a consistent, market-aware starting point for grid count, spacing, and capital allocation across supported crypto pairs.

## Known failure modes

- Unsupported asset symbol returns a validation error (only ADA, BTC, DOGE, ETH, LTC, SOL, XLM, XRP are accepted)
- Capital below $100 or above $1,000,000 returns a parameter validation error
- Live market data unavailable may return a 503 or degraded response
- Stale market data during low-liquidity periods may affect recommendation quality

## How this service works

Grid-trading parameter recommendation for a crypto pair and capital amount — grid count, spacing percent, price band, and per-grid USD allocation, derived from live 24h market structure using the same spacing bounds as a production grid engine. For agents configuring, sizing, or backtesting a grid bot before deployment.

## Output

Returns recommended grid trading configuration derived from live 24h market data, including grid count, spacing percent (constrained to production grid engine bounds), price band (lower and upper price levels), and per-grid USD allocation based on the supplied capital.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asset"
     ],
     "properties": {
      "asset": {
       "enum": [
        "ADA",
        "BTC",
        "DOGE",
        "ETH",
        "LTC",
        "SOL",
        "XLM",
        "XRP"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. SOL"
      },
      "capital": {
       "type": "number",
       "maximum": 1000000,
       "minimum": 100,
       "description": "Capital to allocate in USD"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": 1720400000,
  "asset": "SOL",
  "symbol": "SOLUSDT",
  "last_price": 172.4,
  "day_range_pct": 4.8,
  "recommendation": {
   "grids": 32,
   "band_low": 165.1,
   "band_high": 178.9,
   "spacing_pct": 0.5,
   "per_grid_usd": 31.25,
   "buy_side_bias": "contrarian — grids buy weakness, sell strength"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stelar-digital-grid-parameter-recommender-12b10f2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stelardigital.com](https://www.zero.xyz/host/api.stelardigital.com/llms.txt)
