{"uid":"cap_WYXK6LLzoiQ6Y-zo97BSH","slug":"tradebot-market-data-integrity-attestation-5bf2a3fd","name":"Tradebot Market Data Integrity Attestation","description":"Market Data Integrity Attestation. The caller supplies the observations. Tradebot checks causal timing, freshness, gaps, sequencing, identity consistency, and cryptographic record hashes. The response contains a PASS/FAIL verdict, safe_to_use, named checks, and a deterministic attestation identity. It provides no trade recommendation and no market-data redistribution; it performs no market-data acquisition.","url":"https://base.46-225-15-169.sslip.io/v1/market-data-attestation","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","title":"AttestationPolicy","required":["max_age_ms","max_receive_lag_ms","require_sequence","require_identity_consistency","allowed_future_clock_skew_ms"],"properties":{"max_age_ms":{"type":"integer","title":"Max Age Ms","maximum":2678400000,"minimum":0},"require_sequence":{"type":"boolean","title":"Require Sequence"},"max_receive_lag_ms":{"type":"integer","title":"Max Receive Lag Ms","maximum":2678400000,"minimum":0},"expected_interval_ms":{"anyOf":[{"type":"integer","maximum":2678400000,"minimum":1},{"type":"null"}],"title":"Expected Interval Ms","default":null},"interval_tolerance_ms":{"anyOf":[{"type":"integer","maximum":2678400000,"minimum":0},{"type":"null"}],"title":"Interval Tolerance Ms","default":null},"allowed_future_clock_skew_ms":{"type":"integer","title":"Allowed Future Clock Skew Ms","maximum":86400000,"minimum":0},"require_identity_consistency":{"type":"boolean","title":"Require Identity Consistency"}},"additionalProperties":false},"dataset_id":{"type":"string","title":"Dataset Id","maxLength":128,"minLength":1},"observations":{"type":"array","items":{"type":"object","title":"Observation","required":["event_time_ms","received_time_ms"],"properties":{"identity":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Identity","default":null},"sequence":{"anyOf":[{"type":"integer","maximum":9223372036854776000,"minimum":0},{"type":"null"}],"title":"Sequence","default":null},"event_time_ms":{"type":"integer","title":"Event Time Ms","maximum":9223372036854776000,"minimum":0},"payload_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Payload Sha256","default":null},"received_time_ms":{"type":"integer","title":"Received Time Ms","maximum":9223372036854776000,"minimum":0}},"additionalProperties":false},"title":"Observations","maxItems":512,"minItems":1},"source_label":{"type":"string","title":"Source Label","maxLength":128,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PzQr2j2-pooXYmDy7GDny","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates caller-supplied market data observations for causal timing, freshness, gaps, sequencing, identity consistency, and cryptographic record hashes, returning a PASS/FAIL verdict with named check results.","exampleAgentPrompt":"Before I run my trading bot, attest the integrity of these BTC price observations I just collected — check for timing gaps, staleness, sequencing errors, and hash consistency, and tell me whether it's safe to use them.","exampleUseCases":[{"title":"Pre-trade data safety gate","prompt":"I'm about to execute trades based on the last 100 BTC/USDT price ticks I scraped — can you run a full integrity attestation on them to check for gaps, stale records, and sequencing issues before I proceed?"},{"title":"Automated pipeline data audit","prompt":"My market data pipeline just delivered a batch of ETH observations — please validate their freshness, causal timing, and cryptographic record hashes and give me a PASS or FAIL so I can decide whether to trust this batch."},{"title":"Identity consistency check on multi-source feed","prompt":"I'm aggregating price data from three sources for SOL and LINK — can you attest the identity consistency and sequencing of these observations to make sure there are no conflicts or out-of-order records?"}],"resultDescription":"A structured response containing a PASS or FAIL overall verdict, a boolean safe_to_use flag, a set of named individual check results (causal timing, freshness, gap detection, sequencing, identity consistency, cryptographic hash verification), and a deterministic attestation identity string for the submitted observations.","failureModes":["Malformed or missing observation payload causes validation error","Observations with no timestamps cannot be assessed for freshness or causal timing","Cryptographic hash mismatch results in FAIL verdict for hash integrity check","Insufficient observation count to assess sequencing or gaps","Service unavailable or payment not processed results in non-200 response"],"whenToPreferThis":"Use this endpoint when you need a deterministic, auditable integrity check on market data you have already collected before acting on it — especially when your trading strategy, risk model, or compliance requirement demands confidence that the data is fresh, gap-free, correctly sequenced, and cryptographically consistent. It does not fetch or redistribute market data; it only attests what you supply.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:35.539Z","isFirstParty":false}