⚠️ DEPRECATED ⚠️ objkt.com public API v2
In October 2022, we released version 3 of Objkt.com Public API. We will sunset v2 on January 30, 2023.
Please migrate to v3 immediately.
Reading the v3 changes summary should help with the migration.
v2 Documentation
- Endpoint: https://data.objkt.com/v2/graphql
Limits
- 120 requests per minute
- Max 500 results, paginate based on the last pk/id/timestamp to retrieve everything
- No subscriptions / live queries / websocket
Schema
All queries exist as entity
and entity_pk
, the latter letting you query directly by Primary Key.
Entities
attribute
An item from a tzip-21 attributes array.
id
(id
)name
(string
)type
(string
)value
(string
)attribute_counts
relationship to a collection offa2_attribute_count
tokens
relationship to a collection oftoken_attribute
currency
id
(id
)type
(fa1.2
|fa2
|tez
)fa
relationship to a singlefa
fa_contract
token
relationship to a singletoken
token_pk
dutch_auction
id
(id
)bigmap_key
(integer
)amount
(integer
)amount_left
(integer
)end_price
(integer
)end_time
(utc_datetime
)expiry
(utc_datetime
)hash
(string
)level
(integer
)shares
([]
)start_price
(integer
)start_time
(utc_datetime
)status
(active
|concluded
|cancelled
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
)update_ophash
(string
)marketplace
relationship to a singlemarketplace_contract
marketplace_contract
currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
fa
relationship to a singlefa
fa_contract
dutch_auction_sale
id
(id
)amount
(integer
)level
(integer
)price
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
dutch_auction
relationship to a singledutch_auction
dutch_auction_id
marketplace
relationship to a singlemarketplace_contract
marketplace_contract
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
buyer
relationship to a singleholder
buyer_address
sender
relationship to a singleholder
sender_address
english_auction
id
(id
)bigmap_key
(integer
)end_time
(utc_datetime
)extension_time
(integer
)hash
(string
)highest_bid
(integer
)level
(integer
)price_increment
(integer
)reserve
(integer
)shares
([]
)start_time
(utc_datetime
)status
(active
|concluded
|cancelled
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
)update_ophash
(string
)marketplace
relationship to a singlemarketplace_contract
marketplace_contract
currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
highest_bidder
relationship to a singleholder
highest_bidder_address
fa
relationship to a singlefa
fa_contract
bids
relationship to a collection ofenglish_auction_bid
english_auction_bid
id
(id
)amount
(integer
)level
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
marketplace
relationship to a singlemarketplace_contract
marketplace_contract
bidder
relationship to a singleholder
bidder_address
auction
relationship to a singleenglish_auction
english_auction_id
event
Events are generated from blockchain actions
id
(id
)amount
(integer
)event_type
(mint
|list
|cancel_list
|ask_purchase
|create_english_auction
|cancel_english_auction
|create_dutch_auction
|cancel_dutch_auction
|conclude_auction
|dutch_purchase
|offer
|accept_offer
|cancel_offer
|offer_floor
|accept_offer_floor
|cancel_offer_floor
|english_bid
|transfer
)marketplace_event_type
(list_create
|list_cancel
|list_buy
|english_auction_create
|english_auction_cancel
|english_auction_bid
|english_auction_settle
|dutch_auction_create
|dutch_auction_cancel
|dutch_auction_buy
|offer_create
|offer_accept
|offer_cancel
|offer_floor_create
|offer_floor_accept
|offer_floor_cancel
)price
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
creator
relationship to a singleholder
creator_address
recipient
relationship to a singleholder
recipient_address
fa
relationship to a singlefa
fa_contract
marketplace
relationship to a singlemarketplace_contract
marketplace_contract
token
relationship to a singletoken
token_pk
fa
A Tezos contract, represents either an FA2 contract or an FA1.2 contract (see type
.)
Holds info about a collection and different stats.
contract
(string
)originated
(string
), contract that originated this contractactive_auctions
(integer
), number of active auctionsactive_listing
(integer
), number of active listingscategory
(string
)collection_id
(string
)collection_type
(curated
|auto
|generative
|artist
|open
|custom
),artist
means a collection created directly on objkt.com,curated
means a collection of pieces from different artists who were hand-picked,generative
means a collection where tokens were generated from a set of rules/layers,open
means a collection where anyone can mint anything.index_contract_metadata
(boolean
)description
(string
)floor_price
(integer
), cheapest listing in this collection in xtzitems
(integer
), number of tokens in this collectioneditions
(integer
), total number of editions of all tokens in this collectionlast_metadata_update
(utc_datetime
)ledger_type
(other
|nft_asset
|multi_asset
)level
(integer
)live
(boolean
)logo
(string
)metadata
(string
)name
(string
), collection name (or asset name for FA1.2 contract)owners
(integer
), number of unique wallets holding a token from this collectionpath
(string
)short_name
(string
)timestamp
(utc_datetime
)token_link
(string
)twitter
(string
), Twitter username used to link from collection pagetype
(fa1.2
|fa2
)tzip16_key
(string
)volume_24h
(integer
)volume_total
(integer
)website
(string
), Website URL shown on collection pageupdated_attributes_counts
(utc_datetime
)creator
relationship to a singleholder
creator_address
collaborators
relationship to a collection ofinvitation
tokens
relationship to a collection oftoken
events
relationship to a collection ofevent
attribute_counts
relationship to a collection offa2_attribute_count
asks
relationship to a collection ofobj_ask
offers
relationship to a collection ofobj_offer
english_auctions
relationship to a collection ofobj_english_auction
dutch_auctions
relationship to a collection ofobj_dutch_auction
fa2_attribute_count
Keeps track of attribute rarity per fa2.
id
(id
)tokens
(integer
), how many tokens have this attribute in this fa2editions
(integer
), how many tokens have this attribute in this fa2fa
relationship to a singlefa
fa_contract
attribute
relationship to a singleattribute
attribute_id
hen_swap
DEPRECATED in favor of listing
A HenSwap
is a listing on a hicetnunc-like marketplace contract.
A swap is uniquely identified by swap_id, contract
.
Supported contracts are:
pk
(id
)swap_id
(integer
)contract
(string
)amount
(integer
)amount_left
(integer
)level
(integer
)price
(integer
)royalties
(integer
)status
(active
|concluded
|cancelled
)timestamp
(utc_datetime
)ophash
(string
)seller
relationship to a singleholder
seller_address
token
relationship to a singletoken
token_pk
trades
relationship to a collection ofhen_trade
hen_trade
DEPRECATED in favor of listing_sale
id
(id
)price
(integer
)level
(integer
)timestamp
(utc_datetime
)ophash
(string
)swap
relationship to a singlehen_swap
swap_pk
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
buyer
relationship to a singleholder
buyer_address
holder
A holder
is an implicit or originated tezos account.
address
(string
)flag
(none
|banned
|flagged
|removed
)alias
(string
), Tezos Profiles alias (basic information)logo
(string
), Tezos Profiles logo (basic information)website
(string
), Tezos Profiles website (basic information)description
(string
), Tezos Profiles description (basic information)discord
(string
), Tezos Profiles verified discord accountethereum
(string
), Tezos Profiles verified ethereum accountfacebook
(string
), Tezos Profiles verified facebook accountgithub
(string
), Tezos Profiles verified github accountgitlab
(string
), Tezos Profiles verified gitlab accountinstagram
(string
), Tezos Profiles verified instagram accountmedium
(string
), Tezos Profiles verified medium accountreddit
(string
), Tezos Profiles verified reddit accountdns
(string
), Tezos Profiles verified dns accountslack
(string
), Tezos Profiles verified slack accounttelegram
(string
), Tezos Profiles verified telegram accounttwitter
(string
), Tezos Profiles verified twitter accounttzdomain
(string
), Tezos Domains reverse recordcreated_offer
relationship to a collection ofobj_offer
sold_offer
relationship to a collection ofobj_offer
target_offer
relationship to a collection ofobj_offer
created_english
relationship to a collection ofobj_english_auction
highest_bidders_english
relationship to a collection ofobj_english_auction
bidder_english
relationship to a collection ofobj_english_bid
created_event
relationship to a collection ofevent
received_event
relationship to a collection ofevent
created_fa2
relationship to a collection offa
created_ask
relationship to a collection ofobj_ask
bought_ask
relationship to a collection ofobj_fulfilled_ask
sold_ask
relationship to a collection ofobj_fulfilled_ask
sent_ask
relationship to a collection ofobj_fulfilled_ask
target_ask
relationship to a collection ofobj_ask
created_dutch
relationship to a collection ofobj_dutch_auction
bought_dutch
relationship to a collection ofobj_fulfilled_dutch
sold_dutch
relationship to a collection ofobj_fulfilled_dutch
sent_dutch
relationship to a collection ofobj_fulfilled_dutch
sales_stats
relationship to a collection ofsales_stat
created_swap
relationship to a collection ofhen_swap
bought_trade
relationship to a collection ofhen_trade
sold_trade
relationship to a collection ofhen_trade
owner_operators
relationship to a collection oftoken_operator
operator_operators
relationship to a collection oftoken_operator
receiver_royalties
relationship to a collection ofroyalties
created_tokens
relationship to a collection oftoken_creator
held_tokens
relationship to a collection oftoken_holder
collaborations
relationship to a collection ofinvitation
invitation
id
(id
)status
(invited
|accepted
)timestamp
(utc_datetime
)update_timestamp
(utc_datetime
)fa
relationship to a singlefa
fa_contract
holder
relationship to a singleholder
collaborator_address
listing
A Listing
is something listed for direct sale, for instance: "I am selling X editions of token Y for Z xtz each."
id
(id
)bigmap_key
(integer
), bigmap key of this listing in thismarketplace_contract
amount
(integer
), how many editions are for sale in this listingamount_left
(integer
), how many editions have not yet been sold on this listinglevel
(integer
), block levelprice
(integer
), price per edition incurrency
start_price
(integer
)end_price
(integer
)shares
([]
), royalties mapstatus
(active
|concluded
|cancelled
)expiry
(utc_datetime
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
), operation hashupdate_ophash
(string
)marketplace
relationship to a singlemarketplace_contract
marketplace_contract
currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
fa
relationship to a singlefa
fa_contract
seller
relationship to a singleholder
seller_address
target
relationship to a singleholder
target_address
listing_sales
relationship to a collection oflisting_sale
listing_sale
id
(id
)amount
(integer
)level
(integer
)price
(integer
)timestamp
(utc_datetime
)ophash
(string
)marketplace
relationship to a singlemarketplace_contract
marketplace_contract
listing
relationship to a singlelisting
listing_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
buyer
relationship to a singleholder
buyer_address
sender
relationship to a singleholder
sender_address
marketplace_contract
Contracts related to marketplace things (listings, offers, auctions, …)
We file MarketplaceContract
s into groups and subgroups, and assign them an easily recognizable name.
contract
(string
)name
(string
), the name we chose, it is not necessarily the 'official', on-chain metadata name of this contractgroup
(string
), the 'organization' to which this contract belongssubgroup
(string
),marketplace
when it handles marketplace, i.e. listings/offers (it can also handle other things such as auctions),english
when it only handles english auctions,dutch
when it only handles dutch auctionsevents
relationship to a collection ofevent
obj_ask
DEPRECATED in favor of listing
An ask
is a listing on objkt.com marketplace contract.
id
(id
)amount
(integer
), how many editions are being sold via this listingamount_left
(integer
), how many editions have not yet been sold on this listinglevel
(integer
), block levelprice
(integer
), price per edition incurrency
shares
([]
), royalties mapstatus
(active
|concluded
|cancelled
)expiry
(utc_datetime
), timestamp at which the listing expirestimestamp
(utc_datetime
), timestamp at which the listing was createdupdate_level
(integer
), last level at which the record was modifiedupdate_timestamp
(utc_datetime
), last time the record was modifiedophash
(string
), operation hashcontract_version
(integer
), the current marketplace contract is version 4currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
target
relationship to a singleholder
target_address
fa
relationship to a singlefa
fa_contract
fulfilled_asks
relationship to a collection ofobj_fulfilled_ask
obj_dutch_auction
DEPRECATED in favor of dutch_auction
id
(id
)amount
(integer
)amount_left
(integer
)contract_version
(integer
)end_price
(integer
)end_time
(utc_datetime
)expiry
(utc_datetime
)hash
(string
)level
(integer
)shares
([]
)start_price
(integer
)start_time
(utc_datetime
)status
(active
|concluded
|cancelled
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
fa
relationship to a singlefa
fa_contract
obj_english_auction
DEPRECATED in favor of english_auction
id
(id
)contract_version
(integer
)end_time
(utc_datetime
)extension_time
(integer
)hash
(string
)highest_bid
(integer
)level
(integer
)price_increment
(integer
)reserve
(integer
)shares
([]
)start_time
(utc_datetime
)status
(active
|concluded
|cancelled
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
highest_bidder
relationship to a singleholder
highest_bidder_address
fa
relationship to a singlefa
fa_contract
bids
relationship to a collection ofobj_english_bid
obj_english_bid
DEPRECATED in favor of english_auction_bid
id
(id
)amount
(integer
)level
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
bidder
relationship to a singleholder
bidder_address
auction
relationship to a singleobj_english_auction
auction_id
obj_fulfilled_ask
DEPRECATED in favor of listing_sale
id
(id
)amount
(integer
)level
(integer
)price
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
ask
relationship to a singleobj_ask
ask_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
buyer
relationship to a singleholder
buyer_address
sender
relationship to a singleholder
sender_address
obj_fulfilled_dutch
DEPRECATED in favor of dutch_auction_sale
id
(id
)amount
(integer
)level
(integer
)price
(integer
)timestamp
(utc_datetime
)ophash
(string
)currency
relationship to a singlecurrency
currency_id
dutch_auction
relationship to a singleobj_dutch_auction
dutch_auction_id
token
relationship to a singletoken
token_pk
seller
relationship to a singleholder
seller_address
buyer
relationship to a singleholder
buyer_address
sender
relationship to a singleholder
sender_address
obj_offer
DEPRECATED in favor of offer
id
(id
)level
(integer
)price
(integer
)shares
([]
)floor_offer
(boolean
)status
(active
|concluded
|cancelled
)expiry
(utc_datetime
)timestamp
(utc_datetime
)update_level
(integer
)update_timestamp
(utc_datetime
)ophash
(string
)contract_version
(integer
)currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
buyer
relationship to a singleholder
buyer_address
seller
relationship to a singleholder
seller_address
target
relationship to a singleholder
target_address
fa
relationship to a singlefa
fa_contract
offer
An Offer
is a proposal made by a buyer to buy something, for instance: "I am offering X xtz for one edition of token Y."
A "collection offer" (aka "floor offer") is an offer that is valid for any item of a specific collection, for instance: "I am offering X xtz for any Tezzardz."
id
(id
)bigmap_key
(integer
), bigmap key of this offer in thismarketplace_contract
price
(integer
)shares
([]
), royalties mapcollection_offer
(string
)status
(active
|concluded
|cancelled
)expiry
(utc_datetime
)ophash
(string
)update_ophash
(string
)level
(integer
)update_level
(integer
)timestamp
(utc_datetime
)update_timestamp
(utc_datetime
)marketplace
relationship to a singlemarketplace_contract
marketplace_contract
currency
relationship to a singlecurrency
currency_id
token
relationship to a singletoken
token_pk
buyer
relationship to a singleholder
buyer_address
seller
relationship to a singleholder
seller_address
target
relationship to a singleholder
target_address
fa
relationship to a singlefa
fa_contract
royalties
id
(id
)decimals
(integer
)amount
(integer
)holder
relationship to a singleholder
receiver_address
token
relationship to a singletoken
token_pk
sales_stat
id
(id
)interval_days
(integer
)rank
(integer
)type
(buyer
|seller
)volume
(integer
)subject
relationship to a singleholder
subject_address
tag
An item from a tzip-21 tags array.
id
(id
)name
(string
)token_count
(integer
)tokens
relationship to a collection oftoken_tag
tezos_storage
id
(id
)tzip16_key
(string
)tzip16_value
(string
)fa
relationship to a singlefa
fa_contract
token
pk
(id
)token_id
(string
)artifact_uri
(string
)description
(string
)display_uri
(string
)extra
([]
)force_metadata_update
(boolean
)highest_offer
(integer
)is_signed
(boolean
)last_listed
(utc_datetime
)last_metadata_update
(utc_datetime
)level
(integer
)lowest_ask
(integer
)metadata
(string
)mime
(string
)symbol
(string
)decimals
(integer
)is_boolean_amount
(boolean
)rights
(string
)supply
(integer
)thumbnail_uri
(string
)timestamp
(utc_datetime
)name
(string
)ophash
(string
)flag
(none
|banned
|flagged
|removed
)average
(integer
)tzip16_key
(string
)fa
relationship to a singlefa
fa_contract
royalties
relationship to a collection ofroyalties
asks
relationship to a collection ofobj_ask
offers
relationship to a collection ofobj_offer
dutch_auctions
relationship to a collection ofobj_dutch_auction
english_auctions
relationship to a collection ofobj_english_auction
events
relationship to a collection ofevent
fulfilled_asks
relationship to a collection ofobj_fulfilled_ask
hen_swaps
relationship to a collection ofhen_swap
hen_trades
relationship to a collection ofhen_trade
operators
relationship to a collection oftoken_operator
creators
relationship to a collection oftoken_creator
holders
relationship to a collection oftoken_holder
attributes
relationship to a collection oftoken_attribute
tags
relationship to a collection oftoken_tag
token_attribute
id
(id
)token
relationship to a singletoken
token_pk
attribute
relationship to a singleattribute
attribute_id
token_creator
verified
(boolean
)holder
relationship to a singleholder
creator_address
token
relationship to a singletoken
token_pk
token_holder
last_incremented_at
(utc_datetime
)quantity
(decimal
)holder
relationship to a singleholder
holder_address
token
relationship to a singletoken
token_pk
token_operator
id
(id
)allowed
(boolean
)amount
(decimal
)owner
relationship to a singleholder
owner_address
operator
relationship to a singleholder
operator_address
token
relationship to a singletoken
token_pk
token_registry
address
(string
)active
(boolean
)type
(fa1.2
|fa2
|tez
)beneficiary
(string
)fee
(integer
)
token_tag
tzd_domain
id
(string
)expiry
(utc_datetime
)owner
(string
)token
relationship to a singletoken
token_pk
tzd_tld
relationship to a singletzd_tld
tzd_tld_id
records
relationship to a collection oftzd_record
tzd_record
id
(string
)domain
relationship to a singletzd_domain
domain_id
target
relationship to a singleholder
target_address
tzd_tld
id
(string
)owner
(string
)domains
relationship to a collection oftzd_domain