user6830: Is it possible to generate new address and private key for cardano using blockfrost.io api,
that later on can use for transactions and adding it into wallet.
thank you

user1656: Short answer is no, because it poses a security risk for both them (generating and transmitting keys over the network) and the end-user consuming their service to do so (trusting the API not to log or persist those keys).
As with all other blockchains, the responsibility of generating (and securely storing) keys and addresses generally lie with the end-user who wants to interact with it. As they say, not your keys, not your wallet.
That said, you can generate them through:

CLI tools (e.g. cardano-cli, or cscli)
SDKs in your language of choice (e.g. CardanoSharp, cardano-serialization-lib, cardano-client-lib, etc.)
Software wallets which can generate recovery-phrases and root keys to derive multiple keys/addresses (e.g. Eternl/CC, Daedalus, Flint, Yoroi, etc.)
Hardware wallets with embedded root keys (e.g. Ledger, Trezor, etc.)

It is also worthwhile mentioning that you should practice extreme caution when generating the keys yourself. I highly recommend using an air-gapped machine, never storing the raw recovery-phrase digitally (raw text,photo,etc.) and never sharing it with anyone else.

6830: <p>Is it possible to generate new address and private key for cardano using blockfrost.io api,
that later on can use for transactions and adding it into wallet.</p>
<p>thank you</p>
 1656: <p>Short answer is no, because it poses a security risk for both them (generating and transmitting keys over the network) and the end-user consuming their service to do so (trusting the API not to log or persist those keys).</p>
<p>As with all other blockchains, the responsibility of generating (and securely storing) keys and addresses generally lie with the end-user who wants to interact with it. As they say, <em>not your keys, not your wallet</em>.</p>
<p>That said, you can generate them through:</p>
<ul>
<li>CLI tools (e.g. <a href="https://learn.lovelace.academy/getting-started/keys-and-addresses/" rel="nofollow noreferrer">cardano-cli</a>, or <a href="https://github.com/CardanoSharp/cscli#generate-recovery-phrase" rel="nofollow noreferrer">cscli</a>)</li>
<li>SDKs in your language of choice (e.g. <a href="https://github.com/CardanoSharp/cardanosharp-wallet#create-mnemonics" rel="nofollow noreferrer">CardanoSharp</a>, <a href="https://github.com/Emurgo/cardano-serialization-lib/blob/master/doc/getting-started/generating-keys.md" rel="nofollow noreferrer">cardano-serialization-lib</a>, <a href="https://github.com/bloxbean/cardano-client-lib" rel="nofollow noreferrer">cardano-client-lib</a>, etc.)</li>
<li>Software wallets which can generate recovery-phrases and root keys to derive multiple keys/addresses (e.g. Eternl/CC, Daedalus, Flint, Yoroi, etc.)</li>
<li>Hardware wallets with embedded root keys (e.g. Ledger, Trezor, etc.)</li>
</ul>
<p>It is also worthwhile mentioning that you should practice extreme caution when generating the keys yourself. I highly recommend using an air-gapped machine, never storing the raw recovery-phrase digitally (raw text,photo,etc.) and never sharing it with anyone else.</p>
