---
name: api.g2e.io
description: api.g2e.io exposes two read-only data endpoints for the G2E gaming platform: one returning historical voting poll records from gaming sessions, and one returning aggregate platform-wide analytics including bet totals, win/loss statistics, and per-casino breakdowns. Both endpoints require no input parameters and return structured snapshots of past or current platform state.
host: api.g2e.io
---

# api.g2e.io

G2E is a gaming platform that combines interactive voting polls with casino-style wagering. This host serves agents that need to audit or analyze G2E platform activity — either by reviewing closed community polls tied to game sessions, or by pulling high-level performance metrics across the platform and its affiliated casinos (bcgame, solcasino). It is a lightweight, read-only data host with no write, streaming, or user-level capabilities.

## When to use this host

Use this host when an agent needs read-only snapshots of G2E platform data: historical voting poll outcomes or aggregate casino performance metrics. Do not use it for real-time or streaming data, per-user analytics, individual bet records, or any write operations — the host has no such capabilities. If an agent requires live poll state, per-session granularity, or user-level wagering history, a different data source or a direct G2E API with broader endpoint coverage would be needed. With only two no-input endpoints, this host is best suited for periodic reporting, auditing, or context-enrichment tasks rather than dynamic query-driven workflows.

## Capabilities

### Platform Analytics

Provides aggregate performance metrics for the G2E platform, including total bets placed, win/loss rates, net profit, total wagered amounts, and breakdowns by individual casino operator.

- **`fetch-g2e-analytics-overview`** — Returns a high-level analytics snapshot for the G2E platform including platform-wide bet totals, win/loss stats, net profit, wagered amounts, and per-casino breakdowns.

### Voting Poll History

Retrieves historical records of closed voting polls from G2E gaming sessions, including poll questions, game context, vote distributions, option weights, and winning outcomes.

- **`fetch-voting-poll-history`** — Returns a list of historical voting polls from the G2E platform, including poll metadata, game context, options, vote counts, weights, and results for each closed poll.

## Workflows

### Gaming Session Audit

*Use when an agent needs to correlate platform-level betting performance with the community voting activity that occurred during the same period.*

1. **`fetch-g2e-analytics-overview`** — Retrieve aggregate platform metrics — total bets, win rate, net profit — to establish the performance baseline for the period of interest.
2. **`fetch-voting-poll-history`** — Pull closed poll records to identify which game types were active and how community votes were distributed, allowing cross-reference against the betting outcomes surfaced in the analytics snapshot.

## Skill reference

### `fetch-voting-poll-history`

**G2E Voting Poll History** — Returns a list of historical voting polls from the G2E platform, including poll metadata, game context, options, vote counts, weights, and results for each closed poll.

*Use when:* Use when an agent needs to retrieve past voting poll records from a G2E gaming session, including which game type was active, what options were presented, how votes were distributed, and which option won.

*Not for:* Do not use for live or currently open polls; this endpoint returns only historical (closed) poll records.

**Returns:** Returns a polls array where each entry is a closed poll with game context, options list, per-option vote counts and weights, winning option, and session metadata.

**Example:** `GET https://api.g2e.io/api/voting/polls/history`

---

### `fetch-g2e-analytics-overview`

**G2E Analytics Overview** — Returns a high-level analytics snapshot for the G2E platform including platform-wide bet totals, win/loss stats, net profit, wagered amounts, and per-casino breakdowns.

*Use when:* Use when an agent needs a current summary of G2E platform performance metrics such as total bets, win rate, net profit, total wagered, and individual casino (bcgame, solcasino) statistics.

*Not for:* Do not use for real-time streaming data or per-user analytics; this endpoint returns aggregate platform-level and casino-level summaries only.

**Returns:** Returns platform-wide totals (bets, wins, losses, win rate, net profit, wagered, biggest win) and per-casino breakdowns for bcgame and solcasino, plus agent-level aggregate fields.

**Example:** `GET https://api.g2e.io/api/analytics/overview`

---
