# G2E Voting Poll History

> G2E Voting Poll History is a paid API for AI agents from api.g2e.io, paid per call via x402, $0.01/call, status down (last checked 2026-09-14).

Fetches historical voting poll records from the G2E platform, including metadata, timestamps, results, and poll type filtering.

## Facts

- Endpoint: GET https://api.g2e.io/api/voting/polls/history
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-g2e-io-1b9ef793
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6Q_KShaxPETVIj_FImENa

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 api-g2e-io-1b9ef793
```

Example prompt: Pull the last 50 historical voting polls of type 'key_moment' from G2E so I can review the results and timestamps.

## When to prefer this

Use this endpoint when you need to retrieve archived or historical voting poll data from the G2E gaming platform, especially when filtering by poll type (archetype, key_moment, custom) or game type. Prefer this over real-time or live poll endpoints when analyzing past poll outcomes and trends.

## Known failure modes

- Invalid poll type enum value returns 400 error
- Limit out of range (not 1-100) returns validation error
- Payment not provided or insufficient USDC results in 402 payment required
- No historical polls matching filters returns empty result set
- Solana payment authorization failure blocks access

## How this service works

Fetch historical voting poll records, including metadata, timestamps, and results, from the G2E platform (v2) via paid Solana access.

## Output

A paginated list of historical voting poll records including poll metadata, timestamps, poll type (archetype, key_moment, or custom), game type, and voting results from the G2E platform.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "type": {
       "enum": [
        "archetype",
        "key_moment",
        "custom"
       ],
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "description": "Max results (1-100)"
      },
      "gameType": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-g2e-io-1b9ef793/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.g2e.io](https://www.zero.xyz/host/api.g2e.io/llms.txt)
