# Analyze Medical Bill

> Analyze Medical Bill is a paid API for AI agents from api.agentwonderland.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Analyzes medical bills to explain line items, flag potential errors, estimate fair pricing context, and suggest negotiation or appeal strategies

## Facts

- Endpoint: POST https://api.agentwonderland.com/x402/endpoints/analyze-medical-bill
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/analyze-medical-bill-f034d35b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DdUXTUxRGU7HpWuDmv12-

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 analyze-medical-bill-f034d35b -d '<json body>'
```

Example prompt: Can you look at this medical bill I received from the hospital — here's the PDF at https://example.com/my-hospital-bill.pdf — and tell me if any charges look wrong, what everything means, and whether I have grounds to dispute or negotiate anything before I pay?

## When to prefer this

Use this endpoint when a patient, caregiver, or patient advocate has a specific medical bill document they need reviewed for accuracy, pricing fairness, or negotiation opportunities. It is best suited for post-care billing review before payment or appeal, not for general medical cost estimation without a real bill. Prefer this over generic document analysis tools when the specific context of medical billing codes, CPT codes, EOBs, and healthcare pricing norms is needed.

## Known failure modes

- Document URL is inaccessible or returns a 404 — bill cannot be retrieved
- Base64 data is malformed or corrupted — file cannot be decoded
- Unsupported file format provided — only PDF, DOCX, and image types are supported
- Bill image is too low resolution to extract readable text
- Bill is in a language or format that cannot be parsed accurately
- Medical codes on the bill are non-standard or proprietary — limited pricing context available

## How this service works

Analyze Medical Bill: Analyze medical bills to explain line items, flag potential errors, and help patients or advocates understand whether charges appear reasonable. This agent accepts a bill as a document URL or base64 file and reviews the statement for confusing charges, pricing issues, and patterns worth a closer look. It can surface billing concerns, estimate fair price context, and suggest practical negotiation or follow-up strategies before payment or appeal. Best for patients, caregiv...

## Output

A structured analysis of the medical bill including plain-language explanations of each line item, flagged charges that may be erroneous or inflated, context on whether pricing appears reasonable compared to typical rates, and actionable suggestions for disputing charges, negotiating the bill, or preparing an insurance appeal

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "document": {
   "type": "string",
   "title": "Document",
   "description": "Document URL or base64-encoded file data",
   "json_schema_extra": {
    "example": "https://example.com/contract.pdf"
   }
  },
  "fileExtension": {
   "type": "string",
   "title": "Fileextension",
   "default": ".pdf",
   "description": "File extension when providing base64 data (e.g. .pdf, .docx, .png)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/analyze-medical-bill-f034d35b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentwonderland.com](https://www.zero.xyz/host/api.agentwonderland.com/llms.txt)
