Skip to main content
POST
/
api
/
v2
/
ethereum
/
entity
/
sub-entities
💎 Sub Entities
curl --request POST \
  --url https://beaconcha.in/api/v2/ethereum/entity/sub-entities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entity": "<string>",
  "range": {
    "evaluation_window": "24h"
  },
  "chain": "mainnet",
  "cursor": "",
  "page_size": 10,
  "sort_by": "net_share",
  "sort_order": "desc"
}
'
{
  "data": [
    {
      "sub_entity": "<string>",
      "validator_count": 1,
      "beaconscore": 0.5,
      "net_share": 0.5
    }
  ],
  "last_updated": 1,
  "range": {
    "slot": {
      "start": 1,
      "end": 1
    },
    "epoch": {
      "start": 1,
      "end": 1
    },
    "timestamp": {
      "start": 1,
      "end": 1
    }
  },
  "paging": {
    "next_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Authorization header with value: Bearer YOUR_TOKEN. Refer to the API Keys section to create your API key.

Body

application/json
entity
string
required

The name of the entity to retrieve sub-entities for (e.g., "Lido", "Coinbase"). Matching is case-sensitive.

range
Fixed Window · object
required
chain
enum<string>
default:mainnet

The Ethereum chain to query.

Available options:
mainnet,
hoodi
cursor
string
default:""

Cursor value for pagination. See our pagination guide for more details.

page_size
integer
default:10

The number of items to return per page.

Required range: 1 <= x <= 10
sort_by
enum<string>
default:net_share

The field to sort sub-entities by.

  • beaconscore: Sort by BeaconScore (validator efficiency)
  • net_share: Sort by network share (default)
  • validator_count: Sort by number of validators
Available options:
beaconscore,
net_share,
validator_count
sort_order
enum<string>
default:desc

The sort order for the results.

  • asc: Ascending order (lowest first)
  • desc: Descending order (highest first, default)
Available options:
asc,
desc

Response

Successful response.

Response containing an overview of sub-entities for a given entity with their validator count, BeaconScore, and net share.

data
object[]
required
last_updated
integer
required

Unix timestamp indicating when the sub-entities data was last computed. The underlying data is precomputed and updated hourly.

Required range: x >= 0
range
object
required

The range of data covered by the results, specified in slots, epochs, and Unix timestamps.

paging
object