API connection error

Hi,

I tried to request historical block data (by Python) using the Celo API but I have kept receiving a connection error as beow. The API document did not mention GraphQL is available for this type of data

Sample code:
import requests
requests.get(‘https://localhost:4000/api?module=stats&action=ethsupplyexchange’,verify=False)

Error Message:
ConnectionError: HTTPConnectionPool(host=‘localhost’, port=4000): Max retries exceeded with url: /api?module=stats&action=ethsupplyexchange (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x00000231AA8EFB

Has anyone run into this before? Thanks!