# Token Buy-to-Sell Activity Ratio — Ordered Trend Analysis

> Token Buy-to-Sell Activity Ratio — Ordered Trend Analysis is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Performs ordered trend analysis on a time-series of token buy/sell count observations to compute and evaluate the directional trend of the buy-to-sell ratio.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-trend?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-ordered-trend-analysis-4d832162
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hN9acXiGXWb6tXKVLz-mB

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 token-buy-to-sell-activity-ratio-ordered-trend-analysis-4d832162 -d '<json body>'
```

Example prompt: Can you run an ordered trend analysis on this token's buy-to-sell ratio? Here are 4 intervals of data: buy_count 120, sell_count 80; then 132, 88; then 120, 80; then 132, 88 — tell me if the ratio is trending up, down, or flat.

## When to prefer this

Choose this endpoint when you have a time-ordered sequence of raw token buy and sell counts and need a deterministic, bounded trend analysis of the buy-to-sell ratio across those observations. It is ideal for programmatic trading signals, strategy backtesting data checks, or periodic monitoring tasks where you supply your own historical data snapshots rather than needing live market scanning. Prefer it over general-purpose statistics tools when you want a pre-packaged ratio trend verdict at low cost ($0.01 USDC per call).

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 observations required
- sell_count of 0 in any row — exclusiveMinimum of 0 enforced, will fail validation
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric values in buy_count or sell_count fields
- Malformed JSON body or missing required fields

## How this service works

Token buy-to-sell activity ratio — Ordered trend analysis: Ordered trend analysis for Token buy-to-sell activity ratio. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded ordered trend analysis report.

## Output

Returns a structured ordered trend analysis report for the supplied sequence of token buy-to-sell ratio observations, including computed ratio values per row and a deterministic trend verdict (e.g. upward, downward, flat) based on the ordered input data. No live market scanning or trade recommendations are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "buy_count",
     "sell_count"
    ],
    "properties": {
     "buy_count": {
      "type": "number",
      "default": 120,
      "maximum": 10000000000000000,
      "minimum": 0
     },
     "sell_count": {
      "type": "number",
      "default": 80,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "buy_count": 120,
     "sell_count": 80
    },
    {
     "buy_count": 132,
     "sell_count": 88
    },
    {
     "buy_count": 120,
     "sell_count": 80
    },
    {
     "buy_count": 132,
     "sell_count": 88
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-to-sell-activity-ratio-ordered-trend-analysis-4d832162/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
