# Blockscout — List Celo epochs.

List Blockscout Celo epochs 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 epoch number, epoch start block number, epoch end block number, reported epoch timestamp, and reported epoch finalization flag for epoch explorer pages, and reward navigation.

Documentation: https://openany.si/blockscout/blockscout-list-celo-epochs/2c66e119-1709-4c86-b4ac-cb4019f59120/
API ID: 2c66e119-1709-4c86-b4ac-cb4019f59120
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/celo/epochs
Page update time: 2026-12-03T02:49:19.636Z
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.175Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Celo Epoch List API

Supply chain\_id to celo/epochs. The query number is an integer continuation input, distinct from the string epoch-number path used by epoch-detail routes. items includes block ranges, timestamp, type and is\_finalized.

## What You Can Build

- **Epoch explorer pages**: Display epoch boundaries and finalization context.
- **Reward navigation**: Link epoch identities to the appropriate reward view.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].number` | Epoch number |
| `items[].start_block_number` | Epoch start block number |
| `items[].end_block_number` | Epoch end block number |
| `items[].timestamp` | Reported epoch timestamp |
| `items[].is_finalized` | Reported epoch finalization flag |
| `items[].distribution` | Returned distribution context |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List Celo epochs. 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
        },
        "number": {
          "type": "integer",
          "description": "Number 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": {
          "distribution": {
            "type": "object",
            "properties": {}
          },
          "end_block_number": {
            "type": "integer"
          },
          "is_finalized": {
            "type": "boolean"
          },
          "number": {
            "type": "integer"
          },
          "start_block_number": {
            "type": "integer"
          },
          "timestamp": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "number": {
          "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/celo/epochs' \
  -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": [
    {
      "distribution": {},
      "end_block_number": 0,
      "is_finalized": false,
      "number": 0,
      "start_block_number": 0,
      "timestamp": "<timestamp>",
      "type": "L1"
    }
  ],
  "next_page_params": {
    "number": 100
  }
}
```

## 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
### What type is number for pagination?
It is an integer on this list route. The separate epoch-detail path defines its own input type.

### Does an epoch record mean finalization is complete?
Check is_finalized rather than inferring completion from record existence.

### Does the list include every reward record?
It includes epoch-level context. Use the epoch election-rewards route for individual reward records.

### Can I request an arbitrary date range?
This selected implementation exposes items_count and number, without start/end date inputs.

### 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-celo-epochs/2c66e119-1709-4c86-b4ac-cb4019f59120/

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