# LI.FI — Parse transaction call data (BETA)

Get LI.FI Calldata Parser data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as callData, chainId, and retrieve structured data including structured JSON records, identifiers, and response metadata to inspect calldata inputs, and handle unsupported decoding, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/lifi/lifi-li-fi-parse-transaction-call-data-beta/0868326d-aeab-4789-9a4b-87eb302c9837/
API ID: 0868326d-aeab-4789-9a4b-87eb302c9837
Provider: lifi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/lifi/v1/calldata/parse
Page update time: 2026-12-03T02:43:34.340Z
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.990Z. 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 Calldata Parser API

callData is required; chainId is optional context. The response is a JSON array and may be empty, so do not assume a fixed object schema for every result.

## What You Can Build

- **Inspect calldata inputs**: Keep chain context with the original callData.
- **Handle unsupported decoding**: Branch on an empty result before reading records.

## Returned Data

| Field | Meaning |
| --- | --- |
| `[]` | Parser result array; can be empty |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LI.FI — Parse transaction call data (BETA) 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": {
        "chainId": {
          "type": "string",
          "description": "The chainId that the transaction is built for (or has been sent on)"
        },
        "callData": {
          "type": "string",
          "description": "The call data to parse"
        }
      },
      "required": [
        "callData"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {}
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/lifi/v1/calldata/parse?callData=0x1794958f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000042051d045f404866b9fc560f7806db5eecc183f0ad68409d563608198466803b33c000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000552008c0f6870c2f77e5cc1d2eb9bdff03e30ea00000000000000000000000000000000000000000000000000000000005f21070000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066163726f7373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086c6966692d61706900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ce40449b773a3e6e5e769adb4e567179d4828cbd000000000000000000000000ce40449b773a3e6e5e769adb4e567179d4828cbd000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000a4332d746b000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c06ebbefd94032b85424d51906e2a335efae264b000000000000000000000000000000000000000000000000000000000003d09000000000000000000000000000000000000000000000000000000000000000000000000000000000552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0000000000000000000000000552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff850000000000000000000000000000000000000000000000000000000005f1e8510000000000000000000000000000000000000000000000000de0590daefc17430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006ae2f3ab000000000000000000000000000000000000000000000000000000006ae3173d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000&chainId=1' \
  -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
[]
```

## 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
### Which inputs are required?
Only callData is mandatory; chainId is optional.

### Is the endpoint marked beta?
Yes. The published operation is a beta calldata parser.

### Can the response be empty?
Yes. Handle an empty array before attempting to read decoded records.

### Does parsing broadcast a transaction?
No. It parses supplied calldata.

### Does an empty result prove a transaction failed?
No. Use transfer status or the appropriate chain transaction source for execution status.

### Can I assume every result has the same fields?
No fixed non-empty record shape is established here; inspect the returned records before parsing optional fields.

## Available implementations
- lifi: https://openany.si/lifi/lifi-li-fi-parse-transaction-call-data-beta/0868326d-aeab-4789-9a4b-87eb302c9837/

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