Aller au contenu
GET /v1/meta

Service metadata

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/snapshot-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/snapshot-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/snapshot-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/snapshot-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/snapshot-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "A space is an ENS-style id (aave.eth, dorg.eth, arbitrumfoundation.eth); a proposal id is a 0x hash (get them from /v1/proposals). voting_power is token-weighted; choice is the 1-based index into the proposal's choices.",
        "source": "Snapshot GraphQL hub (hub.snapshot.org/graphql, live)",
        "service": "snapshot-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/space": "A DAO space profile — followers, proposal/vote counts, network, token (space=aave.eth).",
            "GET /v1/votes": "Votes cast on a proposal, ranked by voting power (proposal=0x..., limit=25).",
            "GET /v1/proposal": "A single proposal in full — body, choices with scores, author, timing (proposal=0x...).",
            "GET /v1/proposals": "Governance proposals newest-first (filters: space, state=active|closed|pending, limit=20)."
        },
        "description": "Live DAO governance data from Snapshot, the off-chain voting platform most crypto DAOs use for proposals and votes. The proposals endpoint returns proposals newest-first, filterable by DAO space and state (active/closed/pending); the proposal endpoint returns a single proposal in full (body, choices with scores, author, timing); the votes endpoint returns votes cast on a proposal ranked by voting power; the space endpoint returns a DAO space profile (followers, proposal/vote counts, network, token). Live, no key, nothing stored. The DAO-governance cut of crypto — distinct from the price, market, on-chain, DeFi and exchange APIs.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:54.306Z",
        "request_id": "3b7ca3a9-9317-41cf-98de-98425608c7d0"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}