---
title: "listReceivedByAddress"
description: "The listReceivedByAddress method allows you to retrieve a list of all the received transactions by a specific address. This method is essential for tracking the transactions and managing the wallet..."
order: 76
---

# listReceivedByAddress

## Overview

The **'listReceivedByAddress'** method allows you to retrieve a list of all the received transactions by a specific address. This method is essential for tracking the transactions and managing the wallet effectively.

## Request

### shell

```shell
wget --no-check-certificate --quiet \
  --method POST \
  --timeout=0 \
  --header 'Content-Type: application/json' \
  --header 'accept: application/json' \
  --header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
  --body-data '{"jsonrpc":"2.0","id":1,"method":"listReceivedByAddress","params": [ ]}' \
   'https://bitcoin-mainnet.node.coinapi.io'
```


### csharp

```csharp
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://bitcoin-mainnet.node.coinapi.io");
request.Headers.Add("x-coinapi-key", "abk_3f2504e04f8941d39a0c0305e82c3301582005f7");
request.Headers.Add("accept", "application/json");
var content = new StringContent("{\"jsonrpc\":\"2.0\",\"method\":\"listReceivedByAddress\",\"params\": [],\"id\":1}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
```


### php

```php
<?php
$client = new Client();
$headers = [
  'x-coinapi-key' => 'abk_3f2504e04f8941d39a0c0305e82c3301582005f7',
  'Content-Type' => 'application/json',
  'accept' => 'application/json'
];
$body = '{
  "jsonrpc": "2.0",
  "method": "listReceivedByAddress",
  "params": [],
  "id": 1
}';
$request = new Request('POST', 'https://bitcoin-mainnet.node.coinapi.io', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
?>
```


### python

```python
import requests
import json

url = "https://bitcoin-mainnet.node.coinapi.io"

payload = json.dumps({
  "jsonrpc": "2.0",
  "method": "listReceivedByAddress",
  "params": [],
  "id": 1
})
headers = {
  'x-coinapi-key': 'abk_3f2504e04f8941d39a0c0305e82c3301582005f7',
  'Content-Type': 'application/json',
  'accept': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
```


### javascript

```javascript
var settings = {
  "url": "https://bitcoin-mainnet.node.coinapi.io",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "x-coinapi-key": "4303fb63-adec-42dc-b571-74bc2f2a5167",
    "Content-Type": "application/json",
    "accept": "application/json"
  },
  "data": JSON.stringify({
    "jsonrpc": "2.0",
    "method": "listReceivedByAddress",
    "params": [],
    "id": 1
  }),
};

$.ajax(settings).done(function (response) {
console.log(response);
});
```


### go

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://bitcoin-mainnet.node.coinapi.io"
  method := "POST"

  payload := strings.NewReader(`{"jsonrpc":"2.0","method":"listReceivedByAddress","params": [],"id":1}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("x-coinapi-key", "abk_3f2504e04f8941d39a0c0305e82c3301582005f7")
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("accept", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```


### ruby

```ruby
require "uri"
require "json"
require "net/http"

url = URI("https://bitcoin-mainnet.node.coinapi.io")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-coinapi-key"] = "abk_3f2504e04f8941d39a0c0305e82c3301582005f7"
request["Content-Type"] = "application/json"
request["accept"] = "application/json"
request.body = JSON.dump({
  "jsonrpc": "2.0",
  "method": "listReceivedByAddress",
  "params": [],
  "id": 1
})

response = https.request(request)
puts response.read_body
```


### java

```java
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n  \"jsonrpc\": \"1.0\",\r\n  \"id\": \"1\",\r\n  \"method\": \"listReceivedByAddress\",\r\n  \"params\": []\r\n}\r\n");
Request request = new Request.Builder()
  .url("https://bitcoin-mainnet.node.coinapi.io")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("accept", "application/json")
  .addHeader("X-CoinAPI-Key", "abk_3f2504e04f8941d39a0c0305e82c3301582005f7")
  .build();
Response response = client.newCall(request).execute();
```


## Request Parameters

- **address** (string): The receiving address.
- **minConfirmations** (numeric): The minimum number of confirmations a transaction must have to be included in the list.
- **includeEmpty** (boolean): Whether to include addresses that haven't received any payments.
- **includeWatchOnly** (boolean): Only returns true if imported addresses were involved in the transaction.

## Response

```json

```