{"uid":"cap_1iChlq6qUccZMoFdGf8ZX","slug":"open-horizon-abf-market-query-b2d05f31","name":"Open Horizon ABF Market Query","description":"Agent decision products for procurement, vendor risk, API QA and public-web buy-or-skip workflows. Strict x402 payment is required before fulfillment.","url":"https://ohd-machine-x402-v2.hibiki3027.workers.dev/api/abf-market-query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"chain":{"type":"string","maxLength":80},"limit":{"type":"integer","default":10,"maximum":25,"minimum":1},"order":{"enum":["asc","desc"],"type":"string","default":"asc"},"sort_by":{"enum":["min_hf","liquidatable_observation_count","duration_minutes","observation_count","lltv"],"type":"string","default":"min_hf"},"protocol":{"type":"string","maxLength":80},"loan_asset":{"type":"string","maxLength":80},"min_hf_lte":{"type":"number"},"outcome_class":{"type":"string","maxLength":80},"collateral_asset":{"type":"string","maxLength":80},"liquidatable_only":{"type":"boolean"},"borrow_size_bucket":{"type":"string","maxLength":40},"collateral_size_bucket":{"type":"string","maxLength":40}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["summary","rows","machine_verifiable"],"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true},"maxItems":25},"query":{"type":"object","additionalProperties":true},"summary":{"type":"object","additionalProperties":true},"machine_verifiable":{"type":"boolean","const":true}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"rows":[{"min_hf":0.982,"protocol":"Morpho","loan_asset":"USDC","collateral_asset":"WETH"}],"matched":5,"machine_verifiable":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2rWc4hK6a01JXgXiwGOk1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries DeFi asset-backed finance (ABF) loan positions filtered by protocol, asset, health factor, and liquidation risk across chains","exampleAgentPrompt":"Show me the top 10 most at-risk USDC loan positions collateralized by WETH on Morpho, sorted by minimum health factor ascending, and flag any that are already liquidatable.","exampleUseCases":[{"title":"Liquidation bot position scouting","prompt":"Give me up to 25 liquidatable positions on Morpho sorted by lowest health factor first — I only want ones that are actually liquidatable, using WETH as collateral and USDC as the loan asset."},{"title":"DeFi risk dashboard data feed","prompt":"Pull the 10 most vulnerable borrow positions across all protocols on Ethereum, sorted by min health factor ascending, so I can display them in my risk monitoring dashboard."},{"title":"Protocol-specific collateral analysis","prompt":"Query the Morpho protocol for loan positions with a health factor at or below 1.05, limit to 15 results, sorted descending by observation count, so I can assess how many accounts are near liquidation."}],"resultDescription":"Returns a JSON object containing an array of matched loan position rows (up to 25), each with fields like protocol, loan asset, collateral asset, and minimum health factor; a summary object; a matched count; and a machine_verifiable boolean confirming data integrity.","failureModes":["Payment not provided or rejected — x402 payment required before fulfillment","Invalid enum value for sort_by or order fields — returns validation error","Unsupported chain or protocol string — returns empty rows","limit exceeds maximum of 25 — schema validation failure","No positions match the applied filters — returns empty rows with matched: 0"],"whenToPreferThis":"Use this endpoint when you need structured, machine-verifiable DeFi loan position data filtered by health factor, liquidation status, protocol, or asset pair. It is especially suited for liquidation bots, risk dashboards, or agent workflows that need to identify at-risk borrowers across protocols like Morpho. Prefer it over generic blockchain RPC calls when you need pre-aggregated, ranked results without building your own indexer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:36:46.147Z","isFirstParty":false,"canonicalSlug":"open-horizon-abf-market-query-b2d05f31"}