Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varun-doshi/nft-price-api
https://github.com/varun-doshi/nft-price-api
Last synced: about 15 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/varun-doshi/nft-price-api
- Owner: varun-doshi
- Created: 2024-01-20T18:42:47.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-20T18:51:02.000Z (10 months ago)
- Last Synced: 2024-01-20T19:52:31.075Z (10 months ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API server for fetching NFT Price
### 3 apis available:
1 To fetch current price of specific nft token
2 get historic floor price of nft collection (upto 30 days)
3 get price at which a nft was transferredBase Endpoint: `http://localhost:8080/`
## For 1:
`http://localhost:8080/price`
[GET] Sample data to send through body:
`
{
"address":"0x32973908FaeE0Bf825A343000fE412ebE56F802A",
"tokenId":"2712"
}
`
## For 2:
`http://localhost:8080/colection`
[GET] Sample data to send through body:
`
{
"start_date": "2024-01-18",
"contract_address": "0xED5AF388653567Af2F388E6224dC7C4b3241C544"
}
`
## For 3:
`http://localhost:8080/transaction`
[GET] Sample data to send through body:
`
{
"hash":"0xb2b28dc85712dc322fd6acb370696cce353fa5c947798868cd4b40810ff284d9"
}
`