# List Confirmed Transactions By Address By Timestamp UTXO Historical

This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.


> **Warning:** To use any endpoint that returns **historical data by address**, the address must first be indexed via the **Manage Addresses → Sync Address** endpoint. Until the address has been synced, requests to historical-data-by-address endpoints will not return data for it. Please ensure each address you intend to query is synced before calling these endpoints.

- **Endpoint:** `GET https://rest.cryptoapis.io/addresses-historical/utxo/{blockchain}/{network}/{address}/transactions/from-timestamp/{timestamp}`
- **Authentication:** `x-api-key` header
- **Credits cost:** 530 credits for 1 result by default; per blockchain: Bitcoin: 530, Bitcoin Cash: 689, Dash: 583, Dogecoin: 583, Litecoin: 583, Zcash: 689
- **Documentation page:** https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-history-utxos/list-confirmed-transactions-by-address-by-timestamp-utxo-historical/get

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `blockchain` | string | yes | Represents the specific blockchain protocol name, e.g. Bitcoin, Bitcoin Cash. Allowed values: `bitcoin`, `bitcoin-cash`. |
| `network` | string | yes | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while network like "testnet" is test network. Allowed values: `mainnet`, `testnet`. |
| `address` | string | yes | Represents the public address, which is a compressed and shortened form of a public key. |
| `timestamp` | integer | yes | Numeric representation of the starting unix timestamp in seconds since epoch |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `limit` | integer | no | Defines how many items should be returned in the response per page basis. |
| `sortingOrder` | string | no | Defines the sorting order of the results. DESCENDING or ASCENDING by timestamp |
| `startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |

## Responses

| Status | Description |
| --- | --- |
| 200 | The request has been successful. |
| 400 | 400 |
| 401 | 401 |
| 402 | 402 |
| 403 | 403 |
| 405 | The specified address is not active. Please, activate your address in order to be able to obtain information from this endpoint. |
| 409 | The data provided seems to be invalid. |
| 415 | The selected Media Type is unavailable. The Content-Type header should be 'application/json'. |
| 422 | Your request body for POST requests must have a structure of { data: { item: [...properties] } } |
| 429 | The request limit has been reached. There can be maximum {requests} requests per {seconds} second(s) made. Please contact our team via email if you need more or upgrade your plan. |
| 500 | An unexpected server error has occurred, we are working to fix this. Please try again later and in case it occurs again please report it to our team via email. |

### Example 200 response

```json
{
  "apiVersion": "2024-12-12",
  "requestId": "601c1710034ed6d407996b30",
  "context": "yourExampleString",
  "data": {
    "limit": 50,
    "startingAfter": "5ca21f92cf5431000105d1a7",
    "hasMore": true,
    "nextStartingAfter": "5ca21f92cf5431000105d1a7",
    "sortingOrder": "ascending",
    "items": [
      {
        "fee": {
          "amount": "0.00000191",
          "unit": "BTC"
        },
        "hash": "b8483fe0d1f276a3c53b9ce65f60a2963202f7096c3c3e9a2d4ea0cb31ab60de",
        "id": "b8483fe0d1f276a3c53b9ce65f60a2963202f7096c3c3e9a2d4ea0cb31ab60de",
        "inputs": [
          {
            "addresses": [
              "XpXpivu9BppPn7XSd9JVPSXb2NsdCr1JZ7"
            ],
            "coinbase": "XtotjTJ1nRGkuAH1axUfybBKoJGtFCqMaV",
            "outputIndex": 1,
            "script": {
              "type": "scripthash"
            },
            "transactionId": "b8483fe0d1ff60a2963202f7096c3c3e9a2d4ea0cb31ab60de276a3c53b9ce65",
            "value": {
              "amount": "123",
              "unit": "BTC"
            },
            "witnesses": [
              "b8483fe0202f7096c3c3e9a2d4ea0cb31ab60ded1f276a3c53b9ce65f60a2963"
            ]
          }
        ],
        "locktime": 1781865,
        "outputs": [
          {
            "addresses": [
              "XtotjxUfybBKoJGtFCqMaVTJ1nRGkuAH1a"
            ],
            "isSpent": true,
            "script": {
              "type": "scripthash"
            },
            "value": {
              "amount": "123",
              "unit": "BTC"
            }
          }
        ],
        "positionInBlock": 10,
        "recipients": [
          {
            "address": "XtotjxUfybBKoJGtFCqMaVTJ1nRGkuAH1a",
            "value": {
              "amount": "123",
              "unit": "BTC"
            }
          }
        ],
        "senders": [
          {
            "address": "XpXpivu9BppPn7XSd9JVPSXb2NsdCr1JZ7",
            "value": {
              "amount": "123",
              "unit": "BTC"
            }
          }
        ],
        "size": 123,
        "timestamp": 1739356303,
        "version": 2,
        "minedInBlock": {
          "hash": "0000000000000001ce2cbb18127b56a4e6495fdec1fc81326317193ed6281cb6",
          "height": 2221316
        }
      }
    ]
  }
}
```

### 200 response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `apiVersion` | string | yes | Specifies the version of the API that incorporates this endpoint. |
| `requestId` | string | yes | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `data` | object | yes |  |
| `data.limit` | integer | yes | Defines how many items should be returned in the response per page basis. |
| `data.startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |
| `data.hasMore` | boolean | yes | Defines whether or not there are more elements available after this set. |
| `data.nextStartingAfter` | string | no | Defines the id of the next page which the next list should start from. |
| `data.sortingOrder` | string | no | Defines what the sorting order is either ascending or descending. |
| `data.items` | array of object | yes |  |
| `data.items[].fee` | object | yes |  |
| `data.items[].fee.amount` | string | yes | String representation of the fee value |
| `data.items[].fee.unit` | string | yes |  |
| `data.items[].hash` | string | yes | String representation of the transaction hash |
| `data.items[].id` | string | yes | String representation of the transaction identifier (txid) |
| `data.items[].inputs` | array of object | yes | Object Array representation of transaction inputs |
| `data.items[].inputs[].addresses` | array of string | no |  |
| `data.items[].inputs[].coinbase` | string | no | String representation of the coinbase hex |
| `data.items[].inputs[].outputIndex` | integer | yes | Numeric representation of the vout |
| `data.items[].inputs[].script` | object | yes |  |
| `data.items[].inputs[].script.type` | string | yes | String representation of the votype |
| `data.items[].inputs[].transactionId` | string | yes | String representation of the txid |
| `data.items[].inputs[].value` | object | no |  |
| `data.items[].inputs[].value.amount` | string | no | String representation of the amount |
| `data.items[].inputs[].value.unit` | string | no | String representation of the unit |
| `data.items[].inputs[].witnesses` | array of string | no |  |
| `data.items[].locktime` | integer | yes | Numeric representation of the transaction locktime |
| `data.items[].outputs` | array of object | yes | Object Array representation of transaction outputs |
| `data.items[].outputs[].addresses` | array of string | no |  |
| `data.items[].outputs[].isSpent` | boolean | yes | Boolean representation of is the transaction output spent |
| `data.items[].outputs[].script` | object | yes |  |
| `data.items[].outputs[].script.type` | string | yes | String representation of the type |
| `data.items[].outputs[].value` | object | no |  |
| `data.items[].outputs[].value.amount` | string | no | String representation of the amount |
| `data.items[].outputs[].value.unit` | string | no | String representation of the unit |
| `data.items[].positionInBlock` | integer | yes | Numeric representation of the index |
| `data.items[].recipients` | array of object | yes | Object Array representation of transaction receivers |
| `data.items[].recipients[].address` | string | no | String representation of the receiver address |
| `data.items[].recipients[].value` | object | no |  |
| `data.items[].recipients[].value.amount` | string | no | String representation of the amount |
| `data.items[].recipients[].value.unit` | string | no | String representation of the unit |
| `data.items[].senders` | array of object | yes | Object Array representation of transaction senders |
| `data.items[].senders[].address` | string | no | String array representation of the sender address |
| `data.items[].senders[].value` | object | no |  |
| `data.items[].senders[].value.amount` | string | no | String representation of the amount |
| `data.items[].senders[].value.unit` | string | no | String representation of the unit |
| `data.items[].size` | integer | yes | Numeric representation of the transaction size |
| `data.items[].timestamp` | integer | yes | Numeric representation of the timestamp in seconds since epoch |
| `data.items[].version` | integer | yes | Numeric representation of the transaction version |
| `data.items[].minedInBlock` | object | yes |  |
| `data.items[].minedInBlock.hash` | string | yes | String representation of the block hash |
| `data.items[].minedInBlock.height` | integer | yes | Numeric representation of the block height |
