Rest API

Get all spaces

Get a single space

Get all proposals of a space

Get all votes of a proposal

Get a proposal

You can get a proposal content from IPFS directly using the proposal id: https://ipfs.io/ipfs/QmQpKL29E6ydTvC6p9NoEbTda9ddDkVtWe2YWpWK3NFYqq

get
List of voters

https://hub.snapshot.page/api/voters?from=1608500000&to=1609500000&spaces=balancer,yam.eth
Get a list of all voters from specific spaces for a specific period.
Request
Response
Request
Query Parameters
from
optional
number
Timestamp from
to
optional
number
Timestamp to
spaces
optional
string
Spaces ids separated with commas
Response
200: OK
[
{
"address": "0xaaAb28818F71C96E13518025Cc063A1CA6F4Fd58",
"timestamp": 1609109064,
"space": "yam.eth"
},
{
"address": "0xFdbE95Ec43ca5C77929a1c30E9Ee588c28c5C9B4",
"timestamp": 1609102537,
"space": "yam.eth"
},
...
]

Testnet hub

To see content from https://demo.snapshot.page you need to query the testnet hub at this url: https://testnet.snapshot.page