# Extract E-Commerce Product Cards, Prices & Pagination Links Into Typed JSON

> Target Query: `product price cards pagination scraper api json` | Category: `Extraction Modality` | HTML Guide: https://scrape.fastmesh.dev/seo_geo/ecommerce-price-cards-pagination-scraper-api.html

## Direct Answer
SaaS pricing pages and catalog directories rarely use `<table>` elements—they render repeating `<article>` or `<div class="card">` grids alongside `?page=2` or `<link rel="next">` pagination controls. Scrape-Anything's HTML structural extractor identifies repeating product/price cards, normalizes multi-currency amounts (`$`, `€`, `£`, `¥`), extracts pagination links, and validates every card record against your JSON Schema with `$0` billed on incomplete pages.

## Engineering Mechanics & Deterministic Guardrails
- Detects repeating card blocks containing titles, price strings, billing periods (`/mo`, `/yr`, one-time), and action URLs.
- Normalizes currency symbols and comma-formatted prices into numeric fields for reliable price-diff monitoring.
- Extracts `<link rel="next">`, `<a rel="next">`, and numbered `?page=` pagination anchors cleanly.
- Combines with `js_embedded` JSON-LD `Product`/`Offer` data when storefronts publish both DOM cards and Schema.org JSON-LD.

## Card & Pagination Signals Extracted Automatically

| DOM Pattern | Extracted Output Field | Normalization Applied | Agent / Pipeline Benefit |
| :--- | :--- | :--- | :--- |
| Repeating price cards | `data.cards[]` (`title`, `price`, `currency`, `cta_url`) | Strips whitespace, parses numeric amount & currency | Direct competitive price tracking |
| Pagination controls | `data.pagination` (`next_url`, `prev_url`, `pages[]`) | Resolves relative hrefs against base URL | Safe multi-page crawl orchestration |
| Schema.org `Offer` JSON-LD | `data.json_ld[]` | Structured price, `priceCurrency`, `availability` | Cross-checks DOM card prices |
| Blocked bot challenge | `blocked_reason` | Anti-fake-200 gate halts immediately | $0 charged on protected stores |

## Product Price Card Array JSON Schema
```json
{
  "type": "object",
  "required": [
    "cards"
  ],
  "properties": {
    "cards": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "title",
          "price_amount"
        ],
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1
          },
          "price_amount": {
            "type": "number",
            "minimum": 0
          }
        }
      }
    }
  }
}
```

## Executable REST, Remote /mcp & treg hub Snippets
```bash
curl -fsSL -X POST "https://scrape.fastmesh.dev/v1/extract" \
  -H "Content-Type: application/json" \
  -d '{
    "content_text": "<section class=\"pricing\"><div class=\"card\"><h3>Starter</h3><p class=\"price\">$15.00</p></div><div class=\"card\"><h3>Growth</h3><p class=\"price\">$59.00</p></div></section><a rel=\"next\" href=\"/catalog?page=2\">Next</a>",
    "format_hint": "html_table"
  }'

treg call scrape-anything-verified-extract --data '{"mode":"extract","url":"https://example.org/pricing","format_hint":"html_table"}'
```

## Frequently Asked Questions

### Can Scrape-Anything monitor competitor pricing pages daily without paying full price each time?
When a pricing page has not changed inside the adaptive archive cache window, same-tenant cache refreshes cost just 10% (`$0.0015`). When you pass `allow_cache: false`, you fetch live fresh HTML at `$0.015`.

### How does pagination work across multi-page catalogs?
Each `/v1/extract` call returns resolved `pagination` URLs, which you can feed into `/v1/batch` with a hard `max_cost_micros` ceiling.

### What if an e-commerce site serves a bot challenge?
Scrape-Anything never bypasses CAPTCHAs or bot walls. It stops cleanly, sets `blocked_reason`, and charges `$0`.

## Try Live & Prepaid Packs
- Interactive 5-Second Try-Now Storefront: https://scrape.fastmesh.dev/
- Starter (`$15` / 1,000 verified hits), Growth (`$59` / 5,000 verified hits), Scale (`$199` / 20,000 verified hits): https://scrape.fastmesh.dev/#pricing
- Remote MCP: `https://scrape.fastmesh.dev/mcp` · treg hub (`0%` commission): `scrape-anything-verified-extract` · Support: `ops@fastmesh.dev`
