Skip to main content

Use Delegate.xyz REST API

Overview

This guide explains how to use the Delegate.xyz REST API to fetch a list of incoming and outgoing delegations for a connected wallet.

Endpoint

https://api.delegate.xyz/registry/v2/

Rate limit: 25 requests per 10 seconds.

tip

To get an API key to remove the rate limit, visit the Delegate.xyz API Keys page.

Authentication

If you have an API key, add it to the X-API-KEY HTTP header.

Examples

To fetch Ronin data, pass the chainId query parameter with the value 2020 for the Ronin mainnet or 2021 for the Saigon testnet.

Get a list of delegations for a particular address

GET https://api.delegate.xyz/registry/v2/{0xAddress}?chainId=2020

Check if a particular address has delegated to another particular address

GET https://api.delegate.xyz/registry/v2/check/all?from={0xAddressFrom}&to={0xAddressTo}

See also

For more examples, see the official Delegate.xyz documentation.

Was this helpful?
Happy React is loading...