# Cardano Public Api

**URL:** <https://forum.cardano.org/t/cardano-public-api/47440>\
**Category:** Cardano Integration\
**Tags:** api\
**Created:** [11 February 2021 19:15 UTC](https://forum.cardano.org/t/cardano-public-api/47440 "2021-02-11T19:15:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chsami](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/chsami/32/26745_2.png) [@chsami](https://forum.cardano.org/u/chsami)\
**Post date:** [11 February 2021 19:15 UTC](https://forum.cardano.org/t/cardano-public-api/47440/1 "2021-02-11T19:15:03Z")

</div>

Hello,

Is there a public api that is connected to the mainnet/testnet that we can access to build applications on?

I think it’s cumbersome to pull the cardano node and api on a device to just communicate with cardano.

Thanks in advance

Greets,  
Sami

---

<div class="post-metadata">

**Author:** ![adatainment](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adatainment/32/81481_2.png) [@adatainment](https://forum.cardano.org/u/adatainment)\
**Post date:** [11 February 2021 19:28 UTC](https://forum.cardano.org/t/cardano-public-api/47440/2 "2021-02-11T19:28:31Z")

</div>

Welcome,  
Please have a look at this new project: [https://blockfrost.io/](https://blockfrost.io/)

---

<div class="post-metadata">

**Author:** ![chsami](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/chsami/32/26745_2.png) [@chsami](https://forum.cardano.org/u/chsami)\
**Post date:** [11 February 2021 19:30 UTC](https://forum.cardano.org/t/cardano-public-api/47440/3 "2021-02-11T19:30:39Z")

</div>

Omg, that’s awesome!

---

<div class="post-metadata">

**Author:** ![Alexander1](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexander1/32/46914_2.png) [@Alexander1](https://forum.cardano.org/u/Alexander1)\
**Post date:** [31 March 2021 13:44 UTC](https://forum.cardano.org/t/cardano-public-api/47440/4 "2021-03-31T13:44:00Z")

</div>

Hi i am checking the blockfrost API and was wondering if i can get the complete\_controlled Amount of ADA for a single (random in daedalus “receive” tab selected) address.  
Requesting the /addresses/(ADDRESS) endpoint but getting the amount associated with this address not the complete one i see in my wallet. If i grab the stake\_address from that response and call /accounts/STAKE\_ADDRESS i get the correct amount of controlled ADA.

How does Daedalus then fetches the whole balance? Why cant i do that via blockfrost?  
Thank you!

---

<div class="post-metadata">

**Author:** ![mmahut](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mmahut/32/2058_2.png) [@mmahut](https://forum.cardano.org/u/mmahut)\
**Post date:** [31 March 2021 16:57 UTC](https://forum.cardano.org/t/cardano-public-api/47440/5 "2021-03-31T16:57:47Z")

</div>

Hello,

> How does Daedalus then fetches the whole balance? Why cant i do that via blockfrost?

Daedalus shows you both your balance and your rewards for the account together. Rewards are associated with a stake address until they are withdrawn to an address - before that, it is not really associated with the address itself.

However, maybe, instead of checking one specific `address` you want to use the `account`?

---

<div class="post-metadata">

**Author:** ![Alexander1](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexander1/32/46914_2.png) [@Alexander1](https://forum.cardano.org/u/Alexander1)\
**Post date:** [31 March 2021 18:45 UTC](https://forum.cardano.org/t/cardano-public-api/47440/6 "2021-03-31T18:45:40Z")

</div>

Hi Mmahut, that means overall ADA amount can be retrieved by requesting “accounts” providing path parameter stake address? e.g  
[https://cardano-mainnet.blockfrost.io/api/v0/accounts/stake1u8780f538dlzmezkwa9um0fl6t9t6e7r7p5kxv2hf8e2x4qahre7t](https://cardano-mainnet.blockfrost.io/api/v0/accounts/stake1u8780f538dlzmezkwa9um0fl6t9t6e7r7p5kxv2hf8e2x4qahre7t)  
My Problem how to get users (who might not stake at all) balance. Right now i would ask the user to scan one of his addresses from the wallet and call:  
[https://cardano-mainnet.blockfrost.io/api/v0/addresses/{address}](https://cardano-mainnet.blockfrost.io/api/v0/addresses/%7Baddress%7D), i would get back the appropriate quantity but also stakeAddress (but what if user doesnt stake to a pool) would there still be a stakeAddress i can use to query “accounts” with?

Hope its not confusing, but its very important for me to get the users balance. Thank you so much

---

<div class="post-metadata">

**Author:** ![rdlrt](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/rdlrt/32/9098_2.png) [@rdlrt](https://forum.cardano.org/u/rdlrt)\
**Post date:** [31 March 2021 22:50 UTC](https://forum.cardano.org/t/cardano-public-api/47440/7 "2021-03-31T22:50:28Z")

</div>

> [@Alexander1](#):
>
> what if user doesnt stake to a pool

The status of whether user is staking to a pool does not really matter tbh. What matters is what type of wallet user is using. Most of the end user facing wallets in cardano ecosystem provide [HD Wallets](https://cardano-community.github.io/support-faq/#/wallets?id=heirarchical-deterministic-hd-wallets) which provide [base addresses](https://docs.cardano.org/en/latest/learn/types-addresses.html#base-addresses) to user. Thus, unless a user goes out of the way (using CLI or APIs/SDKs) to manually derive a HD wallet using enterprise addresses, the wallets users use will predominantly include stake address, even if not registered on chain - when not participating in staking.

---

<div class="post-metadata">

**Author:** ![Alexander1](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexander1/32/46914_2.png) [@Alexander1](https://forum.cardano.org/u/Alexander1)\
**Post date:** [1 April 2021 07:53 UTC](https://forum.cardano.org/t/cardano-public-api/47440/8 "2021-04-01T07:53:09Z")

</div>

Thank you rdlrt, very appreciated. After reading this one i think only the wallet can get the complete look on overall funds. As i am not having the wallet access to all keys and txs i am not able to query the overall balance.

[https://cardano-community.github.io/support-faq/#/wallets?id=funds-in-a-wallet-versus-address](https://cardano-community.github.io/support-faq/#/wallets?id=funds-in-a-wallet-versus-address)

---

<div class="post-metadata">

**Author:** ![tigrpool.com](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tigrpool.com/32/26328_2.png) [@tigrpool.com](https://forum.cardano.org/u/tigrpool.com)\
**Post date:** [30 November 2021 17:01 UTC](https://forum.cardano.org/t/cardano-public-api/47440/9 "2021-11-30T17:01:12Z")

</div>

We offer a new API which is free and can be used from mainnet and testnet.  
See the following:

> [@Free Cardano Public API brought by cutymals.com!](https://forum.cardano.org/t/free-cardano-public-api-brought-by-cutymals-com/87095):
>
> Hello developers, i am happy to tell you that starting on Friday the 3rd we will offer you a new, free and highly flexible api which you can use to build your application with. It will allow you to request Cardano blockchain data, as if it’s a local database. The API and documentation is already online, but still not fully synced. If you’re building on Cardano at the moment, we would be glad to receive further feedback. If you miss use-cases in the documentation , let us know! We wil be happy …
