# Blockscout — List games.

List Blockscout Optimism protocol games via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including game record index, game contract address, reported game-type identifier, associated L2 block number, and reported game status for rollup monitoring panels, and protocol investigation.

Documentation: https://openany.si/blockscout/blockscout-list-games/f11f5240-7d0e-404f-ab38-2bf38b2cb1ca/
API ID: f11f5240-7d0e-404f-ab38-2bf38b2cb1ca
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/optimism/games
Page update time: 2026-12-03T02:49:19.724Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:19.407Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Optimism Games API

Supply chain\_id to optimism/games. items contains protocol game records with an index, contract address, game\_type and L2 block reference. Continue using the query index and optional items\_count of at least 1.

## What You Can Build

- **Rollup monitoring panels**: Present protocol game identity and status.
- **Protocol investigation**: Keep game contracts distinct from L2 block references.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].index` | Game record index |
| `items[].contract_address_hash` | Game contract address |
| `items[].game_type` | Reported game-type identifier |
| `items[].l2_block_number` | Associated L2 block number |
| `items[].status` | Reported game status |
| `items[].resolved_at` | Reported resolution timestamp when available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List games. request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "index": {
          "type": "integer",
          "description": "Item index for paging"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contract_address_hash": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "game_type": {
            "type": "integer"
          },
          "index": {
            "type": "integer"
          },
          "l2_block_number": {
            "type": "integer"
          },
          "resolved_at": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "index": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/optimism/games' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "items": [
    {
      "contract_address_hash": "<contract_address_hash>",
      "created_at": "<created_at>",
      "game_type": 0,
      "index": 0,
      "l2_block_number": 0,
      "resolved_at": "<resolved_at>",
      "status": "In progress"
    }
  ],
  "next_page_params": {
    "index": 12967
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this start or resolve a protocol game?
No. It reads explorer records for games.

### Is index a block number?
No. The record index and l2_block_number identify different resources.

### Can I filter by game_type or status?
This selected implementation exposes index and items_count for paging, without those query filters.

### Does an In progress record establish resolution?
No. Preserve the reported status and any resolution timestamp separately.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-list-games/f11f5240-7d0e-404f-ab38-2bf38b2cb1ca/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
