{"uid":"cap_HKKYDQPAmLQaH1LRTuShn","slug":"riveter-api-riveter-run-structured-web-data-extraction-0f90056f","name":"Riveter Run - Structured Web Data Extraction","description":"Copy link Define the structure of your output directly in the API request. This endpoint allows you to define both your input data and output configuration in a single request.","url":"https://mpp.orthogonal.com/riveter/v1/run?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input","output"],"properties":{"input":{"type":"object","description":"The input object contains your source data:  Keys are column/attribute names Values are arrays of strings (all arrays must be the same length) Maximum 1000 rows per request Example: {\"company\":[\"Stripe\",\"Ramp\"],\"domain\":[\"stripe.com\",\"ramp.com\"]} (every value array must be the same length)."},"output":{"type":"object","description":"The output object defines what data you want to extract:  Keys are the names of attributes you want to extract Each attribute requires: prompt: Instructions for finding/extracting this data contexts: Array of input or other output attribute names this depends on. Optional Output Configuration Each output attribute can optionally include:  format: Data type ('number', 'json', 'url', 'text', 'email', 'tag', 'date', 'boolean') format_details: Format-specific configuration (varies by format type). For json format, you can provide either a description (string) or a schema (JSON Schema object) or both. tools: Array of tools to use (['web_search', 'web_scrape', 'query_pdf', 'query_image']) max_tool_calls: Number of tool calls allowed (0-10) run_when: When to run this extraction ('always', 'any_filled', 'all_filled') Example: {\"ceo_name\":{\"prompt\":\"Find the company's CEO\",\"contexts\":[\"company\"],\"format\":\"text\"}}."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["scraping","extraction","agents","web","data"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":true,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"dynamic","summary":"$0.004/call","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zg31Hq4r9Ykd_DLLH_uru","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Riveter API","brandSlug":"riveter-api-mpp","brandBaseUrl":"https://api.riveterhq.com","brandDocsUrl":"https://api.riveterhq.com","whatItDoes":"Extracts structured data from the web by letting you define the output schema directly in the API request, using Riveter's agent-managed scraping infrastructure.","exampleAgentPrompt":"Go to https://www.example.com/products and extract the product name, price, and availability for each item — return the results as a structured list with those exact fields.","exampleUseCases":null,"resultDescription":"A structured JSON object conforming to the schema you defined in the request, populated with data extracted from the target web source, with each result attributed to its source URL.","failureModes":["Target page is behind a login or paywall — returns empty or partial data","Target URL is unreachable or returns a non-200 status — extraction fails with an error","Output schema is malformed or undefined — request rejected with validation error","Page content does not contain fields matching the schema — returns null or empty values for those fields","Rate limiting or bot protection on the target site — extraction may be blocked or incomplete"],"whenToPreferThis":"Choose this endpoint when you need structured, schema-defined output from web content rather than raw text. It is ideal when you know exactly what fields you want extracted and want the response to conform to a specific shape. Prefer it over generic scraping endpoints when output structure matters — e.g., building pipelines that consume typed JSON, or when you want the AI agent to handle browser infrastructure and proxy management automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T23:03:32.878Z","isFirstParty":false,"canonicalSlug":"riveter-api-riveter-run-structured-web-data-extraction-0f90056f"}