{"openapi":"3.1.0","info":{"title":"Blockfrost (BYOK) API","version":"0.1.0","description":"Blockfrost (BYOK) lets an AI assistant read your own Blockfrost data through the Blockfrost API with a key you supply (Blockfrost project_id for the Cardano mainnet network). Read-only: 12 tools (get_latest_block, get_current_epoch, get_network_supply, get_address, get_address_totals, list_address_transactions, get_transaction, get_transaction_utxos, get_stake_account, get_asset,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-blockfrost.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-blockfrost/docs"},"termsOfService":"https://connectorbay.com/byok-blockfrost/terms"},"servers":[{"url":"https://byok-blockfrost.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-blockfrost/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_latest_block":{"post":{"operationId":"get_latest_block","summary":"Get the tip of the Cardano blockchain: height, hash, slot, epoch, transaction count, fees and confirmations. Use for \"Wh","description":"Get the tip of the Cardano blockchain: height, hash, slot, epoch, transaction count, fees and confirmations. Use for \"What is the latest Cardano block\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_latest_blockArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_current_epoch":{"post":{"operationId":"get_current_epoch","summary":"Get the current Cardano epoch: time span, block and transaction counts so far, fees and active stake. Use for \"Which Car","description":"Get the current Cardano epoch: time span, block and transaction counts so far, fees and active stake. Use for \"Which Cardano epoch are we in and when does it end\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_current_epochArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_network_supply":{"post":{"operationId":"get_network_supply","summary":"Get Cardano supply figures (max, total, circulating, locked, treasury, reserves) and live and active stake, in lovelace.","description":"Get Cardano supply figures (max, total, circulating, locked, treasury, reserves) and live and active stake, in lovelace. Use for \"What is the circulating ADA supply\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_network_supplyArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_address":{"post":{"operationId":"get_address","summary":"Get the current balance of a Cardano address (lovelace and native assets), its stake address and type. Use for \"What is ","description":"Get the current balance of a Cardano address (lovelace and native assets), its stake address and type. Use for \"What is the balance of this Cardano address\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"description":"Cardano bech32 address, for example one starting with addr1.","maxLength":200,"title":"Address","type":"string"}},"required":["address"],"title":"get_addressArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_address_totals":{"post":{"operationId":"get_address_totals","summary":"Get lifetime totals for a Cardano address: amounts received and sent per asset, and transaction count. Use for \"How much","description":"Get lifetime totals for a Cardano address: amounts received and sent per asset, and transaction count. Use for \"How much has this Cardano address received in total\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"description":"Cardano bech32 address, for example one starting with addr1.","maxLength":200,"title":"Address","type":"string"}},"required":["address"],"title":"get_address_totalsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_address_transactions":{"post":{"operationId":"list_address_transactions","summary":"List transactions that touched a Cardano address (hash, block height and time), optionally within a block range. Use for","description":"List transactions that touched a Cardano address (hash, block height and time), optionally within a block range. Use for \"What are the latest transactions of this Cardano address\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"description":"Cardano bech32 address, for example one starting with addr1.","maxLength":200,"title":"Address","type":"string"},"count":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results per page (1 to 100).","title":"Count"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Order from the blockchain's point of view: asc (oldest first) or desc (newest first).","title":"Order"},"from_block":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Start of the range: block number, optionally with index as number:index (inclusive).","title":"From Block"},"to_block":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"End of the range: block number, optionally with index as number:index (inclusive).","title":"To Block"}},"required":["address"],"title":"list_address_transactionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_transaction":{"post":{"operationId":"get_transaction","summary":"Get one Cardano transaction by hash: block, fees, output amounts, size, deposit and certificate counts. Use for \"Show Ca","description":"Get one Cardano transaction by hash: block, fees, output amounts, size, deposit and certificate counts. Use for \"Show Cardano transaction details for this hash\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"hash":{"description":"Transaction hash (64 hex characters).","maxLength":200,"title":"Hash","type":"string"}},"required":["hash"],"title":"get_transactionArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_transaction_utxos":{"post":{"operationId":"get_transaction_utxos","summary":"Get the inputs and outputs (addresses and amounts) of one Cardano transaction. Use for \"Which addresses took part in thi","description":"Get the inputs and outputs (addresses and amounts) of one Cardano transaction. Use for \"Which addresses took part in this Cardano transaction\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"hash":{"description":"Transaction hash (64 hex characters).","maxLength":200,"title":"Hash","type":"string"}},"required":["hash"],"title":"get_transaction_utxosArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_stake_account":{"post":{"operationId":"get_stake_account","summary":"Get a Cardano stake account: registration, delegated pool, DRep, controlled amount, rewards and withdrawable amount (lov","description":"Get a Cardano stake account: registration, delegated pool, DRep, controlled amount, rewards and withdrawable amount (lovelace). Use for \"How much ADA is delegated for this stake address and to which pool\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stake_address":{"description":"Bech32 stake address starting with stake1.","maxLength":200,"title":"Stake Address","type":"string"}},"required":["stake_address"],"title":"get_stake_accountArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_asset":{"post":{"operationId":"get_asset","summary":"Get a Cardano native asset by policy id plus hex asset name: supply, fingerprint, mint count and registry metadata. Use ","description":"Get a Cardano native asset by policy id plus hex asset name: supply, fingerprint, mint count and registry metadata. Use for \"How many units of this Cardano token exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"asset":{"description":"Policy id concatenated with the hex-encoded asset name.","maxLength":200,"title":"Asset","type":"string"}},"required":["asset"],"title":"get_assetArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_stake_pools":{"post":{"operationId":"list_stake_pools","summary":"List registered Cardano stake pools with ticker, name, stake, saturation, blocks minted, pledge and fees. Use for \"Which","description":"List registered Cardano stake pools with ticker, name, stake, saturation, blocks minted, pledge and fees. Use for \"Which Cardano stake pools have the most live stake\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"count":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results per page (1 to 100).","title":"Count"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Order from the blockchain's point of view: asc (oldest first) or desc (newest first).","title":"Order"}},"title":"list_stake_poolsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_stake_pool":{"post":{"operationId":"get_stake_pool","summary":"Get one stake pool: stake, saturation, delegators, blocks minted, pledge, margin and fixed cost. Use for \"Show details f","description":"Get one stake pool: stake, saturation, delegators, blocks minted, pledge, margin and fixed cost. Use for \"Show details for this Cardano stake pool\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pool_id":{"description":"Stake pool id, bech32 (pool1...) or hexadecimal.","maxLength":200,"title":"Pool Id","type":"string"}},"required":["pool_id"],"title":"get_stake_poolArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}