Download OpenAPI specification:Download
The API for the Magisat project (https://api.magisat.io/).
To request an API key, please apply here.
Our Premium API version offers customers access to high-performance endpoints designed to handle complex and resource-intensive requests. Due to the intensive resources required to maintain these premium services, we implement a fee structure to sustain their quality, availability, and reliability. By subscribing to the Premium API, customers not only gain access to these enhanced features but also contribute to the ongoing development and support of a robust, scalable system that ensures exceptional performance, even for the most complex and computationally intensive queries.
To subscribe to our API, open a ticket on our discord: https://discord.gg/magisat . No worries, we respond promptly!
Premium endpoints are available only for users with a premium subscription. To get access to these endpoints, please contact us on discord.
Any Unspent Transaction Output, containing no special sats, and less than 1,000 sats overall - is called a Prepared UTXO.
Prepared UTXOs are used as placeholders to allow other outputs to reach a certain index in the transaction. This procesure ensures the end-to-end trustless UTXO-exchange functionality.
Spendables UTXOs are the UTXOs that contain ONLY the followings type of rare-sats (just from the list): Palindrome, Sequence Pali, Alpha & Omega. We will make announcements when new types of rare-sats are added to the list.
They are used in case the wallet you made the request for has not enough common utxos for payment when creating prepareds or making a buy. If the user has no problems with using spendables as payment, the spendables won't be used if the wallet has enough commons. Spendables are used only if needed.
You can decide in each request by changing the param overrideDisableSpendables
. The default is false, case in which spendables can be used. Set to true if you don't want to use the spendables as payment even if wallet has not enough commons for payment.
We will continue to provide updates and support for the endpoints marked as Legacy, so your existing code will not break. However, in an effort to bring all the endpoints to a healthy level of standardization and consistency, please consider migrating to the non-legacy endpoints.
API 2.0.0 will mark the discontinuation of the Legacy endpoints.
Get list of available tags ordered by priority.
isCategory | string Enum: "true" "1" "false" "0" Filter tags by column isCategory. By not specifying this param, the endpoint will return all tags. To get only tags that are categories set the param to one of the values "true" or "1". If you specify any other value the endpoint will return non-category tags. |
beforeTime | string Enum: "1h" "24h" "7d" "30d" "ALL" Changes totalVolume and beforeFloorPrice key values for tags. By not specifing this param, or setting the ALL value will not use any time frame for total volume and set beforeFloorPrice to null. |
includeIsVirtual | string Enum: "true" "1" Optional, set to true or 1 to receive ordinal collections alongside rare-sats tags. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "priority": 0,
- "slug": "string",
- "isRoadarmor": true,
- "isRodarmor": true,
- "isCategory": true,
- "description": "string",
- "isGrowingSupply": true,
- "allowNameSearch": true,
- "isNameBasedCategory": true,
- "totalSupply": "string",
- "circulatingSupply": "string",
- "activeInEpoch": "string",
- "activePast365d": "string",
- "sequestered": "string",
- "inscribed": "string",
- "isVirtual": true,
- "networkId": 0,
- "useTagImage": true,
- "floorPrice": "string",
- "beforeFloorPrice": "string",
- "floorRelativeUnitPrice": "string",
- "itemsCount": "string",
- "pendingPurchaseCount": "string",
- "weekVolume": "string",
- "thirtyDayVolume": "string",
- "totalVolume": "string",
- "pending": "string",
- "sales": "string",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "additionalSattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "change": "string",
- "isExternalFloor": true
}
], - "count": "string"
}
Get paginated history of floor prices for a given tag.
tagId required | string <uuid> The tag id to get the floor price history. |
offset required | number Start offset to get history. Used for pagination |
limit required | number Number of history to get. Used for pagination. Maximum limit is 10000. |
timeOrder required | string Enum: "ASC" "DESC" Order the history from the response by timestamp. Choose between ASC or DESC order. |
X-MGST-API-KEY required | string |
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "floor": "string"
}
]
Get the tagId, name and picture for a given tag slug.
slug required | string The slug of the tag to get. |
X-MGST-API-KEY required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "picture": "string"
}
Get paginated list of available ordinals collections.
offset required | number Start offset to get collections. Used for pagination |
limit required | number Number of collections to get. Used for pagination. Maximum limit is 50. |
beforeTime | string Enum: "1h" "24h" "7d" "30d" "ALL" Changes totalVolume and beforeFloorPrice key values for tags. By not specifing this param, or setting the ALL value will not use any time frame for total volume and set beforeFloorPrice to null. |
sortBy | string Enum: "WEEK_VOLUME_ASC" "WEEK_VOLUME_DESC" Order the collections from the response by a column with a given sort direction. By default (if missing) will use the natural sorting from frontend. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "priority": 0,
- "slug": "string",
- "isRoadarmor": true,
- "isRodarmor": true,
- "isCategory": true,
- "description": "string",
- "isGrowingSupply": true,
- "allowNameSearch": true,
- "isNameBasedCategory": true,
- "totalSupply": "string",
- "circulatingSupply": "string",
- "activeInEpoch": "string",
- "activePast365d": "string",
- "sequestered": "string",
- "inscribed": "string",
- "isVirtual": true,
- "networkId": 0,
- "useTagImage": true,
- "floorPrice": "string",
- "beforeFloorPrice": "string",
- "floorRelativeUnitPrice": "string",
- "itemsCount": "string",
- "pendingPurchaseCount": "string",
- "weekVolume": "string",
- "thirtyDayVolume": "string",
- "totalVolume": "string",
- "pending": "string",
- "sales": "string",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "additionalSattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "change": "string",
- "isExternalFloor": true
}
], - "count": "string"
}
Get list of available listings.
X-MGST-API-KEY required | string |
offset required | number <int64> Start index to get listings. Used for pagination. |
limit required | number <int64> How many listings to fetch. Used for pagination. Maximum limit 50. |
tagId | string <uuid> Get tagId from /tag. Used to filter listings which have at least a satoshi that has all required sattributes of the given tag. |
additionalSattributes | Array of strings <uuid> [ items <uuid > ] List of Sattribute ids. Get them from /tag response under the additionalSattributes field. Used in combination with tagId to allow more filtering of the listings. Will fetch listings which have at least a satoshi that hash all required sattributes of the given tag, plus the given list of additional sattributes given. |
minUpdatedAt | string <date-time> Filter listings that were updated after the given date-time (is inclusive). |
maxUpdatedAt | string <date-time> Filter listings that were updated before the given date-time (is inclusive). |
minPrice | string <int64> Value in satoshis. Filter listings that have a price greater or equal to the given value. |
maxPrice | string <int64> Value in satoshis. Filter listings that have a price lower or equal to the given value. |
minUtxoSize | string <int64> Value in satoshis. Filter listings that have an utxo value greater or equal to the given value. An utxo's value is the number of satoshis contained by the utxo, and the value used in tx if you don't take in consideration the special satoshis. |
maxUtxoSize | string <int64> Value in satoshis. Filter listings that have an utxo value lower or equal to the given value. An utxo's value is the number of satoshis contained by the utxo, and the value used in tx if you don't take in consideration the special satoshis. |
minSatRange | string <int64> Sat value. Filter listings that contains satoshis greater or equal to the given value. |
maxSatRange | string <int64> Sat value. Filter listings that contains satoshis greater or equal to the given value. |
minBlockNumber | string <int32> Filter listings that contains satoshis created in or after the given block. For a given sat, we consider the block number, the block in which the sat first appeared (in which was created), not the block which created the utxo, that contains the sat now. |
maxBlockNumber | string <int32> Filter listings that contains satoshis created before or in the given block. For a given sat, we consider the block number, the block in which the sat first appeared (in which was created), not the block which created the utxo, that contains the sat now. |
minBlockTimestamp | string <date-time> Filter listings that contains satoshis created after the given timestamp (is inclusive). For a given sat, we consider the block timestamp, the timestamp in which the sat first appeared (in which was created), not the timestamp creation of the utxo in which it appears now. |
maxBlockTimestamp | string <date-time> Filter listings that contains satoshis created before the given timestamp (is inclusive). For a given sat, we consider the block timestamp, the timestamp in which the sat first appeared (in which was created), not the timestamp creation of the utxo in which it appears now. |
orderByColumnWithDirection | Array of strings Items Enum: "PRICE_ASC" "PRICE_DESC" "UPDATED_AT_ASC" "UPDATED_AT_DESC" "BLOCK_NUMBER_ASC" "BLOCK_NUMBER_DESC" "BLOCK_TIMESTAMP_ASC" "BLOCK_TIMESTAMP_DESC" "RANGE_START_ASC" "RANGE_START_DESC" "RELATIVE_UNIT_PRICE_ASC" "RELATIVE_UNIT_PRICE_DESC" Order the listings from the response by a column with a given sort direction. If you specify the same column with both sort direction, the descending order will be used, regardless of the order you place them in the array (you shouldn't send them both anyways). If you give multiple order values, the priority in sorting is given by the above list. Ex. If you send ["PRICE_ASC", "CREATED_AT_ASC"], the listings will be sorted by price first, than by createdAt. |
satName | string Filter listings that contains satoshis that contain the given sat name. Must be between 1 and 11 lowercase letters. |
includePendingPurchase | boolean Set to true to include listings that are pending to be bought. |
isVirtual | boolean Works only if not sending 'tagId'. Include in response listings that contain at least an ordinal inscription. |
{- "offset": 0,
- "limit": 0,
- "tagId": "f69eb9f1-ae9f-4086-b25c-c39758a43fb3",
- "additionalSattributes": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "minUpdatedAt": "2019-08-24T14:15:22Z",
- "maxUpdatedAt": "2019-08-24T14:15:22Z",
- "minPrice": "string",
- "maxPrice": "string",
- "minUtxoSize": "string",
- "maxUtxoSize": "string",
- "minSatRange": "string",
- "maxSatRange": "string",
- "minBlockNumber": "string",
- "maxBlockNumber": "string",
- "minBlockTimestamp": "2019-08-24T14:15:22Z",
- "maxBlockTimestamp": "2019-08-24T14:15:22Z",
- "orderByColumnWithDirection": [ ],
- "satName": "string",
- "includePendingPurchase": true,
- "isVirtual": true
}
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string"
}
], - "count": "string"
}
Get a list of RBF listing for a given transaction id.
txId required | string The transaction id to get the RBF listings. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string",
- "mainTagId": "f6a82061-fc55-4abe-8700-c5bc58541215",
- "deletedAt": "2019-08-24T14:15:22Z",
- "purchasedAt": "2019-08-24T14:15:22Z"
}
], - "count": "string",
- "isPlatformTransaction": true
}
Get a message to be signed by the seller to prepare for creating a listing of an utxo. For update, you need to call the endpoint GET /psbt/listing again with the updated arguments.
X-MGST-API-KEY required | string |
sellerAddress required | string The address of the seller's ordinals wallet owning (some of) the UTXOs to be listed. |
sellerPublicKey required | string The public key of the seller's ordinals wallet owning (some of) the UTXOs to be listed. |
sellerPaymentAddress | string or null The address of the seller's payment wallet owning (some of) the UTXOs to be listed. |
sellerPaymentPublicKey | string or null The public key of the seller's payment wallet owning (some of) the UTXOs to be listed. |
required | Array of objects (ListingItemSellInfo) Information about each utxo that is going to be listed. The price and sellerReceiveAddress can be specified differently for each utxo. |
{- "sellerAddress": "string",
- "sellerPublicKey": "string",
- "sellerPaymentAddress": "string",
- "sellerPaymentPublicKey": "string",
- "listings": [
- {
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "price": "string",
- "sellerReceiveAddress": "string"
}
]
}
{- "psbtToHex": "string",
- "psbtToBase64": "string"
}
Note: You should migrate to the endpoint POST /external/v1/listing/bulk
Used to create or update a listing. The update works only after deleting the listing.
Restrictions: Do not use legacy wallets! The buying process cannot include inputs signed by legacy wallets
X-MGST-API-KEY required | string |
utxo required | string <txid:vout> The utxo that is going to be listed by the user. The utxo must be owned by the sellerAddress. |
price required | string <int64> The value in satoshis as payment for the utxo requested by the user. Must be at least 546 sats and smaller than 2000000000000000 sats. Also, the price cannot be lower than the utxo base value. |
sellerAddress required | string The seller wallet's address owning the utxo to be listed. |
sellerPublicKey required | string The seller wallet's public key from the address owning the utxo to be listed. |
sellerReceiveAddress required | string The address where to send the price requested for the listing. Can be the same as the sellerAddress if the user wants to receive the payment for the listing on the same wallet. The user can also set a different address, other than the one used to made the listing, to receive the payment. |
sellerSignature required | string <base64> The sell message in base64 for the given utxo. The message must be signed by the seller. You can get the message to be signed from the endpoint GET /psbt/listing. |
{- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "price": "string",
- "sellerAddress": "string",
- "sellerPublicKey": "string",
- "sellerReceiveAddress": "string",
- "sellerSignature": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "type": "OWNER",
- "status": "UNDECORATED",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "mainTagId": "string",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "string",
- "purchasedAt": "string"
}
Used to create or update a batch of listings. The update works only after deleting the listing.
Restrictions: Do not use legacy wallets! The buying process cannot include inputs signed by legacy wallets
X-MGST-API-KEY required | string |
sellerAddress required | string The address of the seller's ordinals wallet owning (some of) the UTXOs to be listed. |
sellerPublicKey required | string The public key of the seller's ordinals wallet owning (some of) the UTXOs to be listed. |
sellerPaymentAddress | string or null The address of the seller's payment wallet owning (some of) the UTXOs to be listed. |
sellerPaymentPublicKey | string or null The public key of the seller's payment wallet owning (some of) the UTXOs to be listed. |
sellerSignature required | string <base64> The sell message in base64 for the given utxo. The message must be signed by the seller. You can get the message to be signed from the endpoint GET /psbt/listing. |
required | Array of objects (ListingItemSellInfo) Information about each utxo that is going to be listed. The price and sellerReceiveAddress can be specified differently for each utxo. |
{- "sellerAddress": "string",
- "sellerPublicKey": "string",
- "sellerPaymentAddress": "string",
- "sellerPaymentPublicKey": "string",
- "sellerSignature": "string",
- "listings": [
- {
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "price": "string",
- "sellerReceiveAddress": "string"
}
]
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "type": "OWNER",
- "status": "UNDECORATED",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "mainTagId": "string",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "string",
- "purchasedAt": "string"
}
]
Get a listing by id
listingId required | string The id of the listing to get. |
X-MGST-API-KEY required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "status": "UNDECORATED",
- "type": "OWNER",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "mainTagId": "f6a82061-fc55-4abe-8700-c5bc58541215",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "purchasedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string",
- "specialSatsCount": "string",
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "priority": 0,
- "slug": "string",
- "isRoadarmor": true,
- "isRodarmor": true,
- "isCategory": true,
- "description": "string",
- "isGrowingSupply": true,
- "allowNameSearch": true,
- "isNameBasedCategory": true,
- "totalSupply": "string",
- "circulatingSupply": "string",
- "activeInEpoch": "string",
- "activePast365d": "string",
- "sequestered": "string",
- "inscribed": "string",
- "isVirtual": true,
- "networkId": 0,
- "useTagImage": true,
- "floorPrice": "string",
- "beforeFloorPrice": "string",
- "floorRelativeUnitPrice": "string",
- "itemsCount": "string",
- "pendingPurchaseCount": "string",
- "weekVolume": "string",
- "thirtyDayVolume": "string",
- "totalVolume": "string",
- "pending": "string",
- "sales": "string",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "additionalSattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "change": "string",
- "isExternalFloor": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "priority": 0,
- "slug": "string",
- "isRoadarmor": true,
- "isRodarmor": true,
- "isCategory": true,
- "description": "string",
- "isGrowingSupply": true,
- "allowNameSearch": true,
- "isNameBasedCategory": true,
- "totalSupply": "string",
- "circulatingSupply": "string",
- "activeInEpoch": "string",
- "activePast365d": "string",
- "sequestered": "string",
- "inscribed": "string",
- "isVirtual": true,
- "networkId": 0,
- "useTagImage": true,
- "floorPrice": "string",
- "beforeFloorPrice": "string",
- "floorRelativeUnitPrice": "string",
- "itemsCount": "string",
- "pendingPurchaseCount": "string",
- "weekVolume": "string",
- "thirtyDayVolume": "string",
- "totalVolume": "string",
- "pending": "string",
- "sales": "string",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "additionalSattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "change": "string",
- "isExternalFloor": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
]
}
First call when buying listings. Get a message to be signed by the buyer to prepare for buying.
buyerAddress required | string The buyer wallet's address used for paying. |
buyerPublicKey required | string The buyer wallet's public key from the address used for paying. |
feeRateTier required | string (FeeRateTier) Enum: "fastestFee" "halfHourFee" "hourFee" "minimumFee" Rate fee tier chosen by user for the buy transaction. |
feeRate | number <int64> Rate fee chosen by user for the buy transaction. Value in sats. Either feeRate or feeRateTier should be sent, but not both of them. |
listingIds required | Array of strings <uuid> [ items <uuid > ] Comma separated list of IDs for the listings that you're preparing to buy. |
optimizationLevel | number <int32> Enum: 0 1 Configure the optimization of the transaction and the prepared created. Values between 0 for no optimization, and 1 to optimize. When setting optimization level 1 the receiveAddress for each address from the listings must be the same. Default 0 if not given. |
overrideDisableSpendables | boolean Optional, default set to false if not sent. If set to true, the endpoint will not use the spendables from the user's wallet to create the prepared message. View more |
X-MGST-API-KEY required | string |
{- "psbtToHex": "string",
- "psbtToBase64": "string",
- "hasEnoughDummyUtxos": true,
- "increasedFeeRate": 0
}
Second call when buying listings. Broadcast the prepared message, signed by the user, to prepare for buying.
X-MGST-API-KEY required | string |
psbtBase64 required | string <base64> The prepared message, signed by the user. |
{- "psbtBase64": "string"
}
{- "txId": "string"
}
Third call when buying listings. Get the message to be signed by the buyer to make the buy.
X-MGST-API-KEY required | string |
required | Array of objects (ListingItemBuyInfo) Information about each listings that is going to be bought, where to send each utxo bought. |
buyerAddress required | string The buyer wallet's address used for paying. |
buyerPublicKey required | string The buyer wallet's public key from the address used for paying. |
feeRateTier required | string (FeeRateTier) Enum: "fastestFee" "halfHourFee" "hourFee" "minimumFee" Rate fee tier chosen by user for the buy transaction. |
feeRate required | number <int64> Rate fee chosen by user for the buy transaction. Value in sats. Either feeRate or feeRateTier should be sent, but not both of them. |
optimizationLevel | number <int32> Default: 0 Enum: 0 1 Configure the optimization of the transaction and the prepared created. Values between 0 for no optimization, and 1 to optimize. When setting optimization level 1 the receiveAddress for each address from the listings must be the same. |
receiveAddress | string If the optimization level is set to 1, this key is required and needs to be set on all listings from the request. |
overrideDisableSpendables | boolean Default: false Optional, default set to false if not sent. If set to true, the endpoint will not use the spendables from the user's wallet to create the prepared message. View more |
{- "listings": [
- {
- "listingId": "string",
- "receiveAddress": "string",
- "replace": true
}
], - "buyerAddress": "string",
- "buyerPublicKey": "string",
- "feeRateTier": "fastestFee",
- "feeRate": 0,
- "optimizationLevel": 0,
- "receiveAddress": "string",
- "overrideDisableSpendables": false
}
{- "psbtToHex": "string",
- "psbtToBase64": "string",
- "structure": "SPECIAL_SAT",
- "increasedFeeRate": 0,
- "saleableListings": [
- {
- "listingId": "string",
- "receiveAddress": "string",
- "replace": true
}
], - "usedRuneUtxos": [
- {
- "utxo": "string",
- "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
]
}
], - "feeRate": 0
}
Fourth and final call when buying listings. Broadcast the buying message, signed by user, to finalize the buying.
X-MGST-API-KEY required | string |
required | Array of objects (ListingItemBuyInfo) Information about each listings that is going to be bought, where to send each utxo bought. |
buyerAddress required | string The buyer wallet's address used for paying. |
buyerPublicKey required | string The buyer wallet's public key from the address used for paying. |
buyerSignature required | string <base64> The signed message in base64 for buying. The message must be signed by the buyer. You can get the message to be signed from the endpoint /psbt/buying. |
buyerWalletType required | string Enum: "xverse_wallet" "unisat_wallet" Specify what wallet is used to make the buying. |
optimizationLevel | number <int32> Default: 0 Enum: 0 1 Configure the optimization of the transaction and the prepared created. Values between 0 for no optimization, and 1 to optimize. When setting optimization level 1 the receiveAddress for each address from the listings must be the same. |
receiveAddress | string If the optimization level is set to 1, this key is required and needs to be set on all listings from the request. |
{- "listings": [
- {
- "listingId": "string",
- "receiveAddress": "string",
- "replace": true
}
], - "buyerAddress": "string",
- "buyerPublicKey": "string",
- "buyerSignature": "string",
- "buyerWalletType": "xverse_wallet",
- "optimizationLevel": 0,
- "receiveAddress": "string"
}
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae",
- "txId": "string",
- "broadcastStatus": "PENDING",
- "type": "LISTING",
- "dummyUtxos": [
- "string"
], - "payUtxos": [
- "string"
], - "buyerAddress": "string",
- "buyerPublicKey": "string",
- "buyerReceiveAddress": "string",
- "buyerSignature": "string",
- "platformFee": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "buyerWalletType": "UNISAT",
- "affiliateId": "string",
- "referralAddress": "string",
- "paidReferralAt": "2019-08-24T14:15:22Z"
}
]
Get list of pending buying transactions for the given address.
address required | string The wallet address to check for pending buying transactions. |
X-MGST-API-KEY required | string |
{- "data": [
- {
- "<txId>": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "txId": "string",
- "broadcastStatus": "PENDING",
- "listing": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string",
- "buying": [
- {
- "buyerAddress": "string",
- "type": "LISTING"
}
]
}
}
]
}
], - "count": 0
}
Get a message to be signed by the buyer to prepare for creating offers for given utxos.
Step 1 in creating an offer. This api can be used to create multiple offers.
X-MGST-API-KEY required | string |
utxo required | string <txid:vout> The utxo that the user wants to buy and make the offer to the owner. |
makerAddress required | string The address of the user that wants to buy the utxo. |
makerPublicKey required | string The public key of the user that wants to buy the utxo. |
makerReceiveAddress required | string The address where to send the utxo bought. |
price required | number The value in satoshis as payment for the utxo requested by the user. |
paymentUtxos required | Array of strings <txid:vout> [ items <txid:vout > ] List of utxos used to pay the transaction. |
feeRateTier required | string (FeeRateTier) Enum: "fastestFee" "halfHourFee" "hourFee" "minimumFee" Rate fee tier chosen by user for the buy transaction. |
feeRate | number <int64> Rate fee chosen by user for the buy transaction. Value in sats. Either feeRate or feeRateTier should be sent, but not both of them. |
[- {
- "utxo": "string",
- "makerAddress": "string",
- "makerPublicKey": "string",
- "makerReceiveAddress": "string",
- "price": 0,
- "paymentUtxos": [
- "string"
], - "feeRateTier": "fastestFee",
- "feeRate": 0
}
]
[- {
- "psbtToBase64": "string",
- "listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae"
}
]
Get a message to be signed by the seller to prepare for accepting offers for given utxos.
Step 1 in accepting an offer. This api can be used to accepet multiple offers.
X-MGST-API-KEY required | string |
offerId required | string <uuid> The unique identifier for the offer. |
takerAddress required | string The address of the user who owns the utxo and accepts the offer. |
takerPublicKey required | string The public key of the user who owns the utxo and accepts the offer. |
[- {
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "takerAddress": "string",
- "takerPublicKey": "string"
}
]
[- {
- "psbtToBase64": "string",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d"
}
]
Second call when creating offers.
X-MGST-API-KEY required | string |
utxo required | string <txid:vout> The utxo that the user wants to buy and make the offer to the owner. |
makerAddress required | string The address of the user that wants to buy the utxo. |
makerPublicKey required | string The public key of the user that wants to buy the utxo. |
makerReceiveAddress required | string The address where to send the utxo bought. |
price required | number The value in satoshis as payment for the utxo requested by the user. |
paymentUtxos required | Array of strings <txid:vout> [ items <txid:vout > ] List of utxos used to pay the transaction. |
feeRateTier required | string (FeeRateTier) Enum: "fastestFee" "halfHourFee" "hourFee" "minimumFee" Rate fee tier chosen by user for the buy transaction. |
feeRate | number <int64> Rate fee chosen by user for the buy transaction. Value in sats. Either feeRate or feeRateTier should be sent, but not both of them. |
makerSignature required | string The signed message of the user from |
duration required | string <date-time> The duration of the offer. |
[- {
- "utxo": "string",
- "makerAddress": "string",
- "makerPublicKey": "string",
- "makerReceiveAddress": "string",
- "price": 0,
- "paymentUtxos": [
- "string"
], - "feeRateTier": "fastestFee",
- "feeRate": 0,
- "makerSignature": "string",
- "duration": "2019-08-24T14:15:22Z"
}
]
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "string",
- "listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae",
- "status": "NEW",
- "makerAddress": "string",
- "makerPublicKey": "string",
- "makerReceiveAddress": "string",
- "makerSignature": "string",
- "takerAddress": "string",
- "takerPublicKey": "string",
- "takerReceiveAddress": "string",
- "takerSignature": "string",
- "txId": "string",
- "price": "string",
- "makerFee": "string",
- "takerFee": "string",
- "networkFee": "string",
- "duration": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "offerPaymentUtxos": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "utxo": "string",
- "isActive": true
}
]
}
]
Second call when accepting offers.
X-MGST-API-KEY required | string |
offerId required | string <uuid> The unique identifier for the offer. |
takerAddress required | string The address of the user who owns the utxo and accepts the offer. |
takerPublicKey required | string The public key of the user who owns the utxo and accepts the offer. |
takerSignature required | string The signed message of the user from |
[- {
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "takerAddress": "string",
- "takerPublicKey": "string",
- "takerSignature": "string"
}
]
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "string",
- "listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae",
- "status": "NEW",
- "makerAddress": "string",
- "makerPublicKey": "string",
- "makerReceiveAddress": "string",
- "makerSignature": "string",
- "takerAddress": "string",
- "takerPublicKey": "string",
- "takerReceiveAddress": "string",
- "takerSignature": "string",
- "txId": "string",
- "price": "string",
- "makerFee": "string",
- "takerFee": "string",
- "networkFee": "string",
- "duration": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "buyingId": "7a5fa3e6-b35b-4ffd-9f48-e1f70b89f5d3"
}
]
Get list of available offers.
X-MGST-API-KEY required | string |
utxo required | string <txid:vout> The utxo that the user wants to buy and make the offer to the owner. |
makerAddress required | string The address of the user that wants to buy the utxo and made the offer. |
offset required | number <int64> Start index to get offers. Used for pagination |
limit required | number <int64> Number of offers to get. Used for pagination. Maximum limit 50. |
minPrice | string <int64> The minimum value in satoshis as payment for the utxo requested by the user. |
maxPrice | string <int64> The maximum value in satoshis as payment for the utxo requested by the user. |
minUpdatedAt | string <date-time> The minimum date-time when the offer was updated. |
maxUpdatedAt | string <date-time> The maximum date-time when the offer was updated. |
orderByColumnWithDirection | Array of strings Items Enum: "PRICE_ASC" "PRICE_DESC" "UPDATED_AT_ASC" "UPDATED_AT_DESC" Order the offers by the given column and direction. |
{- "utxo": "string",
- "makerAddress": "string",
- "offset": 0,
- "limit": 0,
- "minPrice": "string",
- "maxPrice": "string",
- "minUpdatedAt": "2019-08-24T14:15:22Z",
- "maxUpdatedAt": "2019-08-24T14:15:22Z",
- "orderByColumnWithDirection": [
- "PRICE_ASC"
]
}
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "utxo": "string",
- "listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae",
- "status": "NEW",
- "makerAddress": "string",
- "makerPublicKey": "string",
- "makerReceiveAddress": "string",
- "makerSignature": "string",
- "takerAddress": "string",
- "takerPublicKey": "string",
- "takerReceiveAddress": "string",
- "takerSignature": "string",
- "txId": "string",
- "price": "string",
- "makerFee": "string",
- "takerFee": "string",
- "networkFee": "string",
- "duration": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "offerPaymentUtxos": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "utxo": "string",
- "isActive": true
}
]
}
], - "count": "string"
}
Delete an active offer.
X-MGST-API-KEY required | string |
offerId | string <uuid> The unique identifier for the offer to be deleted. |
[- {
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d"
}
]
{- "deleted": true
}
Get paginated history of floor prices for a given rune.
runeName required | string The rune name (spaced version) to get the floor price history. |
offset required | number Start offset to get history. Used for pagination |
limit required | number Number of history to get. Used for pagination. Maximum limit is 10000. |
timeOrder required | string Enum: "ASC" "DESC" Order the history from the response by timestamp. Choose between ASC or DESC order. |
X-MGST-API-KEY required | string |
[- {
- "timestamp": "2019-08-24T14:15:22Z",
- "floor": "string"
}
]
Get listings owned by a wallet address containing at least one rare-sat.
address required | string The wallet address to get the listings. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string"
}
], - "count": "string"
}
Get listings owned by a wallet address containing at least one inscription.
address required | string The wallet address to get the listings. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string"
}
], - "count": "string"
}
Get listings owned by a wallet address containing at least one rune.
address required | string The wallet address to get the listings. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
], - "sellerVerified": true,
- "sellerDisplayName": "string",
- "sellerAvatarImageUrl": "string",
- "sellerWebsiteUrl": "string"
}
], - "count": "string"
}
Get the portfolio of rare-sats for a given address.
address required | string The wallet address to get the portfolio. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "totalRareSatsValue": "string",
- "items": [
- {
- "tag": {
- "id": "string",
- "label": "string",
- "slug": "string",
- "totalSupply": "string",
- "floorPrice": "string",
- "floorRelativeUnitPrice": "string"
}, - "balance": "string",
- "unlistedBalance": "string",
- "listings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
]
}
]
}
]
}
Get the portfolio of inscriptions for a given address.
address required | string The wallet address to get the portfolio. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "totalInscriptionsValue": "string",
- "items": [
- {
- "tag": {
- "id": "string",
- "label": "string",
- "slug": "string",
- "totalSupply": "string",
- "floorPrice": "string",
- "floorRelativeUnitPrice": "string"
}, - "balance": "string",
- "unlistedBalance": "string",
- "listings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "OWNER",
- "status": "DECORATED",
- "utxo": "b224d522dc25ba984f774498dda6808a97e380abf4bf8e0ac39a51a0b5d91e10:0",
- "utxoValue": "string",
- "sellerAddress": "string",
- "sellerReceiveAddress": "string",
- "buyerTxId": "string",
- "price": "string",
- "utxoSize": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lowestSatIndex": "string",
- "lowestSatBlockNumber": 0,
- "lowestSatBlockTimestamp": "2019-08-24T14:15:22Z",
- "relativeUnitPrice": "string",
- "minFeeRate": 0,
- "minFeeTotal": 0,
- "specialSatsCount": "string",
- "networkId": 0,
- "includedInCollections": [
- {
- "sat": "string",
- "inscriptionId": "string",
- "displayName": "string",
- "s3Url": "string",
- "overrideS3Url": "string",
- "contentType": "string",
- "flagLevel": 0,
- "metadata": { },
- "collectionTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isClub": true,
- "useTagImage": true
}
}
], - "mainSatoshi": {
- "rangeStart": "string",
- "rangeEnd": "string",
- "name": "string",
- "blockNumber": 0,
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "sattributes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}
], - "count": 0,
- "inscribedCount": 0,
- "offset": 0
}, - "mainTag": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}, - "mainSecondaryTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "label": "string",
- "isNameBasedCategory": true
}
], - "additionalDisplayRareSatSattributes": [
- {
- "sattribute": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "slug": "string",
- "color": "#ffffff",
- "label": "string",
- "priority": 0,
- "isVirtual": true,
- "spendable": true,
- "networkId": 0
}, - "count": 0
}
], - "runes": [
- [
- "string",
- {
- "amount": "string",
- "divisibility": 0,
- "symbol": "string",
- "parent": "string",
- "floorPrice": "string",
- "pricePerCoin": "string"
}
]
]
}
]
}
]
}
Get the portfolio of runes for a given address.
address required | string The wallet address to get the portfolio. |
paymentAddress | string The payment address associated with the wallet. |
X-MGST-API-KEY required | string |
{- "totalRuneValue": "string",
- "items": [
- {
- "rune": {
- "id": "string",
- "divisibility": 0,
- "number": "string",
- "spaced": "string",
- "symbol": "string",
- "totalSupply": "string",
- "floorRelativeUnitPrice": "string"
}, - "balance": "string",
- "unlistedBalance": "string",
- "unavailableBalance": "string",
- "orders": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "DECORATED",
- "price": "string",
- "utxoSize": "string",
- "runes": [
- "string",
- {
- "amount": "string",
- "pricePerCoin": "string"
}
]
}
]
}
]
}