# GET /v1/xrpl/fee

Current XRPL fee tiers in drops with a congestion score.

## Purpose

Returns economy, standard and priority fees in drops plus a 0-100 congestion score and band (`low`, `medium`, `high`) computed from queue fill, open-ledger fee pressure and load factor.

## When to use

Before submitting a transaction, to choose a `Fee` and to decide whether the network is congested.

## When not to use

Not a price feed and not a historical series; it describes the latest validated ledger only.

## Parameters

This endpoint takes no parameters.

## Request example

```sh
curl -s "https://api.criptonlabs.com/v1/xrpl/fee"
```

## Response example (200)

```json
{
  "fee": {
    "economy": "10",
    "standard": "10",
    "priority": "11"
  },
  "congestion": {
    "score": 4,
    "band": "low",
    "load_factor_assumed": false
  },
  "base_fee": "10",
  "median_fee": "5000",
  "minimum_fee": "10",
  "open_ledger_fee": "10",
  "current_queue_size": "0",
  "max_queue_size": "2000",
  "meta": {
    "ledger_index": 100234567,
    "as_of": "2026-10-06T12:00:03.000Z",
    "age_seconds": 1,
    "cache": "hit",
    "stale": false
  }
}
```

## Errors

- 429 [rate-limited](https://api.criptonlabs.com/errors/rate-limited.md)
- 503 [upstream-unavailable](https://api.criptonlabs.com/errors/upstream-unavailable.md)

## Caching

Fresh for 4 seconds; on upstream failure the last good value is served for up to 60 seconds (`meta.stale` is `true`), then the service answers 503. See the [freshness guide](https://api.criptonlabs.com/docs/guides/freshness.md).

## Rate limit

Tier `cheap`. See the [rate-limits guide](https://api.criptonlabs.com/docs/guides/rate-limits.md).

## MCP tool

The MCP tool `xrpl_fee` returns the same data. See the [MCP quickstart](https://api.criptonlabs.com/docs/guides/mcp-quickstart.md).
