# BlockRun.AI dFlow Trade History

> BlockRun.AI dFlow Trade History is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches the complete trade history for a specified wallet address on the dFlow decentralized exchange protocol

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/dflow/trades
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-bbaf5427
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kXlIR-t7etq5syzfws3ZC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockrun-ai-bbaf5427
```

Example prompt: Can you pull up the full trade history on dFlow for wallet address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?

## When to prefer this

Use this endpoint when you specifically need to retrieve historical trade activity for a wallet on the dFlow decentralized exchange. Prefer this over generic blockchain explorers when you need structured, DEX-specific trade data from dFlow in a programmatic format suitable for analysis or display.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Wallet with no dFlow trading history returns empty data array
- Network or upstream dFlow API unavailability causes timeout or 503
- Payment not processed (402) results in access denial
- Rate limiting may occur with excessive calls

## How this service works

14M+ on-chain transactions. The routing & payment layer for AI. One endpoint routes to every frontier model — payment built in, settled in USDC on Base & Solana. One install for OpenClaw, Claude Code, or Franklin Agent.

## Output

Returns a list of trade records associated with the queried wallet on the dFlow DEX, including transaction details such as trade pairs, amounts, timestamps, and other relevant swap or order data packaged in a data object.

## Example request

```json
{
 "wallet": "DfLZV18rD7wCQwjYvhTFwuvLv49CrdDSE9ent76LMiD1"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-bbaf5427/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
