1. Introduction
  2. Basics
  3. Authorization
  4. Get rank by DID
  5. GET List of Top 25 Data Sets
  6. GET Historical Price Data by DID
  7. Access to a shared Ethereum (Erigon) node

§ Introduction

rugpullindex provides daily insights into data markets like Ocean Protocol and Big Data Protocol. In addition to the stats on our website, this data and more is also available for developers through our RESTful API.

Please note that rugpullindex's API is a work in progress for the time being. You can reach me (tim at daubenschuetz dot de) unbureauratically by sending me an email in case the API doesn't work or when you need better functionality.

§ Basics

Here's a few data points about the API:

name value
root https://rugpullindex.com/api/v1/
structure RESTful

§ Authorization

Most endpoints on this page require authorization in form of a HTTP Authorization header. For now, we're giving out API_KEYs (e.g. "Qab0cE") to anyone that manually contacts us for free. To use your key with methods of this API that require authorization add the following HTTP header:

Authorization: Bearer your-key

OR e.g. with a fake key:

Authorization: Bearer Qab0cE

§ GET rank by DID

Description: Given an index's identifier indexid and a did, this endpoint returns an asset's current rank on rugpullindex.com.


$ curl https://rugpullindex.com/api/v1/indices/OP-COMPOSITE-V1/ranks/did:op:7Bce67697eD2858d0683c631DdE7Af823b7eea38



§ GET List of Top 25 Data Sets

Description: Given an index's identifier indexid, this endpoints returns a sorted list of today's top 25 data set assets.


$ curl \
  -H "Authorization: Bearer <token>" \


  {"...", "and so on"}

§ GET Historical Price Data by DID

Description: Given an asset's DID, this endpoint returns a list of prices for a date range (between start and end). rugpullindex has recorded the prices of all OCEAN assets since January 1, 2021. We've started recording the prices of BDP assets on May 5, 2021. We fetch price data once a day, hence the endpoint's resolution is about 1 day. All prices are either in EUR or USD.



curl -H "Authorization: Bearer <token>" \



§ Access To Our Ethereum Erigon Node

If you are in possession of an API_KEY, you're also eligible to query our Ethereum Erigon full node RPC endpoints. The node is reverse-proxied, hence adding a HTTP Authorization: Bearer key header with your API_KEY is mandatory. To find out which json-rpc endpoints you can query and how, please refer to the reference documentation of geth, erigon or the Ethereum Wiki.

name value
url https://node.rugpullindex.com
authorization required? yes
rate limited? no
geth apis exposed eth,web3,net

Finally, an example using curl:

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \