Create a Collection Order
Use this endpoint to create an inscription order that will inscribe a file from an existing collection.
Last updated
Use this endpoint to create an inscription order that will inscribe a file from an existing collection.
Last updated
The /collectionorder endpoint has a rate limit of maximum 2 requests every 10 seconds.
If pricing of the collection is in runes then charge
will be null. Instead, tokenPayCharge
will be available. User needs to send tokenPayCharge.feeCharge.amount
of BTC to tokenPayCharge.feeCharge.address
and tokenPayCharge.tokenCharge.amount
of tokens to tokenPayCharge.tokenCharge.address
POST
https://api.ordinalsbot.com/collectionorder
x-api-key*
String
API Key
Required if no turnstile token is present.
collection*
Object
Object including
id: Collection slug to be inscribed
count: number of inscriptions being ordered.
receiveAddress
String
Bitcoin address to receive the inscriptions for the whole order
token*
String
Cloudflare turnstile token
Required if no x-api-key header is present.
rareSats
String
One of following options:
block9 | block78 | pizza | uncommon | black | vintage | random
Check /inventory
endpoint for all available options and their current availability.
fee*
Number
Mining fee to be paid for this collection inscription (sats/vB)
additionalFee
Number
Amount of satoshis to charge extra for this order that will be added to "referral" account.
Needs to be used together with "referral" parameter.
Note: additionalFee is added PER FILE!
referral
String
Referral code to earn up to %15 of the order service fee.
timeout
Number
Order timeout in minutes. Must be a multiple of 10.
Generated payment invoice will be valid for this duration only. Payments that are sent after this will not be processed.
(default=4320)
webhookUrl
String
webhook url to receive a POST payload for order updates
Refrain from using too short timeout values and instead use
Refer to for format of the webhook payload