> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vali.wtf/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Insights

# Data Insights

Currently available: **Block50**. More feeds coming soon.

## Block50

Block50 lets you analyze and compare wallet performance over a 50-block window. Check your own landing rates, compute usage, and block inclusion — or compare your wallet against another to see how you stack up.

## What You Can See

* **Landing rate** — how many of your transactions made it into a block
* **Block inclusion** — which blocks your transactions landed in
* **Compute units** — your CU usage vs another wallet's
* **Transaction count** — how many txs each wallet had in the window
* **Head-to-head comparison** — run your wallet against any other address over the same 50-block period

## Quick Start

```javascript theme={null}
const response = await fetch('https://api.vali.wtf/v1/block50');
const data = await response.json();
```

### Response

```json theme={null}
{
  "slot_range": {
    "start": 284501200,
    "end": 284501250
  },
  "avg_compute_units": 1423000,
  "avg_priority_fee": 52340,
  "median_priority_fee": 12500,
  "p75_priority_fee": 85000,
  "p90_priority_fee": 250000,
  "p99_priority_fee": 1500000,
  "tx_count": 48230,
  "success_rate": 0.847,
  "congestion_score": 0.72,
  "top_programs": [
    {
      "program_id": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
      "name": "Raydium AMM",
      "tx_count": 8420,
      "avg_cu": 280000
    }
  ],
  "updated_at": "2025-03-24T12:00:00Z"
}
```

## Fee Estimation

Returns a recommended priority fee based on current network conditions:

| Level       | Landing Probability | Use Case                           |
| ----------- | ------------------- | ---------------------------------- |
| `low`       | \~60%               | Non-urgent, cost-sensitive         |
| `medium`    | \~80%               | Standard transactions              |
| `high`      | \~95%               | Time-sensitive operations          |
| `very_high` | \~99%               | Critical (arbitrage, liquidations) |

## Historical Data

```
GET /v1/block50/history?from=284500000&to=284501000
```

Returns an array of Block50 snapshots for the given slot range. Useful for backtesting fee strategies and analyzing historical congestion patterns.

## Congestion Breakdown

```
GET /v1/network/congestion
```

```json theme={null}
{
  "score": 0.72,
  "level": "moderate",
  "factors": {
    "compute_saturation": 0.68,
    "write_lock_contention": 0.81,
    "tx_drop_rate": 0.15
  },
  "updated_at": "2025-03-24T12:00:00Z"
}
```
