{"uid":"cap_2HhxTJfe4zZOuNgUByJAh","slug":"orcpin-wash-sale-preflight-check-73a0c163","name":"Orcpin Wash-Sale Preflight Check","description":"Wash-sale preflight for trading agents: evaluates a proposed buy against the operator's realized-loss sales across ALL accounts (caller-supplied) for the 61-day IRC §1091 window — would_trigger with the matched loss sales, an honest clear, or insufficient_data naming the gap. Tax status with the rule cited, never advisability; a disallowed loss defers, not forfeits. Exact-ticker v1; nothing stored. Agent account silos can't see the cross-account window — this check can.","url":"https://orcpin.dev/v1/wash-sale-status","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"type":"object","required":["symbol","side","tradeDate"],"properties":{"side":{"enum":["buy","sell"],"type":"string"},"symbol":{"type":"string"},"quantity":{"type":"number"},"tradeDate":{"type":"string","description":"Intended trade date, YYYY-MM-DD (UTC calendar days)."}},"description":"The proposed order. v1 evaluates buys; a sell returns not_applicable with guidance."},"recentSales":{"type":"array","items":{"type":"object","required":["symbol","tradeDate"],"properties":{"symbol":{"type":"string"},"account":{"type":"string","description":"Free-form label, echoed in matches."},"quantity":{"type":"number"},"tradeDate":{"type":"string","description":"YYYY-MM-DD"},"realizedLoss":{"type":"number"}}},"description":"The operator's realized-loss sales across ALL accounts. realizedLoss is a positive USD magnitude; zero/absent = not a loss sale (ignored)."},"salesCoverageFrom":{"type":"string","description":"Earliest date the supplied sales cover (YYYY-MM-DD); short coverage is flagged, never hidden."}}},"responseSchema":null,"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_1PZoGMIIJ14sFNk2UT19G","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":"Evaluates a proposed buy against realized-loss sales across all caller-supplied accounts for the 61-day IRC §1091 wash-sale window, returning would_trigger, clear, or insufficient_data with matched loss sales cited.","exampleAgentPrompt":"Before I buy 50 shares of TSLA today, check across all three of my brokerage accounts — Schwab (acct #1234), Fidelity (acct #5678), and TD Ameritrade (acct #9012) — whether any of my realized losses from the past 61 days would be disallowed as a wash sale under IRC §1091.","exampleUseCases":[{"title":"Pre-trade wash-sale compliance check","prompt":"I'm about to buy 100 shares of NVDA today — check my realized losses from the last 61 days across my Schwab account #A1 and Fidelity account #B2 to see if this purchase would trigger a wash sale under IRC §1091."},{"title":"Cross-account loss-harvesting safety check","prompt":"I sold Intel at a loss in my IRA last week and now I want to buy it back in my taxable brokerage — can you verify whether that would trigger a wash sale across both accounts given today's date?"},{"title":"Trading agent pre-execution preflight","prompt":"My automated trading strategy wants to buy META shares today — run a wash-sale preflight across all four of my accounts to confirm there are no disqualifying loss sales in the 61-day window before the order goes through."}],"resultDescription":"Returns a status of would_trigger (with matched loss sales listed), clear (no wash-sale conflict found), or insufficient_data (with the specific account or date-range gap named). Includes the IRC §1091 rule citation. Reports tax status only — not trade advisability. Notes that a disallowed loss defers rather than forfeits.","failureModes":["insufficient_data returned when caller-supplied account data does not cover the full 61-day window","ticker mismatch if symbol has changed or is non-standard (v1 is exact-ticker only)","incorrect result if caller omits one or more accounts with relevant loss sales","no storage means repeated calls require re-supplying all account data each time","ambiguous results if lot-level trade data is incomplete or missing cost basis"],"whenToPreferThis":"Choose this endpoint when a trading agent needs to verify cross-account wash-sale exposure before executing a buy — especially when the agent's own account silos prevent it from seeing the full 61-day IRC §1091 window across all of a user's brokerage accounts. Prefer this over generic tax APIs when you need a precise, stateless, per-call wash-sale determination with the matched loss sales and rule citation returned explicitly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:21.678Z","isFirstParty":false}