{"uid":"cap_8PCLv4WaOu7bM89wxM4CN","slug":"citiview-agent-market-web-page-scraper-css-selectors-4d50da35","name":"Citiview Agent Market – Web Page Scraper (CSS Selectors)","description":"Scrape text and attributes from a rendered web page using CSS selectors. Returns every match per selector. Also callable as GET with the same fields as query parameters.","url":"https://agents.citiviewgroup.com/v1/scrape?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url","selectors"],"properties":{"url":{"type":"string"},"selectors":{"type":"string","description":"CSS selectors; separate items with |"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6OEYLIuGo7F2nvJwAxkZ3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a web page and extracts text and attributes using CSS selectors, returning all matches per selector.","exampleAgentPrompt":"Can you scrape the page at https://example.com/products and pull out the product titles and prices using the CSS selectors '.product-title | .product-price'?","exampleUseCases":[{"title":"Extract e-commerce product prices","prompt":"Go to https://shop.example.com/laptops and extract all the product names and their prices using the CSS selectors '.item-name | .item-price'."},{"title":"Pull news headlines from media site","prompt":"Scrape the headlines and article summaries from https://news.example.com using CSS selectors 'h2.headline | p.summary' and give me everything it finds."},{"title":"Gather contact info from business page","prompt":"Can you extract the email addresses and phone numbers from https://company.example.com/contact using CSS selectors 'a[href^=mailto] | span.phone-number'?"}],"resultDescription":"An object mapping each CSS selector to an array of all matched text strings and attributes found on the rendered page. Returns every match per selector, so multiple elements matching the same selector are all included.","failureModes":["Page URL is unreachable or returns non-200 status — empty or error response","CSS selectors match no elements — empty arrays returned for those selectors","Dynamically rendered content not fully loaded — some elements may be missing","Invalid URL format — request rejected with validation error","Rate limiting or bot detection by the target site — scrape may fail or return partial content","Malformed CSS selector syntax — selector may be ignored or return an error"],"whenToPreferThis":"Choose this endpoint when you need to extract specific, targeted elements from a rendered web page using CSS selectors, especially when the page relies on JavaScript rendering. Prefer this over raw HTML fetch tools when you need selector-based targeting across multiple element types in a single request. It is cost-effective at $0.01 per call for targeted extraction tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:47:14.479Z","isFirstParty":false,"canonicalSlug":"citiview-agent-market-web-page-scraper-css-selectors-4d50da35"}