{"uid":"cap_rfGDa19-rUFBDV9t-I0G4","slug":"opx-web-extraction-api-7e1260fe","name":"OPX Web Extraction API","description":"OPX builds machine-facing infrastructure and paid tools for x402 commerce. Its current live tool helps agents choose between tested x402 web-search providers before spending using recent paid performance evidence.","url":"https://opx-status.dev/api/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096,"minLength":1,"description":"Public HTTP(S) webpage; private/internal addresses are rejected."},"fields":{"type":"array","items":{"type":"object","required":["name","type"],"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"description":"Unique, nonempty field name; __proto__, constructor and prototype are reserved."},"type":{"enum":["string","number","boolean"],"type":"string"},"required":{"type":"boolean","default":false,"description":"If true, a missing value fails the extraction without settlement."}},"additionalProperties":false},"maxItems":50,"minItems":1}}},"responseSchema":{"type":"json","example":{"data":{"name":"Example product","price":null},"finalUrl":"https://example.com/product","requestId":"3c51d4e4-88b4-4b3e-9a95-1d213aa37f85","sourceUrl":"https://example.com/product","missingFields":["price"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Y3Q3_anhYbMiNGXtmtLT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public webpage and extracts user-specified fields as validated, machine-ready JSON, settling payment only when all required fields are successfully delivered.","exampleAgentPrompt":"Grab the product name and price from https://example.com/product and give them back to me as structured JSON — mark price as required so I only pay if it's actually found.","exampleUseCases":[{"title":"Product price monitoring for e-commerce","prompt":"Extract the product title, current price, and availability status from https://shop.example.com/item/12345 — make price a required field so we only settle if it comes back."},{"title":"News article metadata extraction","prompt":"Pull the headline, author name, and publication date from this news article at https://news.example.com/article/breaking-story and return them as structured JSON fields."},{"title":"Business info scraping for lead enrichment","prompt":"From the company page at https://acmecorp.com/about, extract the company name as a string, founding year as a number, and whether they list a contact email as a boolean — I need all three as required fields."}],"resultDescription":"Returns a JSON object containing a 'data' map of the requested field names to their extracted values (or null if missing), the final resolved URL after any redirects, the original source URL, a unique request ID for tracing, and a 'missingFields' array listing any fields that could not be extracted from the page.","failureModes":["Required field not found on page — extraction fails and payment does not settle","URL points to a private or internal address — rejected before retrieval","Webpage is behind authentication or a JavaScript-heavy SPA — extraction may return nulls","Field name uses reserved keyword (__proto__, constructor, prototype) — request rejected with validation error","URL is malformed or exceeds 4096 characters — rejected at input validation","Page returns non-200 HTTP status — extraction fails with no data returned"],"whenToPreferThis":"Choose this endpoint when you need to extract specific named fields from a known public URL and want structured, validated JSON back without writing custom scraping logic. It is especially well-suited for agentic workflows where you want pay-on-success semantics — payment only settles when required fields are actually delivered. Prefer it over generic scraping tools when you need field-level type validation (string, number, boolean) and a clean missing-field report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:10.000Z","isFirstParty":false,"canonicalSlug":"opx-web-extraction-api-7e1260fe"}