{"uid":"cap_SSfz31xIjfhuKT9RvrCYh","slug":"trade-observations-string-normalisation-and-numeric-interval-filter-3654a36b","name":"Trade Observations String Normalisation and Numeric Interval Filter","description":"Trade observations — String normalisation + Numeric interval filter: String normalisation + Numeric interval filter 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-026?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_Fmvx7QYRaPe-K9MlCafZq","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":"Normalises string fields and filters trade observation rows by a numeric interval on export_amount or import_amount, returning up to 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"I have a list of trade observations with export and import amounts — can you normalise the region strings and filter the rows so I only see records where export_amount is between 0 and 100? Here are 4 rows: row-1 2026-10-01 group-a export=10 import=1, row-2 2026-10-02 group-b export=20 import=2, row-3 2026-10-03 group-a export=15 import=3, row-4 2026-10-04 group-b export=30 import=4.","exampleUseCases":[{"title":"Filter exports within budget range","prompt":"I have 50 trade records and I need to keep only the rows where export_amount falls between 5 and 50 — can you normalise the region names and give me a filtered report? The field to filter is export_amount, minimum 5, maximum 50."},{"title":"Clean import data for regional analysis","prompt":"Can you normalise the region strings and filter these trade observations to only rows where import_amount is between 1 and 10? I have 4 rows: row-1 2026-10-01 group-a export=10 import=1, row-2 2026-10-02 group-b export=20 import=2, row-3 2026-10-03 group-a export=15 import=3, row-4 2026-10-04 group-b export=30 import=4."},{"title":"Validate trade data within plausible bounds","prompt":"I want to check which of my trade observation records have export_amount values within a plausible range of 10 to 30 — please normalise the region labels and give me the interval-filtered report for these rows: row-1 group-a 2026-10-01 export=10 import=1, row-2 group-b 2026-10-02 export=20 import=2, row-3 group-a 2026-10-03 export=15 import=3, row-4 group-b 2026-10-04 export=30 import=4."}],"resultDescription":"Returns up to 2 local analytical reports covering string-normalised region/date fields and interval-filtered rows for the selected numeric field (export_amount or import_amount), identifying which rows fall within the specified minimum and maximum bounds. No external data is fetched; all processing is performed on the supplied rows.","failureModes":["Fewer than 1 row supplied returns a validation error","More than 200 rows supplied exceeds the maxItems limit","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","minimum greater than maximum produces an empty filtered result set","Missing required fields (row_id, region, date) cause schema validation errors","Non-numeric values in export_amount or import_amount are rejected"],"whenToPreferThis":"Choose this endpoint when you have trade observation data (with export and import amounts) that needs both string normalisation on region labels and a numeric interval filter applied to one of the amount fields, and you want up to 2 local analytical reports without any external lookups or predictions. Ideal for batch cleaning and filtering of up to 200 trade records in a single call at very low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:53:47.302Z","isFirstParty":false,"canonicalSlug":"trade-observations-string-normalisation-and-numeric-interval-filter-3654a36b"}