# Blockscout — Get Celo epoch details.

Get Blockscout Celo epoch details 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 returned epoch number, epoch start block number, epoch end block number, reported epoch finalization flag, and returned distribution section for epoch detail pages, and reward research.

Documentation: https://openany.si/blockscout/blockscout-get-celo-epoch-details/e7ca6291-62ff-4236-b935-b6e3ae70a0b4/
API ID: e7ca6291-62ff-4236-b935-b6e3ae70a0b4
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/celo/epochs/{number}
Page update time: 2026-12-03T02:49:17.740Z
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:17.152Z. 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 Details API

Pass chain\_id and the epoch number as the string path input number. The response includes the epoch’s block range, processing references, is\_finalized and available distribution or election-reward sections.

## What You Can Build

- **Epoch detail pages**: Show block boundaries and processing context.
- **Reward research**: Inspect available distribution sections for an epoch.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `number` | Returned epoch number |
| `start_block_number` | Epoch start block number |
| `end_block_number` | Epoch end block number |
| `is_finalized` | Reported epoch finalization flag |
| `distribution` | Returned distribution section |
| `aggregated_election_rewards` | Returned aggregate election-reward section |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Get Celo epoch details. 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": {
        "number": {
          "type": "string",
          "description": "Epoch number in the path."
        },
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "number",
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "aggregated_election_rewards": {
      "type": "object",
      "properties": {}
    },
    "distribution": {
      "type": "object",
      "properties": {}
    },
    "end_block_number": {
      "type": "integer"
    },
    "end_processing_block_hash": {
      "type": "string"
    },
    "end_processing_block_number": {
      "type": "integer"
    },
    "is_finalized": {
      "type": "boolean"
    },
    "number": {
      "type": "integer"
    },
    "start_block_number": {
      "type": "integer"
    },
    "start_processing_block_hash": {
      "type": "string"
    },
    "start_processing_block_number": {
      "type": "integer"
    },
    "timestamp": {
      "type": "string"
    },
    "type": {
      "type": "string"
    }
  }
}
```

## 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/%3Cnumber%3E' \
  -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
{
  "aggregated_election_rewards": {},
  "distribution": {},
  "end_block_number": 0,
  "end_processing_block_hash": "<end_processing_block_hash>",
  "end_processing_block_number": 0,
  "is_finalized": false,
  "number": 0,
  "start_block_number": 0,
  "start_processing_block_hash": "<start_processing_block_hash>",
  "start_processing_block_number": 0,
  "timestamp": "<timestamp>",
  "type": "L1"
}
```

## 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 number identify a block?
It identifies an epoch in this route. The response contains separate start and end block numbers.

### Is the path number an integer input?
This selected implementation defines number as a string path input.

### Are reward sections always populated?
Handle empty or unavailable distribution and aggregated_election_rewards sections without inventing amounts.

### Does an epoch record imply it is finalized?
Check is_finalized and the returned processing context.

### 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-get-celo-epoch-details/e7ca6291-62ff-4236-b935-b6e3ae70a0b4/

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