{"uid":"cap_5FLzyUQ5BtXBTTvi8daCl","slug":"token-liquidity-relative-change-before-and-after-comparison-e03817b5","name":"Token Liquidity Relative Change — Before and After Comparison","description":"Token liquidity relative change — Before and after comparison: Before and after comparison for Token liquidity relative change. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded before and after comparison report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-liquidity-change-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"current_liquidity":132000,"previous_liquidity":110000.00000000001},"required":["current_liquidity","previous_liquidity"],"properties":{"current_liquidity":{"type":"number","default":120000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"previous_liquidity":{"type":"number","default":100000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"current_liquidity":120000,"previous_liquidity":100000},"required":["current_liquidity","previous_liquidity"],"properties":{"current_liquidity":{"type":"number","default":120000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"previous_liquidity":{"type":"number","default":100000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false}}},"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_PaEw3_JxIcVKcGtKcAT2T","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":"Compares token liquidity relative change between two time windows (before and after) and returns a deterministic percentage-change verdict.","exampleAgentPrompt":"Can you compare the token liquidity change before and after a recent event? Before the event, liquidity went from 100,000 to 120,000 USDC; after the event, it went from 110,000 to 132,000 USDC — I want to see if the relative change improved.","exampleUseCases":[{"title":"Post-listing liquidity impact check","prompt":"I want to see whether a token's liquidity growth improved after it was listed on a new exchange. Before listing, liquidity moved from 80,000 to 96,000; after listing, it moved from 200,000 to 250,000. Can you run a before-and-after comparison on the relative change?"},{"title":"Protocol upgrade liquidity assessment","prompt":"We upgraded our DeFi protocol last week. Before the upgrade, pool liquidity went from 500,000 to 480,000. After the upgrade, it went from 480,000 to 530,000. Can you compare the relative liquidity change to see if the upgrade helped?"},{"title":"Marketing campaign ROI on liquidity","prompt":"We ran a liquidity mining campaign last month. Before the campaign, liquidity shifted from 1,000,000 to 950,000. After the campaign launched, it went from 950,000 to 1,200,000. Can you do a before-and-after relative change comparison to quantify the impact?"}],"resultDescription":"Returns a structured report containing the relative percentage change for both the 'before' window and the 'after' window, plus a comparison verdict indicating whether the relative change improved, declined, or stayed flat — computed deterministically from the supplied liquidity snapshots.","failureModes":["Missing required fields (current_liquidity or previous_liquidity in either before or after object) returns a validation error","Zero or negative liquidity values are rejected (exclusiveMinimum: 0 enforced)","Values exceeding the maximum bound (1e16) are rejected","Malformed JSON body returns a 400 error","Payment failure or missing x402 payment header results in a 402 response"],"whenToPreferThis":"Use this endpoint when you have two distinct liquidity observation windows (before and after an event, upgrade, or time boundary) and need a deterministic relative-change comparison without real-time scanning. Ideal for post-hoc analysis of liquidity dynamics around discrete events rather than live market monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:09.632Z","isFirstParty":false,"canonicalSlug":"token-liquidity-relative-change-before-and-after-comparison-e03817b5"}