Get User Offers
POST/private/NftUserOffers
Get NFT user offers. Gets the offers placed by the requesting user or received to owned NFTs.
Request
- application/x-www-form-urlencoded
Body
required
Optional chain id filter
Optional collection id filter
Offers to return per request
unix time (in seconds) defining the latest offer time. Set to 0 to requests latest as possible.
Exclude offers linked to a quote. That excludes any offer initiated by Market Maker.
Optional nft id filter
Nonce used in construction of API-Sign
header
Paging offset
Possible values: [placed
, received
]
Offer scope, Placed or Received
Possible values: [desc
, asc
]
Sort method
unix time (in seconds) defining the earliest offer time
Possible values: [open
, closed
, expired
]
Optional offer status filter
Responses
- 200
Response
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- MOD1
- MOD2
- MOD3
- Array [
- ]
- ]
result objectnullable
Total count of user offers
offers object[]required
Array of user offers
amount objectrequired
Offer amount
amount object required
An amount, either as a string, and integer, or a decimal value
string
integer
number
alt_name
is handy when interacting with Kraken API
user friendly asset name for display purpose
unix time (in seconds) defining the offer expiry time
Offer id
item objectrequired
NFT details
blockchain objectrequired
nft_image objectnullable
Main image for this NFT This is provided for easier access, but it may be retrieved from nft_media
too.
Possible values: [Main
, Image
, Animation
, Video
, TopBanner
, Other
]
Role of this media relative to the catalog object.
media objectnullable
Exact copy of the original media, stored in a Kraken server.
DO NOT TRUST THIS DATA TO BE SAFE.
Danger: this contains arbitrary content from the internet and may be malicious. This should never be embedded directly inside a webpage. Proper care should be given if linking to this media (e.g. use rel="noopener"
).
Despite these risks, the raw media is still exposed as it's the true copy of the blockchain media as retrieved by Kraken. Viewing it may help if processing introduced defects to the media.
The value depends on MediaProcessingState
: - Wait
or Source
: None
- Process
or Ready
: Some
Media type: image/png
, image/jpeg
, etc.
Full size of the content in bytes.
Note that the actual transfer size may be smaller if compression is applied.
URL for the content of this media.
This is always served as HTTPS, either from the Kraken media server directly or from a Cloudflare Images subdomain.
nft_media object[]required
All media for this NFT
Possible values: [Main
, Image
, Animation
, Video
, TopBanner
, Other
]
Role of this media relative to the catalog object.
media objectnullable
Exact copy of the original media, stored in a Kraken server.
DO NOT TRUST THIS DATA TO BE SAFE.
Danger: this contains arbitrary content from the internet and may be malicious. This should never be embedded directly inside a webpage. Proper care should be given if linking to this media (e.g. use rel="noopener"
).
Despite these risks, the raw media is still exposed as it's the true copy of the blockchain media as retrieved by Kraken. Viewing it may help if processing introduced defects to the media.
The value depends on MediaProcessingState
: - Wait
or Source
: None
- Process
or Ready
: Some
Media type: image/png
, image/jpeg
, etc.
Full size of the content in bytes.
Note that the actual transfer size may be smaller if compression is applied.
URL for the content of this media.
This is always served as HTTPS, either from the Kraken media server directly or from a Cloudflare Images subdomain.
Optional quote id
Social id of the offers's creator user
Possible values: [open
, closed
, expired
]
Offer status
Offer status detail
unix time (in seconds) defining the offer creation time
{
"error": [
"EGeneral:Invalid arguments"
],
"result": {
"count": 0,
"offers": [
{
"amount": {
"amount": "string",
"asset_alt_name": "string",
"asset_name": "string"
},
"expire_time": 0,
"id": "string",
"item": {
"blockchain": {
"asset": "string",
"id": "string"
},
"collection_id": "string",
"collection_name": "string",
"creators": [
"string"
],
"nft_id": "string",
"nft_image": {
"kind": "Main",
"media": {
"media_type": "string",
"size": 0,
"url": "string"
}
},
"nft_media": [
{
"kind": "Main",
"media": {
"media_type": "string",
"size": 0,
"url": "string"
}
}
],
"nft_name": "string",
"nft_thumbnail_url": "string"
},
"quote_id": "string",
"ref_bucket_id": "string",
"social_id": "string",
"status": "open",
"status_detail": "string",
"time": 0
}
]
}
}
{
"error": [],
"result": {
"offers": [
{
"id": "ON65F7C-CDFOB-VSYE6D",
"quote_id": "None",
"time": 1709679512,
"status": "open",
"status_detail": "LOCKED",
"ref_bucket_id": "1",
"amount": {
"asset_name": "USDC",
"asset_alt_name": "USDC",
"amount": "5.00000000"
},
"expire_time": 1710198000,
"social_id": "disagree-solve-wait",
"item": {
"nft_id": "NTF6XJ7-FK7UJ-STHZ2W",
"nft_name": "Decent Aqua Narwhal",
"nft_thumbnail_url": "",
"nft_image": {
"kind": "Main",
"media": {
"url": "https://assets-dynamic.kraken.com/media1%2F25735d1e152318760a10f61502f646023ecffd3a4e9a6d6e6c973e0532db239b.png",
"media_type": "image/png",
"size": 10188897
}
},
"nft_media": [
{
"kind": "Main",
"media": {
"url": "https://assets-dynamic.kraken.com/media1%2F25735d1e152318760a10f61502f646023ecffd3a4e9a6d6e6c973e0532db239b.png",
"media_type": "image/png",
"size": 10188897
}
}
],
"creators": [
"brains + zombies"
],
"blockchain": {
"id": "SOLANA",
"asset": "SOL"
},
"collection_id": "NCZPYAB-V6MJD-4X7NG7",
"collection_name": "brains + zombies (brains)"
}
}
],
"count": 1
}
}