{"uid":"cap_XBm0KztiWZ35Uvp0dIISn","slug":"forest-commerce-checkout-preflight-8c0ebba4","name":"Forest Commerce Checkout Preflight","description":"Check whether an isolated cart can reach checkout and expose blockers without payment. It never logs in, creates an order or finalizes checkout. Base mainnet USDC","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/checkout-preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"description":"Public HTTP(S) URL to inspect, resolve, or compare."},"quantity":{"type":"integer","maximum":100,"minimum":1,"description":"Requested item quantity to validate against provider limits."},"variant_id":{"type":"string","description":"Public provider variant identifier to validate."}}},"responseSchema":null,"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_3xz1_gx5rlpIeA_iw5S2m","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":"Validates whether an isolated cart with a given product URL, variant, and quantity can reach checkout, exposing any blockers without placing an order or processing payment.","exampleAgentPrompt":"Before I try to buy 3 units of variant 'ABC-123' from https://shop.example.com/product/widget, can you do a checkout preflight check to see if there are any blockers that would stop it from reaching checkout?","exampleUseCases":[{"title":"Pre-purchase blocker detection for agent","prompt":"Check whether this product URL https://store.example.com/items/sneakers can actually reach checkout if I add 2 of variant 'SZ-10-BLK' to a cart — I want to know about any blockers before I commit to buying."},{"title":"Quantity limit validation before bulk order","prompt":"I want to buy 50 units of variant 'BULK-WIDGET-01' from https://wholesale.example.com/product/widget — can you run a checkout preflight to confirm the provider allows that quantity before I proceed?"},{"title":"Automated cart validation in shopping workflow","prompt":"As part of my shopping automation, run a preflight check on https://marketplace.example.com/product/gadget with variant 'GAD-RED-M' and quantity 1 to confirm there are no checkout blockers before triggering the next step."}],"resultDescription":"Returns whether the isolated cart can reach checkout, along with a list of any blockers (e.g. quantity limits exceeded, variant unavailable, region restrictions) preventing checkout. Does not log in, create an order, or finalize payment.","failureModes":["Invalid or unreachable product URL returns an error indicating the URL could not be resolved","Variant ID not found on the product returns a blocker or not-found error","Quantity exceeding provider maximum (>100) is rejected by input validation","Provider blocks headless/bot cart creation, resulting in an indeterminate or error status","Network timeout reaching the product URL returns a timeout error"],"whenToPreferThis":"Use this endpoint when you need to validate checkout reachability for a specific product, variant, and quantity before committing to a purchase — especially in automated shopping agents where placing a failed order would be costly. Prefer this over a full checkout flow when you want zero side effects: no login, no order creation, no payment. Ideal for pre-purchase validation steps in agentic workflows or for surfacing checkout blockers early.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:08:51.944Z","isFirstParty":false,"canonicalSlug":"forest-commerce-checkout-preflight-8c0ebba4"}