# Polyform Finance Peer Compare

> Polyform Finance Peer Compare is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-23).

Compares financial health metrics of two peer companies (e.g. KO vs PEP), returning verdicts and a winner per metric.

## Facts

- Endpoint: GET https://api.polyform.org/v1/finance/peer-compare?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-finance-peer-compare-69ebacc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2MAfufGspRGkiYcuk9Jcz

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 polyform-finance-peer-compare-69ebacc2
```

Example prompt: Can you compare the financial health of Coca-Cola and PepsiCo — which one is doing better on net margin and revenue growth?

## When to prefer this

Choose this endpoint when you need a fast, structured head-to-head financial health comparison between two peer companies without setting up API keys or accounts. It is ideal for agents that need a binary winner decision (e.g. 'which is stronger') across key metrics like net margin and revenue growth, paid per-call with USDC micropayments via x402.

## Known failure modes

- Missing or unrecognized company identifiers may return an error or empty results
- No query parameters defined in schema — unclear how companies are specified, which may cause 400 errors
- Payment failure via x402 protocol results in 402 Payment Required, no data returned
- Rate limiting or network issues may cause timeouts
- Stale or unavailable financial data may affect verdict accuracy

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

Returns a JSON object with both companies' names and financial health verdicts (e.g. HEALTHY), a breakdown of which company wins each metric (net margin %, revenue YoY %), and an overall 'stronger' company designation.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": {
   "name": "Coca-Cola",
   "verdict": "HEALTHY"
  },
  "b": {
   "name": "PepsiCo",
   "verdict": "HEALTHY"
  },
  "winners": {
   "netMarginPct": "KO",
   "revenueYoYPct": "PEP"
  },
  "stronger": "KO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-finance-peer-compare-69ebacc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
