## `service_stats`

free

`GET /service_stats`

Free. Calls, unique payers, paid volume, uptime and latency of this service over 24h, 7d and 30d. Check before paying.

No parameters.

**curl**

```sh
curl "https://api.dexra.dev/service_stats" \
  -H "Authorization: Bearer dxr_…"
```

**TypeScript**

```ts
import { Dexra } from '@dexra/client'

const dexra = new Dexra({ apiKey: process.env.DEXRA_API_KEY })
const result = await dexra.serviceStats()
console.log(result.summary)
```

**Python**

```python
import os
from dexra import Dexra

dexra = Dexra(api_key=os.environ["DEXRA_API_KEY"])
result = dexra.service_stats()
print(result["summary"])
```

**MCP**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "service_stats",
    "arguments": {}
  }
}
```

[Try it in the Playground](https://dexra.dev/app/playground?tool=service_stats)

Source: https://dexra.dev/docs/tools/service_stats
