# LI.FI — Get the total amount of a token received on a specific chain, for cross-chain transfers.

Get LI.FI Received Amount Summary data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as fromTimestamp, limit, toChain, and retrieve structured data including recipient grouping address, sending chain grouping identifier, aggregated received token amount, next-page availability flag, and previous-page availability flag to reconcile recipient totals, and process bounded windows.

Documentation: https://openany.si/lifi/lifi-li-fi-get-the-total-amount-of-a-token-received-on-a-specific-chain-for-cross-chain-transfer/c46f85e1-cacd-463b-b627-491e90cacc2f/
API ID: c46f85e1-cacd-463b-b627-491e90cacc2f
Provider: lifi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/lifi/v1/analytics/transfers/summary
Page update time: 2026-12-03T02:43:34.330Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:43:32.933Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## LI.FI Received Amount Summary API

fromTimestamp and toTimestamp are required Unix seconds with inclusive bounds and a maximum span of 30 days. toChain and toToken scope received amounts; continuation uses next or previous.

## What You Can Build

- **Reconcile recipient totals**: Keep recipient and sending-chain grouping keys.
- **Process bounded windows**: Use windows no longer than 30 days.

## Returned Data

| Field | Meaning |
| --- | --- |
| `data[].id.toAddress` | Recipient grouping address |
| `data[].id.sendingChainId` | Sending chain grouping identifier |
| `data[].totalReceivedAmount` | Aggregated received token amount |
| `hasNext` | Next-page availability flag |
| `hasPrevious` | Previous-page availability flag |
| `next` | Continuation cursor |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LI.FI — Get the total amount of a token received on a specific chain, for cross-chain transfers. request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "Pagination limit. Defines the maximum number of returned results."
        },
        "next": {
          "type": "string",
          "description": "The next page cursor. Must come from the `next` field of the response of the previous request."
        },
        "previous": {
          "type": "string",
          "description": "The previous page cursor. Must come from the `previous` field of the response of the previous request."
        },
        "fromTimestamp": {
          "type": "string",
          "description": "A Unix timestamp in seconds marking the start of the query period, inclusive. Transactions older than this timestamp will not be included in the summary."
        },
        "toTimestamp": {
          "type": "string",
          "description": "A Unix timestamp in seconds marking the end of the query period, inclusive. Transactions after this timestamp will not be included in the summary. **The maximum range supported by the endpoint is 30 days.**"
        },
        "toChain": {
          "type": "string",
          "description": "The ID, or key of the chain on the receiving side of the transfer. This parameter filters the summary to include only transfers received on the specified chain."
        },
        "toToken": {
          "type": "string",
          "description": "The address, or symbol of the token received in the transfers. This parameter filters the summary to include only transfers involving the specified token on the receiving chain."
        },
        "fromChain": {
          "type": "number",
          "description": "The ID, or key of the chain on the sending side of the transfers. This parameter filters the summary to include only transfers sent from the specified chain."
        },
        "integrator": {
          "type": "string",
          "description": "The integrator string to filter transfers by. This parameter filters the summary to include only transfers for the given integrator."
        }
      },
      "required": [
        "fromTimestamp",
        "toTimestamp",
        "toChain",
        "toToken"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "object",
            "properties": {
              "sendingChainId": {
                "type": "integer"
              },
              "toAddress": {
                "type": "string"
              }
            }
          },
          "totalReceivedAmount": {
            "type": "integer"
          }
        }
      }
    },
    "hasNext": {
      "type": "boolean"
    },
    "hasPrevious": {
      "type": "boolean"
    },
    "next": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/lifi/v1/analytics/transfers/summary?fromTimestamp=1793172099&limit=1&toChain=10&toTimestamp=1793258499&toToken=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "data": [
    {
      "id": {
        "sendingChainId": 1,
        "toAddress": "0x21498e23c1eb1a097be1ed1321c6de1819e49621"
      },
      "totalReceivedAmount": 618132975599
    }
  ],
  "hasNext": true,
  "hasPrevious": false,
  "next": "WzYxODEzMjk3NTU5OSx7InRvQWRkcmVzcyI6IjB4MjE0OThlMjNjMWViMWEwOTdiZTFlZDEzMjFjNmRlMTgxOWU0OTYyMSIsInNlbmRpbmdDaGFpbklkIjoxfV0",
  "total": 0
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What timestamp units are required?
Use Unix seconds; both boundaries are inclusive.

### What is the maximum time span?
The supported range is at most 30 days.

### Which token is summarized?
toToken on the required toChain.

### Is totalReceivedAmount a USD value?
No. It is a token amount; resolve token decimals before display.

### How do I continue through groups?
Use the returned cursor and page-state flags with the same filters.

### Are network fees the OpenAny API call price?
No. Gas and transfer fee estimates describe the on-chain operation. Review the selected implementation pricing separately for the OpenAny request.

## Available implementations
- lifi: https://openany.si/lifi/lifi-li-fi-get-the-total-amount-of-a-token-received-on-a-specific-chain-for-cross-chain-transfer/c46f85e1-cacd-463b-b627-491e90cacc2f/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
