# Pricing Page to JSON Extractor

> Pricing Page to JSON Extractor is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.053/call, status down (last checked 2026-09-15).

Fetches a pricing page URL and extracts structured pricing information as a JSON object

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_c01408f4f66d40aa/purchase
- Price: $0.053/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-1fee60bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BOMSMg0m-NqPXNdFeIaXT

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 api-the402-ai-1fee60bf -d '<json body>'
```

Example prompt: Can you extract the pricing plans and costs from https://example.com/pricing and give me the results as structured JSON so I can compare them easily?

## When to prefer this

Use this endpoint when you need to programmatically extract and compare pricing information from web pages without manually parsing HTML. Ideal for competitive pricing research, building pricing comparison tools, or populating databases with SaaS pricing data. Prefer this over generic scrapers when you specifically need pricing-focused structured JSON output.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page uses heavy JavaScript rendering that cannot be parsed — incomplete or empty result
- Pricing page has no clear structure — JSON output may be partial or malformed
- Invalid or malformed URL provided — request rejected
- Rate limiting or bot detection on target site — extraction blocked
- Payment of 0.053 USDC not fulfilled — 402 Payment Required response

## How this service works

Purchase: Pricing Page to JSON Extractor

## Output

A JSON object containing structured pricing data extracted from the target pricing page, including plan names, prices, billing intervals, and feature lists for each tier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-1fee60bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
