{"uid":"cap_dBdwrbBnWWX4bQwz-Kx2B","slug":"x402-web-data-extraction-api-72576f3a","name":"x402 Web Data Extraction API","description":"Extract structured JSON from any web page. 9 preset schemas (product_specs, company_info, article_summary, pricing, job_listing, reviews, contact_extraction, structured_table, social_profile) with full JS rendering. Pass ?url=...&intent=... to get clean, validated data ready for analysis.","url":"https://x402-extract-api-production.up.railway.app/extract?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","intent"],"properties":{"url":{"type":"string","description":"Publicly accessible URL to extract data from."},"intent":{"enum":["product_specs","company_info","article_summary","pricing","job_listing","reviews","contact_extraction","structured_table","social_profile"],"type":"string","description":"Extraction type: product_specs, company_info, article_summary, pricing, job_listing, reviews, contact_extraction, structured_table, or social_profile."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"url":"https://www.wikipedia.org/wiki/Machine_learning","intent":"article_summary"}}},"response":{"url":"https://www.wikipedia.org/wiki/Machine_learning","data":{"title":"Machine learning - Wikipedia","topics":["machine learning","artificial intelligence","deep learning","neural networks","data mining","statistics","data compression","algorithms","pattern recognition","reinforcement learning"],"summary":"Machine learning (ML) is a field of study in artificial intelligence concerned with the development and study of statistical algorithms that can learn from data and generalize to unseen data, performing tasks without being explicitly programmed. The term was coined in 1959 by Arthur Samuel, an IBM employee and pioneer in computer gaming and artificial intelligence. Machine learning grew out of the quest for artificial intelligence and has evolved to focus on tackling solvable problems of a practical nature. The field has relationships with data compression, data mining, and various other disciplines, with advances in deep learning allowing neural networks to surpass many previous approaches.","entities":[{"name":"Arthur Samuel","type":"person"},{"name":"IBM","type":"company"},{"name":"Donald Hebb","type":"person"},{"name":"Walter Pitts","type":"person"},{"name":"Warren McCulloch","type":"person"},{"name":"Raytheon Company","type":"company"},{"name":"Nils Nilsson","type":"person"},{"name":"Tom M. Mitchell","type":"person"},{"name":"Alan Turing","type":"person"},{"name":"Ian Goodfellow","type":"person"},{"name":"John Hopfield","type":"person"},{"name":"David Rumelhart","type":"person"},{"name":"Geoffrey Hinton","type":"person"},{"name":"AlphaGo","type":"concept"},{"name":"NVIDIA Maxine","type":"concept"},{"name":"DeepMind","type":"company"},{"name":"Chinchilla 70B","type":"concept"},{"name":"artificial intelligence","type":"concept"},{"name":"deep learning","type":"concept"},{"name":"neural networks","type":"concept"},{"name":"data mining","type":"concept"},{"name":"generative adversarial networks","type":"concept"},{"name":"reinforcement learning","type":"concept"}],"sentiment":"neutral","key_points":["Machine learning is concerned with developing statistical algorithms that learn from data and generalize to unseen data","The term was coined in 1959 by Arthur Samuel, an IBM employee","Deep learning advances have allowed neural networks to surpass many previous machine learning approaches","Machine learning grew out of the quest for artificial intelligence but shifted focus to practical solvable problems","There are close connections between machine learning and data compression, with systems able to be used for both prediction and optimal compression","Machine learning and data mining employ similar methods but have different goals - ML focuses on prediction while data mining focuses on discovering unknown properties"],"word_count":1200},"usage":{"model":"claude-sonnet-4-20250514","renderer":"playwright","input_tokens":2858,"output_tokens":831},"intent":"article_summary","success":true,"extracted_at":"2026-06-01T04:31:22.398Z"}},"exampleRequest":{"url":"https://www.wikipedia.org/wiki/Machine_learning","intent":"article_summary"},"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"0.50","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uIVwY1GyaeQEVgqppVWFf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON from any publicly accessible web page using one of 9 preset schemas with full JavaScript rendering support","exampleAgentPrompt":"Can you extract the product specs from this page — https://www.apple.com/iphone-16-pro/ — and give me the structured data as JSON using the product_specs schema?","exampleUseCases":[{"title":"Monitor competitor pricing updates daily","prompt":"I need you to check our top 5 competitors' pricing pages every morning and extract all their current pricing tiers and features into structured JSON. Can you pull the pricing data from their websites and give me a clean comparison table I can review?"},{"title":"Aggregate job openings across career sites","prompt":"Can you scan these job boards and extract all the open positions matching 'senior engineer' — I need the job title, requirements, salary range, and location structured as JSON so I can load them into our hiring spreadsheet automatically."},{"title":"Build company research database automatically","prompt":"I'm tracking a list of 50 potential vendor partners. Can you visit each of their websites and extract their company info — name, headquarters, founding year, team size, and contact details — and give me all the structured data in one consolidated JSON file?"}],"resultDescription":"A validated JSON object containing structured data matching the requested intent schema (e.g. product specs, pricing tiers, article summary, job details, contacts, reviews, social profile, or table rows), extracted from the fully JS-rendered version of the target web page.","failureModes":["URL is not publicly accessible or requires authentication — extraction fails or returns empty data","JavaScript-heavy single-page apps may timeout or render incompletely","Requested intent schema does not match the content type of the page — returns poorly populated or empty fields","Rate limiting or blocking by target website returns an error","Invalid or malformed URL parameter causes a 400-level error","Target page content has changed and no longer contains expected fields"],"whenToPreferThis":"Choose this endpoint when you need to convert an arbitrary public web page into structured, validated JSON using a predefined schema — especially when the target page relies on JavaScript rendering. Ideal for agentic workflows that need to ingest web data (product listings, job posts, pricing, articles, company profiles) in a machine-readable format without building custom scrapers. The 9 fixed intent schemas make it fast to use when your target content type matches one of the presets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-06-10T17:16:28.484Z","lastSuccessfullyRanAt":"2026-06-10T17:16:28.484Z","lastHealthCheckAt":"2026-10-31T06:36:11.149Z","isFirstParty":false,"canonicalSlug":"x402-web-data-extraction-api-72576f3a"}