{"uid":"cap_2EI4Rrit52nsGFy3qPXSR","slug":"delx-commerce-json-cross-field-order-comparison-db8839ed","name":"Delx Commerce — JSON Cross-Field Order Comparison","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/json-cross-field-order?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"object":{"type":"object","description":"Object supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"relation":{"type":"string","maxLength":8192,"description":"Relation supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."},"left_field":{"type":"string","maxLength":8192,"description":"Left Field supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."},"right_field":{"type":"string","maxLength":8192,"description":"Right Field supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"left":1,"right":10,"passed":true,"relation":"lte"},"schema":"delx/util-json-cross-field-order/v1","status":"pass","evidence":{"retained":false,"input_sha256":"0eefc5177112e97ab4f032636f3cff5f82ee8866f4f9bb4e74667c81c8bc5165","external_calls":0},"operation":"data_batch:json_cross_field_order"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ciid89UU60RVqv_Bsa3wn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two numeric fields within a JSON object using a specified relational operator and returns whether the comparison passed, with verifiable evidence.","exampleAgentPrompt":"Check whether the 'score' field is less than or equal to the 'max_score' field in this JSON object: {\"score\": 1, \"max_score\": 10} — use the 'lte' relation and tell me if it passes.","exampleUseCases":[{"title":"Budget vs price guard for e-commerce","prompt":"I have a product JSON like {\"price\": 49.99, \"budget\": 100.00} — can you verify that 'price' is less than or equal to 'budget' and confirm it passes?"},{"title":"Validate event start before end date","prompt":"Make sure the 'start_epoch' field is less than the 'end_epoch' field in this record: {\"start_epoch\": 1700000000, \"end_epoch\": 1700086400} — use the 'lt' relation."},{"title":"Confirm inventory quantity within max limit","prompt":"Check this inventory record {\"quantity_on_hand\": 80, \"max_capacity\": 100} and verify that 'quantity_on_hand' is less than or equal to 'max_capacity'."}],"resultDescription":"Returns a result object containing the left and right field values, the relation used, and a boolean 'passed' flag indicating whether the comparison holds. Also includes a status string ('pass' or 'fail'), a schema identifier, and an evidence block with the input SHA-256 hash, a flag confirming no data was retained, and a count of zero external calls made — allowing verifiable, auditable confirmation of the comparison.","failureModes":["Missing required fields (object, relation, left_field, or right_field) returns a validation error","Specified field names not found in the provided object may return an error or null comparison","Unsupported relation operator string may cause a processing error","Object exceeds maxProperties limit of 128 and is rejected","Payment via x402 fails or is insufficient, blocking the request"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-use, verifiable cross-field numeric comparison on a JSON object without standing up custom validation logic. It is ideal for AI agents that need auditable evidence (SHA-256 hash, no-retention proof) that a comparison was performed correctly. Prefer it over custom code when you need an immutable, tamper-evident record of the validation result, or when operating in a zero-signup, micropayment (USDC on Base/Solana) context with exact per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.930Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-cross-field-order-comparison-db8839ed"}