{"uid":"cap_P-t2BJYQr3haJPp9LsNgU","slug":"trade-openness-ratio-two-input-scenario-grid-calculator-df90e075","name":"Trade Openness Ratio Two-Input Scenario Grid Calculator","description":"Trade openness ratio - Two-input scenario grid: Calculate up to 100 combinations of two distinct supplied input fields, with invalid combinations reported. Metric: Trade openness ratio. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded two-input scenario grid report.","url":"https://market.datapackvibe.com/x402/assistant-finance-trade-openness-stress-grid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"field_x":{"enum":["exports","imports","gdp"],"type":"string","default":"exports"},"field_y":{"enum":["exports","imports","gdp"],"type":"string","default":"imports"},"baseline":{"type":"object","default":{"gdp":1000,"exports":150,"imports":200},"required":["exports","imports","gdp"],"properties":{"gdp":{"type":"number","default":1000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"exports":{"type":"number","default":150,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"},"imports":{"type":"number","default":200,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"values_x":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[150,165],"maxItems":10,"minItems":1},"values_y":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[200,220.00000000000003],"maxItems":10,"minItems":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_2AO0N2NINhOZU1whh8jDR","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":"Calculates up to 100 combinations of two trade variables (exports, imports, GDP) to generate a scenario grid of trade openness ratios","exampleAgentPrompt":"Run a trade openness ratio scenario grid with exports as field_x ranging from 150 to 200 and GDP as field_y ranging from 900 to 1100, using a baseline of exports=150, imports=200, GDP=1000 — give me all the combinations and flag any invalid ones.","exampleUseCases":[{"title":"Country trade policy stress test","prompt":"I want to stress test trade openness for a country with baseline exports of 300, imports of 250, and GDP of 2000 — run a grid across exports values of 250, 275, 300, 325, 350 and GDP values of 1800, 1900, 2000, 2100, 2200, and flag any combinations that don't make sense."},{"title":"Economic modeling scenario planning","prompt":"Help me model trade openness ratio scenarios for my economic report — set the baseline to exports=500, imports=600, GDP=5000, vary imports across 500, 550, 600, 650, 700 and GDP across 4500, 5000, 5500, and show me the full combination grid with the formula and units."},{"title":"Import-export ratio sensitivity analysis","prompt":"Run a trade openness sensitivity analysis where field_x is imports with values 100, 150, 200 and field_y is exports with values 120, 160, 200, 240, using a baseline of GDP=1000, exports=150, imports=200 — I need to see every combination and which ones are invalid."}],"resultDescription":"A JSON response containing a grid of up to 100 trade openness ratio values computed from all combinations of the two supplied input arrays, along with the formula used, units, any invalid or infeasible combination flags, and notes on limitations of the metric.","failureModes":["Invalid field_x/field_y combination (same field selected for both axes)","Values outside allowed range (-1T to +1T for inputs, 0 exclusive for GDP)","More than 10 values in either values_x or values_y array (exceeds 10x10 grid limit)","Baseline missing required fields (exports, imports, or GDP)","GDP baseline set to zero or negative (exclusiveMinimum constraint)","Payment failure or insufficient USDC balance for x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to evaluate trade openness ratio across a two-dimensional grid of economic input values simultaneously — ideal for scenario planning, sensitivity analysis, or stress testing trade metrics without maintaining your own computation infrastructure. It is specifically designed for batch scenario analysis (up to 100 combinations) of the trade openness ratio metric, not for single-point calculations or live market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:07:27.933Z","isFirstParty":false,"canonicalSlug":"trade-openness-ratio-two-input-scenario-grid-calculator-df90e075"}