XRPL.to API NFT Studio API
Mint NFTs and publish drops with a late reveal (XRPNFT, on Testnet for now)
Mint NFTs and publish drops with a late reveal (XRPNFT, on Testnet for now)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/xrpl-to:xrpl-to-nft-studio-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: XRPL.to NFT Studio API
description: 'XRPL token analytics, market data, NFT, trading, and on-chain account API.
## Usage policy
Applies to every caller — no key, Free, and every paid tier alike.
- **Attribution is required.** Any app, website, bot, or dashboard that displays xrpl.to data must show a visible, clickable credit to xrpl.to on the same screen as that data — not buried in an about page. Use: `Data by xrpl.to`
- **Redistribution needs permission.** Storing our data and re-serving it from your own API, dataset, or public dashboard requires written permission first. Email hello@xrpl.to — the answer is usually yes, we just need to know who is doing it.
- **Indexers and aggregators:** use the paginated list endpoints instead of looping one item at a time, cache what you fetch, and honour `Retry-After` on a 429 — a repeated 429 means back off, not retry. Get a key rather than running anonymous so we can raise your limits instead of blocking you.
- **Partner tier** (invitation-only, free): 100 req/sec, 200M credits/mo, direct support — for integrations that credit us properly. Email hello@xrpl.to or DM @xrplto on X.
Successful responses on the tiers that pay nothing (anonymous, free, partner) carry an `attribution` string right after `success`, restating this requirement. It is informational — safe to ignore in code, but not optional to comply with.'
version: '1.20'
contact:
name: XRPL.to
url: https://xrpl.to
servers:
- url: https://api.xrpl.to/v1
description: Production (canonical)
- url: https://api.xrpl.to/api
description: Production (alias — identical API, prefer /v1)
tags:
- name: NFT Studio
description: Mint NFTs and publish drops with a late reveal (XRPNFT, on Testnet for now)
paths:
/studio/config:
get:
tags:
- NFT Studio
summary: Network, minter account and prices
operationId: get_studio_config
description: 'Testnet today. review: whether a new drop waits for review before it mints (off today). A creator lets the minter mint for it once: AccountSet with NFTokenMinter = minter_address and SetFlag 10.'
responses:
'200':
description: Success
parameters: []
/studio/mint:
post:
tags:
- NFT Studio
summary: 'Order a mint: what to pay, and the tag to pay it with'
operationId: post_studio_mint
description: 'Pay walletAddress amountDrops with DestinationTag, then upload with this orderId. Priced as /studio/quote: send the art sizes, or an upload with a file over included_mb_per_file MB is refused (402).'
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
parameters: []
/studio/quote:
post:
tags:
- NFT Studio
summary: What NFTs and their art cost, before any order
operationId: post_studio_quote
description: One price per NFT, art up to included_mb_per_file MB a file included; each MB over it (per file, rounded up) adds per_mb_drops. Orders and drop listing fees are priced the same way. No setup fee, no cut of sales.
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
parameters: []
/studio/order/{id}:
get:
tags:
- NFT Studio
summary: An order and whether it is paid
operationId: get_studio_order_id
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/upload:
post:
tags:
- NFT Studio
summary: 'Upload art: with a paid orderId, pinned to IPFS and minted to the issuer, or…'
operationId: post_studio_upload
description: 'Up to 100 MB. media: video (MP4, MOV, WebM), audio (MP3, AAC, WAV, OGG, FLAC, M4A) or a 3D model (binary glTF), told by its bytes (in a ZIP too), each beside the image of its name (1.mp4 with 1.png), which the NFT shows: the metadata names it as animation_url and as video, audio or file; one without such an image, or that is not media, is refused. It is stored, staged and counted in an order''s storage like its image. A ZIP''s metadata is any .json (one _metadata.json array matched by edition, or 1.json beside 1.png) or a _metadata/ folder. With issuer, each NFT is minted with that issuer (which names minter_address as its NFTokenMinter first) and offered to it for 0: accept the offers. With publish=true nothing is minted: the job''s cids are the metadata files, each minted as ipfs:// by your own wallet, which names no minter. Without either, nothing reaches IPFS yet: a paid drop publishes the files (a hidden one at its reveal), and files no drop claims within a day are deleted. A file the node does not pin is left out, and its order stays open for it. The same paid orderId sent again while its job runs gets that jobId back: a retry never mints twice.'
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
responses:
'200':
description: Success
parameters: []
/studio/upload/job/{id}:
get:
tags:
- NFT Studio
summary: Upload progress
operationId: get_studio_upload_job_id
description: error says how many files were not added.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/upload/raw:
post:
tags:
- NFT Studio
summary: Upload one image for a drop page (cover or placeholder)
operationId: post_studio_upload_raw
description: Send https://api.xrpnft.com + url as image or placeholder_image; the image is served at /studio/uploads/.. An image no drop shows within a day is deleted.
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
responses:
'200':
description: Success
parameters: []
/studio/uploads/{file}:
get:
tags:
- NFT Studio
summary: An uploaded image (cover or placeholder)
operationId: get_studio_uploads_file
parameters:
- name: file
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop:
get:
tags:
- NFT Studio
summary: Active drops
operationId: get_studio_drop
responses:
'200':
description: Success
parameters: []
post:
tags:
- NFT Studio
summary: Publish a drop of uploaded NFTs
operationId: post_studio_drop
description: 'The listing fee is paid first: without fee_payment_hash the answer is 402 with fee_drops, minter_address and its quote (per NFT, plus staged art over the included MB a file). Its cids are files uploaded here: each NFT''s files go on IPFS once it is minted (a hidden drop''s once revealed), so the art of an NFT not sold yet is never public: a buyer shown its URI before signing (a Batch) cannot look it up and choose. Its fingerprint goes on the ledger when it is made (GET /studio/drop/{slug}/provenance). slug: up to 64 of a-z, 0-9 and -. Schedule: nobody mints before mint_start; with a whitelist, only it until public_start (without one, the whitelist for good), then everyone. mint_end: the sale ends (phase closed): from it on nobody starts a purchase, phases included, but a payment made before it still mints (POST /studio/drop/{slug}/mint) and a Batch prepared before it can still be signed; it comes after mint_start, public_start, every phase''s start and claim_until, and is in the future. Fair mode (raffle_until with claim_until, no whitelist or schedule beside them): wallets enter a raffle until raffle_until (POST /studio/drop/{slug}/enter), its winners mint until claim_until, then everyone. per_ip_limit: at most this many NFTs minted from one IP address (an IPv6 /64 counts as one; mints and Batches over it answer 429): it slows scripts, not determined bots, and people sharing a connection count as one. Phases (phases, with public_start for the public sale after them, or none: the phases alone; no whitelist, mint_start or raffle beside them): each has a name, a start and an optional end, a price in XRP, a limit per wallet and a cap (0: none), and is open to its wallets (up to 10,000) and/or the holders of an NFT collection (issuer, taxon; each NFT held mints once there, so passing one on mints nothing more) or of a token (currency, issuer, at least min, read as they mint). Phases may overlap: a wallet mints in the cheapest one open to it with room left, which GET /studio/drop/{slug}/wallet/{wallet} names. The creator mints its own drop free (a payment to itself is refused by the ledger). Priced in a token (price_currency and price_issuer): the creator must issue it or hold a trust line for it, and its issuer must charge no transfer fee; price_amount and each phase''s price are amounts of it (up to 15 significant digits), and it is bought in one transaction only (POST /studio/drop/{slug}/batch), the buyer holding enough of it. referral_bps: the share of each purchase, in basis points (up to 5,000: 50%), paid to whoever shared the link the buyer came by, in the purchase''s own Batch; a sharer that cannot take the payment (not on the ledger, deposit authorization or a required destination tag, no trust line for the token) gets none, and the creator is paid all. Burn to mint: an NFT collection''s holders phase with burn: true; each mint burns one of the holder''s NFTs of it, in the same Batch, so none is burned without its new NFT (at most 2 a Batch; not by POST /studio/drop/{slug}/mint). links: https addresses, x on x.com, discord on discord.gg. An edition (edition: true) sells its one artwork as numbered copies, numbered in the order they are taken (a copy given back is sold again), up to edition_copies (0: no limit; supply and remaining are then null and minted_count counts up); it is never hidden and has no raffle. It pays no listing fee: each copy''s buyer pays copy_fee_drops (the price per NFT when it was made) to minter_address in its purchase, so it is bought in one transaction only (POST /studio/drop/{slug}/batch). claim_code: only who sends it (POST /studio/drop/{slug}/mint or .../batch, claim_code) mints, its creator excepted; it is kept as a hash with the drop''s slug and never shown (claim_code_required). wallet_limits: a listed wallet''s own limit in its phase (0: none), in place of the phase''s per_wallet_limit, as an allowlist CSV of address,mints gives it.'
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
parameters: []
/studio/drop/{slug}:
get:
tags:
- NFT Studio
summary: 'One drop: price in drops, supply, remaining and minted_count (supply and…'
operationId: get_studio_drop_slug
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/mint:
post:
tags:
- NFT Studio
summary: Mint from a drop
operationId: post_studio_drop_slug_mint
description: 'A drop waiting for review mints nothing (403, "Minting opens once this drop passes review"), nor one refused (403, with why), here or in a Batch. A drop priced in a token is not minted here, nor an edition (each copy pays its fee in the purchase): buy it in one transaction (POST /studio/drop/{slug}/batch). A payment made inside a Batch is refused here, as wherever a payment is checked: it paid for what that Batch settled. After the sale''s end (mint_end) a payment made before it still mints, as it would have then; one made after it mints nothing (403) and stays on the wallet''s balance for the creator to refund. Every payment to the creator counts toward this wallet''s balance on the drop, in full and once, and a mint spends from that balance: pay short and the answer is 402 with balance_drops and due_drops (the NFTs stay held: pay the rest, then send that payment_hash); pay more and the rest stays for the next mint; use_balance: true mints from it with no new payment. A price check (no payment_hash, no use_balance) holds what it prices for 3 minutes and answers 402 with total_drops and due_drops (total less the balance), or 403 saying why the wallet cannot mint now (not open yet, the whitelist''s turn, paused); it holds nothing for a wallet that is not on the ledger or cannot pay due_drops. Asking again for another quantity replaces the hold. A payment hash counts once whatever its letter case. Past the wallet''s limit (429) or after the last NFT (410) a payment stays on the balance for the creator to refund. A payment sent to minter_address by mistake (no destination tag) is refused and sent back. Each NFT is offered to wallet for 0: accept the offers; the price of one not delivered goes back on the balance. async: true answers 202 with a jobId (GET /studio/upload/job/{id}).'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/provenance:
get:
tags:
- NFT Studio
summary: What a drop sells, fixed before anyone bought
operationId: get_studio_drop_slug_provenance
description: 'The drop''s fingerprint (provenance): the SHA-256, in hex, of its CIDs in order, joined by a newline. The minter writes it on the ledger when the drop is made: an AccountSet of minter_address that changes nothing, whose memo (type xrpnft/provenance) reads " " (provenance_tx, once validated). Each CID names its file''s content, so anyone can check from the ledger that what each NFT shows was fixed before the sale (minted_nfts: CID to NFTokenID). The files of NFTs not sold yet stay off IPFS: their CIDs show nothing. An edition''s copies are keyed "#" in minted_nfts. art: the new art a dynamic drop''s creator has put on its NFTs since (by NFT key, "*" for every copy of an edition).'
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/wallet/{wallet}:
get:
tags:
- NFT Studio
summary: Where a wallet stands on a drop, and what a mint now would get
operationId: get_studio_drop_slug_wallet_wallet
description: 'Its balance on the drop (balance_drops), what it minted, how it stands in each phase (open, eligible: on its list or holding what it asks; what it minted there; how many more it may; its price for this wallet), and the offer a mint now would get: the phase (or null for the public sale), the price of each NFT (price_drops in drops, or price_value in the drop''s token), and how many more (can_mint; null: no limit), or the error saying why it may not mint now. Holders are read from the ledger as asked. fee_drops: what each copy of an edition costs besides its price (0 otherwise); batch_max: how many NFTs one Batch holds for this wallet (fewer when an edition''s fee or a sharer''s cut is paid beside the price).'
parameters:
- name: slug
in: path
required: true
schema:
type: string
- name: wallet
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/balance/{wallet}:
get:
tags:
- NFT Studio
summary: What a wallet has left to spend on a drop
operationId: get_studio_drop_slug_balance_wallet
description: 'What this wallet has paid on the drop and not spent, in drops: short, split or extra payments, a payment past its limit or after the last NFT, and the price of an NFT a mint did not deliver.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
- name: wallet
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/balances:
get:
tags:
- NFT Studio
summary: What a drop owes its buyers
operationId: get_studio_drop_slug_balances
description: 'Every wallet with XRP left on the drop, most first: what the creator owes back (the creator holds that XRP). Refund one with a payment from the creator to that wallet, then POST /studio/drop/{slug}/refund.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/refund:
post:
tags:
- NFT Studio
summary: Record the creator's refund of a buyer's balance
operationId: post_studio_drop_slug_refund
description: 'The creator''s refund: a validated XRP payment from the drop''s creator to a wallet with a balance on it, made after the drop existed, presented once (any letter case). It takes what it paid, up to the balance, off that wallet''s balance. 403 from anyone but the creator, 400 for a wallet owed nothing, 409 once used.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/enter:
post:
tags:
- NFT Studio
summary: Enter a drop's raffle (fair mode)
operationId: post_studio_drop_slug_enter
description: 'Fair mode: enter a drop''s raffle while it takes entries (phase raffle). Only a wallet that existed before the drop was made, and that can spend what a winner pays (price x allocation), may enter, once. It proves the wallet is its own with a payment of 1 drop to minter_address carrying the drop''s entry_tag; asked without payment_hash, the answer is 402 with minter_address and entry_tag, after the other checks, so nobody pays to be refused.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/boost:
post:
tags:
- NFT Studio
summary: 'Boost a drop: pay to promote it on the drops page'
operationId: post_studio_drop_slug_boost
description: 'Anyone, any drop still live (xrp.cafe''s boosts). A boost is a payment of at least min_drops (1 XRP) from the wallet to minter_address with DestinationTag = the drop''s boost_tag (GET /studio/drop/{slug}), made after the drop existed; asked without payment_hash, the answer is 402 with minter_address, boost_tag and min_drops. A payment counts once and is not refunded. Its drops are the boost''s points: GET /studio/drop/{slug} shows boost { d1, d7, d30, all (drops in the last day, week, month and ever), boosters (its top 10, most first), min_drops, largest_drops (the largest boost anyone has made) }, and GET /studio/drop gives each drop its boost by window and the top boosters of every drop by window (boosters { d1, d7, d30, all }), as the drops page ranks them.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/raffle:
get:
tags:
- NFT Studio
summary: 'A drop''s raffle: entrants, draw and winners'
operationId: get_studio_drop_slug_raffle
description: 'A drop''s raffle: phase (raffle, claim, public), raffle_until, claim_until, allocation, entry_tag, the entrants and, once drawn, seed_ledger, seed_hash and winners. The seed is the hash of the first validated ledger closed at or after raffle_until; entrants are ordered by SHA-256 of seed_hash (uppercase hex) followed by the address, lowest first, and the first floor(supply / allocation) win: anyone can redo the draw. Winners mint their allocation until claim_until; then what is left is for everyone.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
/studio/drop/{slug}/batch:
post:
tags:
- NFT Studio
summary: Prepare a purchase settled in one Batch (pay, mint, accept)
operationId: post_studio_drop_slug_batch
description: 'An edition adds the buyer''s payment of its copies'' fee to minter_address (total_fee_drops, tagged for the drop) and names the copies'' numbers (copies); a Batch holds 8 transactions, so with a price, a sharer''s cut and that fee 2 NFTs fit (batch_max on the wallet''s offer). A burn-to-mint phase adds the buyer''s NFTokenBurn of each NFT it gives up (burn: their NFTokenIDs), at most 2 a Batch. With referrer (the wallet that shared the link, never the buyer or the creator) on a drop that gives a share (referral_bps), the price is two payments: the sharer''s cut, rounded down, and the rest to the creator (referral: { referrer, bps, cut }). A purchase settled on the ledger in one all-or-nothing Batch (XLS-56): the buyer''s payment of the price to the creator (XRP in drops, or the drop''s token: an Amount of its currency, issuer and value), the minter''s NFTokenMint of each NFT offered to the buyer for 0, and the buyer''s NFTokenAcceptOffer of each offer, which is named before it exists (SHA-512Half of ''q'', the minter''s AccountID and the mint''s Ticket). Same checks as a mint (phase, allowlist, raffle winners, limit, funds); 1 to 3 NFTs a Batch (8 inner transactions at most). Check what it asks you to sign, co-sign it with xrpl.js signMultiBatch(wallet, batch, { batchAccount: wallet }) and send the BatchSigner to /studio/drop/{slug}/batch/{batch_id}/sign within sign_within_seconds, or its NFTs go back on sale. The ledger then applies all of it or none of it: a payment never goes without its NFTs.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/batch/{id}/sign:
post:
tags:
- NFT Studio
summary: Submit a prepared Batch with the buyer's co-signature
operationId: post_studio_drop_slug_batch_id_sign
description: 'Submits a prepared Batch with the buyer''s co-signature ({ Account, SigningPubKey, TxnSignature }), once, and answers 202 with a jobId (GET /studio/upload/job/{id}): each NFT''s result, minted and already in the buyer''s wallet, or not minted and nothing paid.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'202':
description: Accepted
/studio/drop/{slug}/reveal:
post:
tags:
- NFT Studio
summary: Reveal a hidden drop (manual reveal)
operationId: post_studio_drop_slug_reveal
description: The proof is a payment from the creator to minter_address with DestinationTag = the drop's reveal_tag. It publishes the files of the NFTs minted so far to IPFS (the others as they are minted); if any fails the drop stays hidden and the same payment_hash can be sent again.
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
/studio/drop/{slug}/manage:
post:
tags:
- NFT Studio
summary: 'Change a live drop (its creator): pause, resume, end, price, limits, whitelist…'
operationId: post_studio_drop_slug_manage
description: 'mint_end moves the sale''s end (into the future only: to stop at once, pause or end the drop) or takes it away (null); a sale that has ended opens again when its end moves later. Without payment_hash: 402 with minter_address, reveal_tag and invoice_id. The proof is a payment of at least 1 drop from the creator to minter_address with DestinationTag = reveal_tag and InvoiceID = invoice_id (SHA-256 of ":"), so it carries exactly these changes; used once. A change that would be refused is refused before any proof. ended: true ends the drop for good. events: up to 20, each { id? (kept when sent back), title (up to 100 characters), starts_at (RFC 3339), kind (online or in_person), location?, url? (https), image? (uploaded here: POST /studio/upload/raw), description?, expires_at? (RFC 3339, in the future: the event leaves the page then; null: when removed) }; GET /studio/drop/{slug} shows those not expired, soonest first. A phase sent back without wallets keeps its list and their own limits (wallet_limits). art: a new metadata file uploaded here (POST /studio/upload) for a dynamic drop''s NFTs (minted with tfMutable): every copy of an edition (no nft; its next copies mint with it), or one NFT of a collection (nft: its NFTokenID). The answer''s art_job (GET /studio/upload/job/{id}) follows the minter publishing it and putting it on each NFT minted so far, wherever it is now (NFTokenModify, as the issuer''s authorized minter); an NFT it could not change is named in the job''s error, and can be asked again.'
parameters:
- name: slug
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: Success
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-Api-Key
WalletSignature:
type: apiKey
in: header
name: X-Signature
description: Send X-Wallet, X-Timestamp, X-Signature, X-Public-Key headers.
AdminKey:
type: apiKey
in: header
name: X-Admin-Key