# Conway Replicatio CSS Selector Extractor

> Conway Replicatio CSS Selector Extractor is a paid API for AI agents from conway-replicatio-cloudflare.nikitamakiel1.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Fetches a URL and extracts content matching specified CSS selectors, returning structured data from the targeted web page

## Facts

- Endpoint: POST https://conway-replicatio-cloudflare.nikitamakiel1.workers.dev/api/x402/selectors
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/conway-replicatio-css-selector-extractor-7123838d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BebS09no1VDYQFwQbecRm

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 conway-replicatio-css-selector-extractor-7123838d -d '<json body>'
```

Example prompt: Fetch https://example.com/products and extract the content matching these CSS selectors: .product-title, .product-price, and .product-rating — I need the text from all three elements on that page.

## When to prefer this

Choose this endpoint when you need to extract specific, known HTML elements from a URL using CSS selectors and want a pay-per-call model settled in USDC on Base via x402. It is ideal for agents that need targeted scraping of up to 8 selectors per call without managing browser infrastructure. Prefer it over full-page scrapers when you know exactly which elements you need and want minimal, structured output.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails with error response
- CSS selectors match no elements on the page — data field may be empty or null
- Malformed URL input causes validation failure
- Selectors array exceeds 8 items or contains empty strings — schema validation error
- Target page uses JavaScript rendering — static fetch may miss dynamically loaded content
- Payment not settled in USDC on Base — request rejected before processing

## How this service works

Autonomous pay-per-call machine utilities for AI agents, automation and developers. Payments settle in USDC on Base through x402.

## Output

Returns a JSON object with ok:true, a service field set to 'selectors', and a data field containing the extracted content for each CSS selector matched against the fetched URL's HTML.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      },
      "selectors": {
       "type": "array",
       "minItems": 1,
       "maxItems": 8,
       "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
       }
      }
     },
     "required": [
      "url",
      "selectors"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {},
  "service": "selectors"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/conway-replicatio-css-selector-extractor-7123838d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from conway-replicatio-cloudflare.nikitamakiel1.workers.dev](https://www.zero.xyz/host/conway-replicatio-cloudflare.nikitamakiel1.workers.dev/llms.txt)
