Giter Site home page Giter Site logo

bargainsniper's Introduction

Bargain sniper

Description

An API service to detect under-priced NFTs from Opensea market place. The under-price criteria is decided by compared the listing price with an estimated fair price in eth which compares each listing with the entire collection.

Motivation

Many times, an asset is listed at an underprcied valuation but we miss it just because the price is slightly above floor price This API aims to give users the chance of sniping these underpriced items by looking at some more complex metrics relating price and rarity ranking.

API endpoints

The API offers the following end-points:

Rarity rank

Gets the rarity rank of a collection

  GET: /api/token/rarity-rank/<collection>/<tokenid>

Estimated fair price

Gets the estimated fair price in eth of a token

  GET: /api/token/fair-eth-price/<collection>/<tokenid>/

Bargain factor

Get the esitmated bargain factor of a tokenid (fair price to listing price)

  GET: /api/token/bargain-factor/<collection>/<tokenid>/

Collection availability

Asks if a collection is currently available in the API, meaning that it is being tracked currently by our databases

  GET: /api/collection/is-available/<collection>/

Request new collection

Requests a new colleciton to be tracked by the bot. Requires an authentication token. For now this functinoality isdisabled until authentication system is setup.

  POST: /api/collection/request/<collection_id>/

Authentication

TBC.

Installation

pip install -r requirements.txt

References & Documentation

Opensea API

https://docs.opensea.io/reference/api-overview https://docs.opensea.io/reference/retrieving-a-single-asset

bargainsniper's People

Contributors

jacobolansac avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.