# SalesForge Quote Strategy API

> SalesForge Quote Strategy API is a paid API for AI agents from salesforge-production-0d96.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Analyzes cost, revenue, and sell price inputs to return margin percentage, markup, gross profit, discount headroom, and minimum sell price needed to hit a target margin.

## Facts

- Endpoint: POST https://salesforge-production-0d96.up.railway.app/api/quote-strategy?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/salesforge-quote-strategy-api-6bd0d9e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sKUZk3wgNyG4fiGbvX2RQ

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 salesforge-quote-strategy-api-6bd0d9e8 -d '<json body>'
```

Example prompt: Can you run a quote strategy analysis on a deal where my cost is $7,200, my sell price is $10,000, and my target margin is 25%? I want to know my actual margin, gross profit, how much room I have to discount, and the minimum I can sell it for.

## When to prefer this

Choose this endpoint when you need fast, structured financial analysis of a B2B sales quote — especially when you need margin, markup, gross profit, discount headroom, and minimum sell price all in a single call. It is ideal for AI sales agents, CRM automations, and quote-approval workflows where a human or agent needs to validate deal profitability before approving or sending a quote. Prefer it over spreadsheet logic or generic calculators when you need a machine-readable JSON response that can feed downstream decision logic.

## Known failure modes

- Missing required fields (cost, sellPrice) may return validation errors or null results
- Passing zero or negative cost values may cause division errors or nonsensical margin calculations
- If targetMarginPct is not provided, minimumSellForTargetMargin may be null or omitted
- Extremely large or small numbers may cause floating point precision issues in returned percentages
- Non-numeric values for cost, revenue, sellPrice, or targetMarginPct will likely cause a 400 error

## How this service works

Agent-ready B2B sales qualification and quote analysis micro-APIs.

## Output

Returns a JSON object with: marginPct (actual gross margin as a percentage), markupPct (markup over cost as a percentage), grossProfit (dollar amount of gross profit), discountHeadroom (dollar amount available to discount while maintaining profitability), and minimumSellForTargetMargin (the lowest sell price that achieves the specified target margin percentage).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost": {
   "type": "number"
  },
  "revenue": {
   "type": "number"
  },
  "sellPrice": {
   "type": "number"
  },
  "targetMarginPct": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "marginPct": 28,
  "markupPct": 38.89,
  "grossProfit": 2800,
  "discountHeadroom": 400,
  "minimumSellForTargetMargin": 9600
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/salesforge-quote-strategy-api-6bd0d9e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from salesforge-production-0d96.up.railway.app](https://www.zero.xyz/host/salesforge-production-0d96.up.railway.app/llms.txt)
