You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new endpoint in the marketplace server to fetch all items
It should accept all same filters as the current endpoint in the nft server
Filters
first: Limit the number of results. Type: number.
skip: Skip results. Type: number.
sortBy: Sort results. Possible values: newest, name, recently_listed, recently_sold, cheapest.
category: Filter by NFTCategory. Possible values: parcel, estate, wearable, ens.
owner: Filter by owner. Type: address.
isOnSale: Only return results that have an open, non-expired listing. Type: boolean.
search: Free text search. Type: string.
isLand: Only return results that their category is either parcel or estate.
isWearableHead: Only return results that their category is wearable and are part of the avatar's head. Type boolean.
isWearableAccessory: Only return results that their category is wearable and accessories (not a part of the body).
isWearableSmart: Only return smart wearables. Type boolean.
wearableCategory: Filter results by WearableCategory. Possible values: eyebrows,eyes,facial_hair,hair,mouth,upper_body,lower_body,feet,earring,eyewear,hat,helmet,mask,tiara,top_head, skin, hands_wear.
wearableGender: Filter results by GenderFilterOption. It supports multiple values by adding the query param multiple times. Possible values: male, female, unisex.
emoteCategory: Filter results by EmoteCategory. Possible values: dance, stunt, greetings, fun, poses, reactions, horror, miscellaneous.
emoteGender: Filter results by GenderFilterOption. It supports multiple values by adding the query param multiple times. Possible values: male, female, unisex.
emotePlayMode: Filter results by EmotePlayMode. It supports multiple values by adding the query param multiple times. Possible values: simple, loop
contractAddress: Filter results by contract address. It supports multiple values by adding the query param multiple times. Type: address.
creator: Filter results by the creator address. It supports multiple values by adding the query param multiple times. Type: string.
tokenId: Filter results by tokenId. Type: string.
itemRarity: Filter results by Rarity. It supports multiple values by adding the query param multiple times. Possible values: unique, mythic, legendary, epic, rare, uncommon, common.
itemId: Filter results by itemId. Type string.
network: Filter results by Network. Possible values: ETHEREUM, MATIC.
isOnRent: Filter results by NFTs that are on rent. Possible values: true, false
rentalStatus: Filter results by Rental status. Can be used only when querying NFTs that are on rent using the isOnRent flag. Possible values: open, executed, claimed, cancelled.
minPrice: Filter results by minimun price. Type: number
maxPrice: Filter results by max price. Type: number
adjacentToRoad: Filter land that is next to a road. Type: boolean
minDistanceToPlaza: Filter land that has a distance to a plaza of minimun this value. Type: number
maxDistanceToPlaza: Filter land that has a distance to a plaza of maximun this value. Type number
minEstateSize: Filter results by minimum amount of parcels in the Estate. Type: number
maxEstateSize: Filter results by maximum amount of parcels in the Estate. Type: number
rentalDays: Filter lands that have the possibility to be rented at least one of the days listed on rentalDays. Type: number. Repeatable
The text was updated successfully, but these errors were encountered:
meelrossi
changed the title
Add /v1/nfts endpoint in marketplace-server
Rewrite /v1/nfts endpoint
Aug 21, 2024
Add new endpoint in the marketplace server to fetch all items
It should accept all same filters as the current endpoint in the nft server
Filters
first
: Limit the number of results. Type:number
.skip
: Skip results. Type:number
.sortBy
: Sort results. Possible values:newest
,name
,recently_listed
,recently_sold
,cheapest
.category
: Filter byNFTCategory
. Possible values:parcel
,estate
,wearable
,ens
.owner
: Filter by owner. Type:address
.isOnSale
: Only return results that have an open, non-expired listing. Type:boolean
.search
: Free text search. Type:string
.isLand
: Only return results that theircategory
is eitherparcel
orestate
.isWearableHead
: Only return results that their category iswearable
and are part of the avatar's head. Typeboolean
.isWearableAccessory
: Only return results that their category iswearable
and accessories (not a part of the body).isWearableSmart
: Only return smart wearables. Typeboolean
.wearableCategory
: Filter results byWearableCategory
. Possible values:eyebrows
,eyes
,facial_hair
,hair
,mouth
,upper_body
,lower_body
,feet
,earring
,eyewear
,hat
,helmet
,mask
,tiara
,top_head
,skin
,hands_wear
.wearableGender
: Filter results byGenderFilterOption
. It supports multiple values by adding the query param multiple times. Possible values:male
,female
,unisex
.emoteCategory
: Filter results byEmoteCategory
. Possible values:dance
,stunt
,greetings
,fun
,poses
,reactions
,horror
,miscellaneous
.emoteGender
: Filter results byGenderFilterOption
. It supports multiple values by adding the query param multiple times. Possible values:male
,female
,unisex
.emotePlayMode
: Filter results byEmotePlayMode
. It supports multiple values by adding the query param multiple times. Possible values:simple
,loop
contractAddress
: Filter results by contract address. It supports multiple values by adding the query param multiple times. Type:address
.creator
: Filter results by the creator address. It supports multiple values by adding the query param multiple times. Type:string
.tokenId
: Filter results bytokenId
. Type:string
.itemRarity
: Filter results byRarity
. It supports multiple values by adding the query param multiple times. Possible values:unique
,mythic
,legendary
,epic
,rare
,uncommon
,common
.itemId
: Filter results byitemId
. Typestring
.network
: Filter results byNetwork
. Possible values:ETHEREUM
,MATIC
.isOnRent
: Filter results by NFTs that are on rent. Possible values:true
,false
rentalStatus
: Filter results byRental status
. Can be used only when querying NFTs that are on rent using theisOnRent
flag. Possible values:open
,executed
,claimed
,cancelled
.minPrice
: Filter results by minimun price. Type:number
maxPrice
: Filter results by max price. Type:number
adjacentToRoad
: Filter land that is next to a road. Type:boolean
minDistanceToPlaza
: Filter land that has a distance to a plaza of minimun this value. Type:number
maxDistanceToPlaza
: Filter land that has a distance to a plaza of maximun this value. Typenumber
minEstateSize
: Filter results by minimum amount of parcels in the Estate. Type:number
maxEstateSize
: Filter results by maximum amount of parcels in the Estate. Type:number
rentalDays
: Filter lands that have the possibility to be rented at least one of the days listed on rentalDays. Type:number
. RepeatableThe text was updated successfully, but these errors were encountered: