{
  "x402Version": 2,
  "id": 41145,
  "slug": "41145",
  "resource": "https://apexrunner.ai/signals/grid-health",
  "description": "APEX Runner: Grid Health Signal",
  "type": "http",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8D0663BBb967ebF1c047405A888DDf865f3E8854",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "7000",
      "amountUsd": 0.007,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "atr_14": {
            "type": "number"
          },
          "atr_fit": {
            "type": "string"
          },
          "coin": {
            "type": "string"
          },
          "computed_at": {
            "type": "string"
          },
          "current_config": {
            "properties": {
              "levels": {
                "type": "integer"
              },
              "spacing_pct": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "data_age_seconds": {
            "type": "integer"
          },
          "grid_efficiency_pct": {
            "type": "number"
          },
          "max_age_seconds": {
            "type": "integer"
          },
          "optimal_spacing_pct": {
            "type": "number"
          },
          "projected_daily_fills": {
            "type": "number"
          },
          "recommendation": {
            "type": "string"
          },
          "rsi_14": {
            "type": "number"
          },
          "stale": {
            "type": "boolean"
          }
        },
        "type": "object"
      }
    },
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "trading-signals",
      "description": "Grid bot health monitor for Kraken and Coinbase Advanced Trade grid trading positions. Returns fill rate, PnL %, and rebalance recommendation to keep autonomous grid trading bots optimally configured.",
      "example": {
        "fill_rate": 0.68,
        "pnl_pct": 2.3,
        "rebalance_needed": false,
        "recommendation": "hold"
      },
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "coin": "BTC",
            "levels": 8,
            "spacing_pct": 0.8
          },
          "type": "http"
        },
        "output": {
          "example": {
            "fill_rate": 0.68,
            "pnl_pct": 2.3,
            "rebalance_needed": false,
            "recommendation": "hold"
          },
          "fill_rate": "float — fraction of grid levels filled in the current cycle 0.0 to 1.0",
          "pnl_pct": "float — grid bot PnL as a percentage since last rebalance",
          "rebalance_needed": "boolean — true when price has moved outside the active grid range",
          "recommendation": "string — suggested action: hold, rebalance, pause, or close",
          "type": "json"
        }
      },
      "name": "Grid Health Monitor",
      "outputSchema": {
        "fill_rate": "float",
        "pnl_pct": "float",
        "rebalance_needed": "boolean",
        "recommendation": "string"
      },
      "schema": {
        "properties": {
          "input": {
            "properties": {
              "queryParams": {
                "properties": {
                  "coin": {
                    "default": "BTC",
                    "enum": [
                      "AVAX",
                      "BTC",
                      "ETH",
                      "LINK",
                      "SOL",
                      "XRP"
                    ],
                    "type": "string"
                  },
                  "levels": {
                    "default": 8,
                    "type": "integer"
                  },
                  "spacing_pct": {
                    "default": 0.8,
                    "type": "number"
                  }
                },
                "type": "object"
              }
            },
            "required": [
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "atr_14": {
                    "type": "number"
                  },
                  "atr_fit": {
                    "type": "string"
                  },
                  "coin": {
                    "type": "string"
                  },
                  "computed_at": {
                    "type": "string"
                  },
                  "current_config": {
                    "properties": {
                      "levels": {
                        "type": "integer"
                      },
                      "spacing_pct": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "data_age_seconds": {
                    "type": "integer"
                  },
                  "grid_efficiency_pct": {
                    "type": "number"
                  },
                  "max_age_seconds": {
                    "type": "integer"
                  },
                  "optimal_spacing_pct": {
                    "type": "number"
                  },
                  "projected_daily_fills": {
                    "type": "number"
                  },
                  "recommendation": {
                    "type": "string"
                  },
                  "rsi_14": {
                    "type": "number"
                  },
                  "stale": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "version": "1.0.0"
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "apexrunner.ai",
  "lastUpdated": "2026-10-08T06:25:49.574Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:25:49.459Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "category": "trading-signals",
        "description": "Grid bot health monitor for Kraken and Coinbase Advanced Trade grid trading positions. Returns fill rate, PnL %, and rebalance recommendation to keep autonomous grid trading bots optimally configured.",
        "example": {
          "fill_rate": 0.68,
          "pnl_pct": 2.3,
          "rebalance_needed": false,
          "recommendation": "hold"
        },
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "coin": "BTC",
              "levels": 8,
              "spacing_pct": 0.8
            },
            "type": "http"
          },
          "output": {
            "example": {
              "fill_rate": 0.68,
              "pnl_pct": 2.3,
              "rebalance_needed": false,
              "recommendation": "hold"
            },
            "fill_rate": "float — fraction of grid levels filled in the current cycle 0.0 to 1.0",
            "pnl_pct": "float — grid bot PnL as a percentage since last rebalance",
            "rebalance_needed": "boolean — true when price has moved outside the active grid range",
            "recommendation": "string — suggested action: hold, rebalance, pause, or close",
            "type": "json"
          }
        },
        "name": "Grid Health Monitor",
        "outputSchema": {
          "fill_rate": "float",
          "pnl_pct": "float",
          "rebalance_needed": "boolean",
          "recommendation": "string"
        },
        "schema": {
          "properties": {
            "input": {
              "properties": {
                "queryParams": {
                  "properties": {
                    "coin": {
                      "default": "BTC",
                      "enum": [
                        "AVAX",
                        "BTC",
                        "ETH",
                        "LINK",
                        "SOL",
                        "XRP"
                      ],
                      "type": "string"
                    },
                    "levels": {
                      "default": 8,
                      "type": "integer"
                    },
                    "spacing_pct": {
                      "default": 0.8,
                      "type": "number"
                    }
                  },
                  "type": "object"
                }
              },
              "required": [
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "atr_14": {
                      "type": "number"
                    },
                    "atr_fit": {
                      "type": "string"
                    },
                    "coin": {
                      "type": "string"
                    },
                    "computed_at": {
                      "type": "string"
                    },
                    "current_config": {
                      "properties": {
                        "levels": {
                          "type": "integer"
                        },
                        "spacing_pct": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "data_age_seconds": {
                      "type": "integer"
                    },
                    "grid_efficiency_pct": {
                      "type": "number"
                    },
                    "max_age_seconds": {
                      "type": "integer"
                    },
                    "optimal_spacing_pct": {
                      "type": "number"
                    },
                    "projected_daily_fills": {
                      "type": "number"
                    },
                    "recommendation": {
                      "type": "string"
                    },
                    "rsi_14": {
                      "type": "number"
                    },
                    "stale": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "version": "1.0.0"
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apexrunner.ai",
    "manifest_name": "apexrunner.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "fill_rate": 0.68,
    "pnl_pct": 2.3,
    "rebalance_needed": false,
    "recommendation": "hold"
  }
}