Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/coudrebros-eu:coudrebros-eu-mint-api"
All apis
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.
Get an API 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: Coudrebros Eu Mint API
version: 1.1.0
contact:
name: CoudreBros
url: https://www.coudrebros.eu/
description: 'Operations tagged mint across 2 of this provider''s published API definitions: coudrebros-eu-openapi.json, coudrebros-eu-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://nftapi.coudrebros.eu
description: Cardano mainnet (per https://nftapi.coudrebros.eu/llms.txt)
- url: https://testnet.nftapi.coudrebros.eu
description: Testnet instance serving the same spec
tags:
- name: mint
description: Mint NFTs after paying the mint fee.
paths:
/mint:
post:
tags:
- mint
summary: Mint an NFT after paying the mint fee
description: 'Mints a native Cardano NFT (CIP-25 metadata) directly to `destination_address`, funded by a prior payment of at least 4 ADA to the operator''s payment address (see `GET /info`).
**Before calling this:**
1. Pin your asset (and a thumbnail, for video) to IPFS yourself -- this API never stores files. See **Prerequisites** (top of these docs) if you don''t have a CID yet.
2. Send the mint fee from any address to the operator''s payment address (see `POST /payment/prepare` if you''d rather have this API build the transaction for you to sign).
3. Wait for that payment transaction to be **confirmed on-chain**, not just submitted -- check with `GET /payment/status`. Calling `/mint` before confirmation is the most common cause of a 400 response here.
Each payment transaction hash can only be used once. A failed mint attempt (e.g. an invalid metadata value) does **not** consume the payment -- retry with the same `payment_tx` once the underlying issue is fixed.
**You are solely responsible for the content referenced by `ipfs_hash`** -- this API does not review it before minting. See the Legal Notice.'
operationId: mint_mint_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MintRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MintSuccess'
'400':
description: Payment not found/unconfirmed/too small, payment tx already used, a video NFT missing its thumbnail CID, or the mint transaction itself failed to build/sign/submit.
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'429':
description: Rate limit exceeded (short-window burst cap and/or per-address daily quota).
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'422':
description: Request body failed validation (e.g. bad nft_name characters or malformed destination_address).
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
/mint/prepare:
post:
tags:
- mint
summary: Build an atomic pay-and-mint transaction (no separate payment step)
description: 'Builds a single transaction that pays the mint fee (4 ADA, see `GET /info`) from `from_address` AND mints the NFT to `destination_address` **at the same time** -- unlike `POST /mint`, there is no separate payment transaction to send first and no `payment_tx` to reference. Once submitted, either both the payment and the mint happen, or neither does: there is no window where you''ve paid but the NFT hasn''t been minted yet, and no need to trust the operator to follow through after payment.
Need a CID first? See **Prerequisites** (top of these docs).
The operator co-signs its own two required witnesses (the minting policy, and its own fee-covering input) before returning the transaction to you -- **you can and should inspect it before signing** (destination, minted asset, amounts) to confirm it does what you asked. You then add your own witness for `from_address` and submit:
- **CLI / raw key access (recommended):** sign `partially_signed_tx` directly -- `cardano-cli conway transaction sign --tx-file --signing-key-file --out-file final.tx`, then `transaction submit`. `transaction sign --tx-file` adds your witness on top of the operator''s two without disturbing them. Don''t pass `partially_signed_tx` to `transaction assemble` as if it were `unsigned_tx_body` -- `assemble` expects a `--tx-body-file` (the *unwitnessed* body), not a full `Tx` that already carries witnesses, and will fail confusingly if you mix the two up.
- **CIP-30 wallet:** call `wallet.signTx(partially_signed_tx, true)`, then merge the returned witness onto `partially_signed_tx` (e.g. via CSL''s `FixedTransaction.add_vkey_witness`) and `wallet.submitTx(...)`.
Shares its rate-limit quota with `POST /mint` (same per-address daily cap either way).
**You are solely responsible for the content referenced by `ipfs_hash`** -- this API does not review it before minting. See the Legal Notice.'
operationId: prepare_mint_mint_prepare_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AtomicMintRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AtomicMintResponse'
'400':
description: from_address has insufficient funds, or the underlying Cardano node is temporarily unreachable.
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'429':
description: Rate limit exceeded -- shares the same per-address quota as POST /mint.
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
'422':
description: Request body failed validation (e.g. bad nft_name characters or malformed address).
content:
application/json:
schema:
$ref: '#/components/schemas/MintError'
components:
schemas:
AtomicMintRequest:
properties:
ipfs_hash:
type: string
pattern: ^(Qm[1-9A-HJ-NP-Za-km-z]{44}|bafy[a-z2-7]{50,}|bafk[a-z2-7]{50,})$
title: Ipfs Hash
description: IPFS CID of the main asset (image, or video for video NFTs)
ipfs_hash_thumbnail:
anyOf:
- type: string
pattern: ^(Qm[1-9A-HJ-NP-Za-km-z]{44}|bafy[a-z2-7]{50,}|bafk[a-z2-7]{50,})$
- type: 'null'
title: Ipfs Hash Thumbnail
description: IPFS CID of a still-image thumbnail. Required when asset_kind is 'video'.
asset_kind:
type: string
enum:
- image
- video
title: Asset Kind
description: Type of asset being minted
default: image
nft_name:
type: string
maxLength: 32
minLength: 1
pattern: ^[A-Za-z0-9 ._-]+$
title: Nft Name
description: On-chain asset name (max 32 characters; letters, digits, spaces, and . _ - only)
description:
type: string
maxLength: 500
pattern: ^[^<>]*$
title: Description
description: 'Free-text description embedded in the NFT''s CIP-25 metadata (no < or > characters, and no javascript:/vbscript:/data: URIs)'
default: ''
from_address:
type: string
pattern: ^addr1[a-z0-9]+$
title: From Address
description: Cardano address that will fund this transaction's mint fee -- must sign the transaction this endpoint returns before it can be submitted. Must be a mainnet address (starts with 'addr1').
destination_address:
type: string
pattern: ^addr1[a-z0-9]+$
title: Destination Address
description: Cardano address to receive the minted NFT. Must be a mainnet address (starts with 'addr1').
type: object
required:
- ipfs_hash
- nft_name
- from_address
- destination_address
title: AtomicMintRequest
description: 'Same information as MintRequest, but with no payment_tx -- the payment
and the mint are the same transaction here, so there is nothing to
reference separately.'
example:
asset_kind: image
description: A test NFT minted via the API.
destination_address: addr_test1vpgnsrdu30exj2kscypxt6x8vxj4aghnqd6qkyywhqp0jgqmsh7px
from_address: addr_test1vpgnsrdu30exj2kscypxt6x8vxj4aghnqd6qkyywhqp0jgqmsh7px
ipfs_hash: bafkreifodgcvcofubt3enf6kpusyye5edt337bfekpjpoffbndwxtwznsq
nft_name: MyFirstNFT
MintRequest:
properties:
ipfs_hash:
type: string
pattern: ^(Qm[1-9A-HJ-NP-Za-km-z]{44}|bafy[a-z2-7]{50,}|bafk[a-z2-7]{50,})$
title: Ipfs Hash
description: IPFS CID of the main asset (image, or video for video NFTs)
ipfs_hash_thumbnail:
anyOf:
- type: string
pattern: ^(Qm[1-9A-HJ-NP-Za-km-z]{44}|bafy[a-z2-7]{50,}|bafk[a-z2-7]{50,})$
- type: 'null'
title: Ipfs Hash Thumbnail
description: IPFS CID of a still-image thumbnail. Required when asset_kind is 'video'.
asset_kind:
type: string
enum:
- image
- video
title: Asset Kind
description: Type of asset being minted
default: image
nft_name:
type: string
maxLength: 32
minLength: 1
pattern: ^[A-Za-z0-9 ._-]+$
title: Nft Name
description: On-chain asset name (max 32 characters; letters, digits, spaces, and . _ - only)
description:
type: string
maxLength: 500
pattern: ^[^<>]*$
title: Description
description: 'Free-text description embedded in the NFT''s CIP-25 metadata (no < or > characters, and no javascript:/vbscript:/data: URIs)'
default: ''
payment_tx:
type: string
title: Payment Tx
description: Cardano transaction hash of the mint fee payment (currently 4 ADA) sent to the operator's payment address -- see GET /info for the exact address. Must already be confirmed on-chain -- check with GET /payment/status first.
destination_address:
type: string
pattern: ^addr1[a-z0-9]+$
title: Destination Address
description: Cardano address to receive the minted NFT. Must be a mainnet address (starts with 'addr1').
type: object
required:
- ipfs_hash
- nft_name
- payment_tx
- destination_address
title: MintRequest
example:
asset_kind: image
description: A test NFT minted via the API.
destination_address: addr_test1vpgnsrdu30exj2kscypxt6x8vxj4aghnqd6qkyywhqp0jgqmsh7px
ipfs_hash: bafkreifodgcvcofubt3enf6kpusyye5edt337bfekpjpoffbndwxtwznsq
nft_name: MyFirstNFT
payment_tx: 9c0b041c0a360f1a2bc8434c99dce5156c6942c21fbde9deb49ce4e5e6276f9a
MintSuccess:
properties:
status:
type: string
const: success
title: Status
default: success
tx_hash:
type: string
title: Tx Hash
description: Cardano transaction hash of the mint transaction
policy_id:
type: string
title: Policy Id
description: Policy ID of the minted NFT
token_name_hex:
type: string
title: Token Name Hex
description: On-chain asset name, hex-encoded (decodes to nft_name)
type: object
required:
- tx_hash
- policy_id
- token_name_hex
title: MintSuccess
MintError:
properties:
status:
type: string
const: error
title: Status
default: error
message:
type: string
title: Message
description: Human-readable explanation of what went wrong
type: object
required:
- message
title: MintError
AtomicMintResponse:
properties:
unsigned_tx_body:
type: string
title: Unsigned Tx Body
description: CBOR hex of the unwitnessed transaction body, provided for reference/inspection or advanced/air-gapped signing flows (`cardano-cli conway transaction witness --tx-body-file <this>` with your own key, then `transaction assemble` with your witness plus operator_witnesses). Most CLI callers should sign `partially_signed_tx` directly instead -- see its description.
operator_witnesses:
items:
type: string
type: array
title: Operator Witnesses
description: CBOR hex of the operator's two witnesses (policy key + payment key), as separate witness files -- only needed if signing `unsigned_tx_body` via the witness+assemble path above; not needed when signing `partially_signed_tx` directly.
partially_signed_tx:
type: string
title: Partially Signed Tx
description: 'The same transaction with the operator''s two witnesses already merged in -- sign this directly. CLI: `cardano-cli conway transaction sign --tx-file <this, as a ''Tx ConwayEra'' envelope> --signing-key-file <your key> --out-file final.tx` (adds your witness on top of the operator''s without disturbing them), then `transaction submit`. Do NOT pass this to `transaction assemble` as if it were `unsigned_tx_body` -- `assemble` expects an unwitnessed `--tx-body-file`, not a full `Tx` that already carries witnesses. CIP-30 wallets: call wallet.signTx(this, true), then merge the returned witness (e.g. via CSL''s FixedTransaction.add_vkey_witness) and submitTx().'
policy_id:
type: string
title: Policy Id
description: Policy ID of the NFT that will be minted once this transaction is signed and submitted
token_name_hex:
type: string
title: Token Name Hex
description: On-chain asset name, hex-encoded (decodes to nft_name)
mint_fee_lovelace:
type: integer
title: Mint Fee Lovelace
description: Exact amount this transaction pays the operator, drawn from from_address's contribution
network_fee_lovelace:
type: integer
title: Network Fee Lovelace
description: Cardano network fee for this transaction, deducted from from_address's own change, not from mint_fee_lovelace
nft_output_lovelace:
type: integer
title: Nft Output Lovelace
description: Portion of mint_fee_lovelace sent right back out as the NFT's required minimum ADA balance, bundled into the output at destination_address -- not operator revenue (found missing from this response by Kaios's security pass 2026-10-11).
type: object
required:
- unsigned_tx_body
- operator_witnesses
- partially_signed_tx
- policy_id
- token_name_hex
- mint_fee_lovelace
- network_fee_lovelace
- nft_output_lovelace
title: AtomicMintResponse
x-refined-from:
- coudrebros-eu-openapi.json
- coudrebros-eu-openapi.yml