# MicroScrape CSS Field Extraction (MCP)

> MicroScrape CSS Field Extraction (MCP) is a paid API for AI agents from microscrape-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts structured fields from a webpage using caller-supplied CSS selectors, returning matched values as structured data

## Facts

- Endpoint: POST https://microscrape-production.up.railway.app/mcp
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/microscrape-css-field-extraction-mcp-3044b0c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c27VV1KhDh0wkVKTmi9cq

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 microscrape-css-field-extraction-mcp-3044b0c7 -d '<json body>'
```

Example prompt: Scrape the product page at https://example.com/product/42 and extract the fields 'price', 'title', and 'stock-status' using the CSS selectors '.product-price', 'h1.product-title', and '.availability-badge'.

## When to prefer this

Choose this endpoint when you need only specific named fields from a page and already know the CSS selectors that target them — it is more precise and efficient than full-page scraping or Markdown extraction. Ideal for structured data tasks like price extraction, content monitoring, or scraping repeating page layouts where element structure is known in advance.

## Known failure modes

- CSS selector matches no elements — field returns null or empty
- Target URL is unreachable or returns non-200 status — extraction fails entirely
- Dynamic/JavaScript-rendered content not present in static HTML — selector returns empty
- Malformed CSS selector syntax causes parsing error
- Page behind authentication or bot protection blocks the request
- Payment failure (x402) prevents the call from being processed

## How this service works

MicroScrape: structured field extraction via caller-supplied CSS selectors (via MCP)

## Output

A structured JSON object mapping each caller-supplied field name to the text content (or attribute value) matched by its corresponding CSS selector on the target page. If a selector matches nothing, the field will be null or an empty string.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/microscrape-css-field-extraction-mcp-3044b0c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from microscrape-production.up.railway.app](https://www.zero.xyz/host/microscrape-production.up.railway.app/llms.txt)
