---
title: "Feed Swap Hops"
method: GET
path: "/v1/feed/action/{tx_hash}/hops"
tags: ["feed"]
---

# Feed Swap Hops

`GET /v1/feed/action/{tx_hash}/hops`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/feed/action/{tx_hash}/hops`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Get individual swap hops for a transaction (multi-hop drilldown).

Returns canonical_swaps rows for the given tx_hash, with entity_registry
JOINs for symbol/decimals fallback, ordered by log_index.

## Path parameters

- `tx_hash` string, required

## Query parameters

- `chain` string: Chain to look up hops on

## Response `200`

Successful Response

- SwapHopsResponse
  - `tx_hash` string, required
  - `chain` string, required
  - `hops` SwapHop[], required
    - `log_index` integer, required
    - `protocol` string, nullable
    - `pool_address` string, nullable
    - `token_in` string
    - `token_in_symbol` string, nullable
    - `token_in_amount` number, nullable
    - `amount_in_usd` number, nullable
    - `token_out` string
    - `token_out_symbol` string, nullable
    - `token_out_amount` number, nullable
    - `amount_out_usd` number, nullable
    - `dex_label` string, nullable
  - `count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bitpoort/apis/bitpoort-api.md) · [All operations](https://skmtc.dev/bitpoort/apis/bitpoort-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bitpoort/apis/bitpoort-api/revisions/1a51d8566777?raw)
