# Bullflow Peak Return Calculator

> Bullflow Peak Return Calculator is a paid API for AI agents from api.bullflow.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns the peak (highest) price and maximum percent return achieved by an options contract since a specified entry trade timestamp and price.

## Facts

- Endpoint: GET https://api.bullflow.io/v1/data/peakReturn?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bullflow-peak-return-calculator-d2219cc4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n_z82vHNYGhlPmAmbhLEP

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 bullflow-peak-return-calculator-d2219cc4
```

Example prompt: Using Bullflow, what was the peak price and maximum percent return on the SPY options contract O:SPY261016C00650000 since it was entered at $0.50 per share at Unix timestamp 1712000000?

## When to prefer this

Use this endpoint when you need to retrospectively evaluate the best-case return on a specific options contract since a known entry point, especially for analyzing unusual options flow or dark pool trades tracked by Bullflow. It is ideal for performance attribution, trade journaling, or validating smart-money signals. Prefer this over general market data APIs when the context is unusual options activity and you have a precise entry price and timestamp to anchor the peak return calculation.

## Known failure modes

- Invalid or malformed option contract symbol returns an error
- Entry price of zero or negative value rejected (exclusiveMinimum: 0)
- Trade timestamp of zero or negative value rejected (exclusiveMinimum: 0)
- Future timestamps or timestamps with no available data may return empty or null results
- Contract symbol not found in Bullflow data may return a 404 or empty response
- Network or API rate-limit errors may occur under high request volume

## How this service works

Bullflow.io is a real-time unusual options flow and dark pool tracker with advanced tools to view, filter, and analyze market activity as it happens.

## Output

Returns a JSON object with two fields: 'peakPriceSinceTimestamp' (the highest option price in USD formatted to two decimal places as a string) and 'peakPercentReturnSinceTimestamp' (the maximum percentage return relative to the provided entry price as a number). Example: {"peakPriceSinceTimestamp": "1.50", "peakPercentReturnSinceTimestamp": 11.11}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "sym",
      "old_price",
      "trade_timestamp"
     ],
     "properties": {
      "sym": {
       "type": "string",
       "description": "Option contract symbol, for example O:SPY261016C00650000."
      },
      "old_price": {
       "type": "number",
       "description": "Entry price in USD per share.",
       "exclusiveMinimum": 0
      },
      "trade_timestamp": {
       "type": "number",
       "description": "Trade Unix timestamp in seconds.",
       "exclusiveMinimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "peakPriceSinceTimestamp",
      "peakPercentReturnSinceTimestamp"
     ],
     "properties": {
      "peakPriceSinceTimestamp": {
       "type": "string",
       "description": "Highest option price in USD, formatted to two decimal places."
      },
      "peakPercentReturnSinceTimestamp": {
       "type": "number",
       "description": "Peak return in percent relative to the supplied entry price."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "peakPriceSinceTimestamp": "1.50",
  "peakPercentReturnSinceTimestamp": 11.11
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bullflow-peak-return-calculator-d2219cc4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bullflow.io](https://www.zero.xyz/host/api.bullflow.io/llms.txt)
