V1 API Reference

ZERA Indexer API

Access indexed blockchain data from the ZERA network. Transactions, blocks, tokens, wallets, governance, DEX, staking, and more.

ALPHA DOCUMENTATIONThese endpoint schemas are currently in Alpha and may contain inaccuracies or incomplete payload parameters. If you encounter any structural divergence while integrating, please report it to us so we can resolve it swiftly.
https://api.zerascan.io/v1
GET ONLYJSON RESPONSES

Governance

On-chain governance proposals, voting results, stage history, and token governance configuration.

List Proposals

GET/v1/governance?request=proposals

Paginated list of governance proposals with current voting stage. Supports multi-symbol filtering.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIRED`proposals` or `list`
limitintoptionalNumber of results (1–100)
offsetintoptionalPagination offset
symbolstringoptionalFilter by token contract ID(s), comma-separated
statusstringoptionalFilter: passed, failed, active, pending, fast_passed, cancelled
sortstringoptionalSort: created_at, title, status, matures_at, votes, percentage
orderstringoptionalSort direction: asc or desc

🪙 Usage & Credits

This endpoint consumes 25 credits per request against your active API tier.

Response

json
{
  "found": "integer",
  "proposals": [
    {
      "hash": "string",
      "stageNumber": "integer",
      "lastStage": "boolean *",
      "symbol": "string",
      "creator": "string",
      "title": "string",
      "synopsis": "string",
      "body": "string",
      "options": [
        {
          "name": "string",
          "curEquiv": "float",
          "percentage": "float",
          "votes": "object",
          "transactions *": [
            {
              "type": "string",
              "hash": "string"
            }
          ]
        }
      ],
      "resultUpdated": "integer",
      "result": "string",
      "createdAt": "integer",
      "validFrom": "integer",
      "maturesAt": "integer"
    }
  ]
}

Proposal Details

GET/v1/governance?request=details

Full proposal detail with all voting stages and projected future stages. Performs live validator sync for active proposals.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIRED`details` or `proposal`
hashstringREQUIREDProposal hash

🪙 Usage & Credits

This endpoint consumes 100 credits per request against your active API tier.

Response

json
{
  "hash": "string",
  "symbol": "string",
  "creator": "string",
  "title": "string",
  "synopsis": "string",
  "body": "string",
  "options": [ "string" ],
  "createdAt": "integer",
  "stages": [
    {
      "stageNumber": "integer",
      "lastStage": "boolean",
      "options": [
        {
          "name": "string",
          "curEquiv": "float",
          "percentage": "float",
          "votes": "object",
          "transactions *": [
            {
              "type": "string",
              "hash": "string"
            }
          ]
        }
      ],
      "resultUpdated": "integer",
      "result": "string",
      "validFrom": "integer",
      "maturesAt": "integer"
    }
  ]
}

Errors

StatusCondition
400Missing hash/proposalHash parameter
404Proposal not found

Governance Config

GET/v1/governance?request=config

Governance configuration for a token: type, stages, cycle timing, quorum.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIREDMust be `config`
symbolstringREQUIREDToken contract ID

🪙 Usage & Credits

This endpoint consumes 25 credits per request against your active API tier.

Response

json
{
  "type": "string",
  "activeProposals": "integer",
  "totalProposals": "integer",
  "threshold": "integer",
  "quorum": "integer",
  "fastQuorum": "integer *",
  "durationDays": "integer *",
  "durationMonths": "integer *",
  "startCycleUnix": "integer *",
  "endCycleUnix": "integer *",
  "numberStages": "integer *",
  "currentStageNumber": "integer *",
  "stages *": [
    {
      "stageNumber": "integer",
      "isBreak": "boolean",
      "period": "string",
      "length": "integer",
      "maxAllowed": "integer *",
      "startsAt": "integer *",
      "endsAt": "integer *"
    }
  ],
  "approved": "integer",
  "denied": "integer",
  "firstTimeUnix": "integer",
  "optionProposalsAlwaysWinner": "boolean *"
}