# PrimeAPI Mortgage Calculator

> PrimeAPI Mortgage Calculator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.133379/call, status unknown (last checked 2026-09-14).

Calculates mortgage payments and related financial metrics given loan parameters

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/finance/mortgage/calc
- Price: $0.133379/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-mortgage-calculator-6efc0ebd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M0Zn-okZXsQFXZJCgzu2y

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 primeapi-mortgage-calculator-6efc0ebd -d '<json body>'
```

Example prompt: Calculate my monthly mortgage payment for a $450,000 home with 20% down, a 6.75% interest rate, and a 30-year fixed loan term.

## When to prefer this

Use this endpoint when an agent needs to quickly compute mortgage payment estimates without requiring a full banking integration or API key setup. Ideal for real estate, personal finance, or home-buying assistant workflows that need on-demand mortgage math paid per call in USDC.

## Known failure modes

- Missing or invalid loan amount results in a 400 error
- Negative or zero interest rate causes computation failure
- Unsupported loan term length returns an error
- Malformed query string fails schema validation
- Payment failure (402) if USDC balance is insufficient

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns computed mortgage details including estimated monthly payment, total interest over the loan life, principal vs. interest breakdown, and potentially an amortization schedule based on the provided loan parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-mortgage-calculator-6efc0ebd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
