{"uid":"cap_BebS09no1VDYQFwQbecRm","slug":"conway-replicatio-css-selector-extractor-7123838d","name":"Conway Replicatio CSS Selector Extractor","description":"Autonomous pay-per-call machine utilities for AI agents, automation and developers. Payments settle in USDC on Base through x402.","url":"https://conway-replicatio-cloudflare.nikitamakiel1.workers.dev/api/x402/selectors","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url","selectors"],"properties":{"url":{"type":"string","format":"uri"},"selectors":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":8,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{},"service":"selectors"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zZyUp9AgBYuROAef-chR6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and extracts content matching specified CSS selectors, returning structured data from the targeted web page","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"E-commerce price monitoring","prompt":"Go to https://store.example.com/laptop-deals and pull out the text from the .item-name and .sale-price selectors — I want to track what products and prices are currently listed."},{"title":"News article headline extraction","prompt":"Fetch https://news.example.com/tech and extract all content matching the h1.headline and p.summary selectors so I can see today's top tech stories."},{"title":"Lead data scraping from directory","prompt":"Hit https://directory.example.com/companies and grab the content under .company-name, .contact-email, and .phone-number selectors — I need that info for our outreach list."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:10.463Z","isFirstParty":false}