<p>I am not sure what API's you are looking for information on. The most common are the bitcoin core API's
<a href="https://developer.bitcoin.org/reference/rpc/" rel="nofollow noreferrer">https://developer.bitcoin.org/reference/rpc/</a>
you have to have a full node running on your machine, but if you just developing you can run core in the testnet or regtest mode so you don't have to download everything</p>
<p>you can download core from here.  from there you can decode transaction</p>
<pre><code>bitcoind -testnet -daemon
---wait until that synchs --
bitcoin-cli -testnet gettransaction &lt;transactionid&gt;
</code></pre>
<p>you can also use curl to directly access the rpc api if you want other examples.
<a href="https://bitcoin.org/en/download" rel="nofollow noreferrer">https://bitcoin.org/en/download</a></p>

CC BY-SA 4.0
2021-06-17T16:57:55.203Z
2021-06-17T16:57:55.203Z
noone392
<p>You, or someone else working for you, registers to some service, makes transaction/s and see which bitcoins get merged with, or from which address it was withdrawn.</p>
<p><strong>There is probably no easier way how to discover names other than this.</strong></p>
<p>Source: Section &quot;How are names discovered?&quot; at <a href="https://www.walletexplorer.com/info" rel="nofollow noreferrer">WalletExplorer.com &quot;FAQ: What is on this site?&quot;</a>.</p>

CC BY-SA 4.0
2021-11-14T19:49:15.343Z
2021-11-14T19:49:15.343Z
Mercedes
<p>I am working on a university project, and I noticed that paid crypto APIs like Whale Alert or Whale Trace return information about transaction types (like exchange), sender and receiver wallets (like private/okex.com/...):</p>
<pre><code>  {
     &quot;hash&quot;:&quot;fecb0051e9e69c7e8202fae3866a5193579696c1093049e7e336e5a15d0a9248&quot;,
     &quot;from&quot;:{
        &quot;address&quot;:&quot;bc1qw0c0mrjjw73azm65utnhwvcpsdnpg0cdljg0eg&quot;,
        &quot;name&quot;:&quot;Wallet&quot;,
        &quot;type&quot;:&quot;wallet&quot;
     },
     &quot;to&quot;:{
        &quot;address&quot;:&quot;bc1quq29mutxkgxmjfdr7ayj3zd9ad0ld5mrhh89l2&quot;,
        &quot;name&quot;:&quot;OKEx&quot;,
        &quot;type&quot;:&quot;exchange&quot;,
        &quot;url&quot;:&quot;okex.com&quot;
     },
     &quot;time&quot;:&quot;2020-01-24T19:44:03Z&quot;,
     &quot;asset&quot;:&quot;BTC&quot;,
     &quot;size&quot;:2763.80593244,
     &quot;USD_size&quot;:23417202.542436957
  }
</code></pre>
<p>My question is how can I get this information without using these specific APIs? I am new to crypto but I would like to build my own API on the top of Bitcoin (where of course I can't see this information).</p>

<transactions><wallet><api><bitcoin-wallet-app>
How do APIs know Bitcoin transaction and wallet types?
Gergo Miklos
# How do APIs know Bitcoin transaction and wallet types?

(Asked by: username_0 on 2021-06-17)

I am working on a university project, and I noticed that paid crypto APIs like Whale Alert or Whale Trace return information about transaction types (like exchange), sender and receiver wallets (like private/okex.com/...):

```
  {
     "hash":"fecb0051e9e69c7e8202fae3866a5193579696c1093049e7e336e5a15d0a9248",
     "from":{
        "address":"bc1qw0c0mrjjw73azm65utnhwvcpsdnpg0cdljg0eg",
        "name":"Wallet",
        "type":"wallet"
     },
     "to":{
        "address":"bc1quq29mutxkgxmjfdr7ayj3zd9ad0ld5mrhh89l2",
        "name":"OKEx",
        "type":"exchange",
        "url":"okex.com"
     },
     "time":"2020-01-24T19:44:03Z",
     "asset":"BTC",
     "size":2763.80593244,
     "USD_size":23417202.542436957
  }

```

My question is how can I get this information without using these specific APIs? I am new to crypto but I would like to build my own API on the top of Bitcoin (where of course I can't see this information).

**Tags:** transactions, wallet, api, bitcoin-wallet-app


---

## 2 answers

### Answer by username_1 on 2021-06-17. Score: 1

I am not sure what API's you are looking for information on. The most common are the bitcoin core API's
<https://developer.bitcoin.org/reference/rpc/>
you have to have a full node running on your machine, but if you just developing you can run core in the testnet or regtest mode so you don't have to download everything

you can download core from here. from there you can decode transaction

```
bitcoind -testnet -daemon
---wait until that synchs --
bitcoin-cli -testnet gettransaction <transactionid>

```

you can also use curl to directly access the rpc api if you want other examples.
<https://bitcoin.org/en/download>


---

### Answer by username_2 on 2021-11-14. Score: 1

You, or someone else working for you, registers to some service, makes transaction/s and see which bitcoins get merged with, or from which address it was withdrawn.

**There is probably no easier way how to discover names other than this.**

Source: Section "How are names discovered?" at [WalletExplorer.com "FAQ: What is on this site?"](https://www.walletexplorer.com/info).


---

