{"uid":"cap_0RCakSraWm4B0yzH4xsps","slug":"catalog-update-gate-dabbcc79","name":"Catalog Update Gate","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v2/catalog-update-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"current":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Current","maxItems":50},"contract":{"type":"object","title":"CatalogContract","required":["fields","identity_field","identity_mode","price_field","currency_field","allowed_currencies"],"properties":{"fields":{"type":"object","title":"Fields","maxProperties":16,"minProperties":1,"additionalProperties":{"type":"object","title":"CatalogField","required":["type","required"],"properties":{"type":{"enum":["string","integer","boolean","decimal"],"type":"string","title":"Type"},"required":{"type":"boolean","title":"Required"},"decimal_places":{"anyOf":[{"type":"integer","maximum":6,"minimum":0},{"type":"null"}],"title":"Decimal Places","default":null}},"additionalProperties":false}},"unit_field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Field","default":null},"price_field":{"type":"string","title":"Price Field"},"allowed_units":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":10,"minItems":1},{"type":"null"}],"title":"Allowed Units","default":null},"identity_mode":{"enum":["url","exact"],"type":"string","title":"Identity Mode"},"currency_field":{"type":"string","title":"Currency Field"},"identity_field":{"type":"string","title":"Identity Field"},"allowed_currencies":{"type":"array","items":{"type":"string"},"title":"Allowed Currencies","maxItems":10,"minItems":1}},"additionalProperties":false},"previous":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Previous","maxItems":50}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4jNa8q7BisYZutJLFT_qw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and gates catalog updates derived from Apify product scrapes by comparing current vs previous snapshots against a typed contract schema, extracting fields, and assessing cost before committing changes.","exampleAgentPrompt":"I just ran an Apify scrape and have current and previous product records — can you run them through the Catalog Update Gate to validate the fields against my schema (identity by URL, price field 'price', currency field 'currency', allowed currencies USD and EUR) and preview what would change before I push anything live?","exampleUseCases":[{"title":"Price change validation before catalog push","prompt":"I scraped 30 products with Apify and I want to make sure none have unexpected currency or price format issues before I update the catalog — can you compare the new snapshot against the old one using my contract where identity is by URL, price field is 'sale_price', currency field is 'currency_code', and allowed currencies are USD, GBP, and CAD?"},{"title":"Schema conformance check on new scrape batch","prompt":"Run my latest Apify scrape results through the catalog gate — I need to validate that each record has the required fields (name as string, price as decimal with 2 places, in_stock as boolean) and flag anything that doesn't conform before it touches the live catalog."},{"title":"Cost and evidence preview for catalog migration","prompt":"Before I migrate my product catalog to the new format, can you preview the Catalog Update Gate results for my current and previous records — identity mode exact, identity field 'sku', price field 'list_price', currency field 'currency', allowed currencies USD and MXN — so I can see what the gate would accept, reject, and what it'll cost?"}],"resultDescription":"Returns a JSON object containing: validated field extractions per record, a diff between current and previous snapshots, schema violation details for non-conforming records, cost preview for the operation, and evidence summaries supporting each catalog update decision. No live web requests are made; all analysis is performed on supplied input data.","failureModes":["Missing required contract fields (identity_field, price_field, currency_field, allowed_currencies) returns a validation error","Records exceeding the 50-item limit per array are rejected","Currency values not in allowed_currencies list are flagged as violations","Identity field values failing URL parsing in 'url' mode cause identity resolution errors","Fields declared as 'required: true' in the contract but absent from records produce missing-field errors","Decimal fields with more than the specified decimal_places are rejected","Malformed or non-JSON input bodies return parsing errors"],"whenToPreferThis":"Choose this endpoint when you have raw Apify product scrape output that needs safe, schema-enforced gating before catalog writes — especially when you need to diff snapshots, enforce typed field contracts, validate currencies and identities, and preview costs without triggering any live purchases or external side effects. It is not suitable for live web search, scheduled monitoring, or third-party purchasing flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:30:13.898Z","isFirstParty":false,"canonicalSlug":"catalog-update-gate-dabbcc79"}