{"uid":"cap_83nSZO7DtUnk3-IraxC9x","slug":"trade-observations-numeric-interval-filter-adjacent-row-changes-8ca734e2","name":"Trade Observations — Numeric Interval Filter + Adjacent Row Changes","description":"Trade observations — Numeric interval filter + Adjacent row changes: Numeric interval filter + Adjacent row changes for supplied trade observations records (export_amount, import_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-economics-06-127?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","export_amount","import_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"export_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"import_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","export_amount":10,"import_amount":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","export_amount":20,"import_amount":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","export_amount":15,"import_amount":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","export_amount":30,"import_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["export_amount","import_amount"],"type":"string","default":"export_amount"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_Ujkt5e-qfZdE9OSsuUpmb","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":"Filters trade observation rows by a numeric interval on export_amount or import_amount, and computes adjacent row changes, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 50 trade observation rows with export_amount and import_amount values — can you filter them to only show rows where export_amount falls between 1000 and 50000, and also show me the adjacent row-to-row changes in export_amount across all rows?","exampleUseCases":[{"title":"Filter export data by value band","prompt":"I have quarterly trade records for 10 regions — can you filter to only rows where export_amount is between 5000 and 250000 and also show me how each row's export_amount changed compared to the one before it?"},{"title":"Spot import spikes in a numeric range","prompt":"Here are 120 rows of trade observations. I want to see which ones have import_amount between 10000 and 80000, and also give me the adjacent changes in import_amount so I can spot any sudden spikes."},{"title":"Analyze row-level trade deltas for audit","prompt":"We're auditing these 85 trade records — please filter by export_amount between 0 and 100000 and run the adjacent row change report on export_amount so we can flag anomalies between consecutive entries."}],"resultDescription":"Returns two analytical reports: (1) a numeric interval filter report listing which rows have the selected field (export_amount or import_amount) within the specified minimum and maximum bounds, and (2) an adjacent row changes report showing the difference in the selected field between each consecutive row. Both reports cover up to 200 input rows and are computed locally without external lookup.","failureModes":["Input rows array is empty or exceeds 200 items — validation error","row_id missing or blank — schema validation failure","date field does not match YYYY-MM-DD pattern — rejected","minimum greater than maximum — may return empty interval filter result","export_amount or import_amount values outside ±1,000,000,000,000 — rejected","field enum value not 'export_amount' or 'import_amount' — schema error","Payment of 0.01 USDC not confirmed via x402 — request blocked"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously (a) filter a set of trade observation rows to those whose export or import amount falls within a specific numeric range, and (b) compute step-by-step changes between adjacent rows on that same field — all within a single paid call covering both reports. It is especially useful for economics or trade analytics workflows where you supply your own data and want offline, deterministic computation with no external data access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:15.329Z","isFirstParty":false,"canonicalSlug":"trade-observations-numeric-interval-filter-adjacent-row-changes-8ca734e2"}