Error with ETH 2.0 APIs

I am trying to run the ‘get committee assignments’ API for ETH 2.0 and it doesn’t work when the epoch provided is anything less than or equal to the last confirmed epoch. The response code received is 410. Below is the Python program I am running:

import requests
import json
url = “
querystring = {“epoch”:“1449”}
auth = (‘project id’,‘pswd’)
response = requests.request(“GET”, url, auth=auth, params=querystring)

if response.status_code == 200:
js = response.json()

Similarly the ‘get beacon state’ API ( is not working for any slots belonging to epoch which is less than the last confirmed epoch

The ‘get validators matching the specified query’ API also doesn’t work for epochs less than the latest confirmed epoch… Also if we give a future epoch it should throw an error but instead it shows the data from the latest epoch

Hi @abhi.bugs,

Currently our Eth 2.0 API does not support archive data. However, we appreciate your enthusiasm for this feature and will be adding that capability in the future!

Thenka Leiya… Are there API’s for Medalla testnet as well please?

There are! You can find it at