> For the complete documentation index, see [llms.txt](https://docs.nansen.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nansen.ai/api/changelog/17-11-2026-counterparties-time-window.md).

# 17-11-2026: Address Counterparties Honours the Time of Day in date

**Affected endpoints:** `POST /api/v1/profiler/address/counterparties`, `POST /api/v1/profiler/address/counterparties/batch`

Both endpoints accept `date.from` and `date.to` as ISO 8601 timestamps, but they used only the date part. A window inside one day returned the whole day: `12:00` to `13:00` UTC and `13:00` to `14:00` UTC on the same day gave the same counterparties and totals.

**The window is now applied to the second, in UTC, and both ends are inclusive.**

| Request `date`                                                 | Before                   | Now                                                   |
| -------------------------------------------------------------- | ------------------------ | ----------------------------------------------------- |
| `"from": "2026-11-10T12:00:00Z", "to": "2026-11-10T12:59:59Z"` | All of November 10       | 12:00:00 to 12:59:59 UTC                              |
| `"from": "2026-11-10", "to": "2026-11-10"`                     | All of November 10       | All of November 10 (unchanged)                        |
| `"from": "2026-11-09T18:00:00Z", "to": "2026-11-10T06:00:00Z"` | All of November 9 and 10 | 18:00:00 on November 9 to 06:00:00 on November 10 UTC |

Requests with date-only values, or with `00:00:00` to `23:59:59` times, return the same results as before. Because both ends are inclusive, back-to-back windows such as `12:00:00`–`13:00:00` and `13:00:00`–`14:00:00` both count a transfer at exactly `13:00:00`; end each window one second earlier (`12:59:59`) to avoid that.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nansen.ai/api/changelog/17-11-2026-counterparties-time-window.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
