{"uid":"cap_8aMaL93p9mp1NiQYuM0n6","slug":"defi-shield-hazel-vercel-app-d4ed7c32","name":"DeFi Shield API Trust & Reliability Comparator","description":"","url":"https://defi-shield-hazel.vercel.app/api/trust/service-compare","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"urls":{"type":"array","description":"Array of API endpoint URLs to compare"}}},"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"}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"urls":["https://api.coingecko.com/api/v3/simple/price","https://api.coinmarketcap.com/v1/cryptocurrency/quotes/latest","https://api.kraken.com/0/public/Ticker"]},"type":"http","method":"POST","bodyType":"json"}},"response":{"timestamp":"2026-06-13T04:20:20.029Z","comparison":[{"url":"https://api.coingecko.com/api/v3/simple/price","rank":1,"issues":[],"available":true,"latencyMs":66,"trustScore":90,"responseValid":true,"schemaConsistent":true},{"url":"https://api.kraken.com/0/public/Ticker","rank":2,"issues":[],"available":true,"latencyMs":84,"trustScore":90,"responseValid":true,"schemaConsistent":true},{"url":"https://api.coinmarketcap.com/v1/cryptocurrency/quotes/latest","rank":3,"issues":["Response is not valid JSON"],"available":true,"latencyMs":32,"trustScore":60,"responseValid":false,"schemaConsistent":false}],"bestService":"https://api.coingecko.com/api/v3/simple/price","totalCompared":3,"response_time_ms":111}},"exampleRequest":{"urls":["https://api.coingecko.com/api/v3/simple/price","https://api.coinmarketcap.com/v1/cryptocurrency/quotes/latest","https://api.kraken.com/0/public/Ticker"]},"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cditYiitDXsddovSQm9NX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares multiple API endpoint URLs side-by-side by availability, latency, trust score, response validity, and schema consistency, returning a ranked recommendation.","exampleAgentPrompt":"Compare these three API endpoints for me and tell me which one is the most trustworthy and available: https://api.example.com/v1/prices, https://api.example.com/v2/data, and https://api.example.com/v3/quotes — rank them by trust score and latency.","exampleUseCases":null,"resultDescription":"Returns a timestamped comparison array where each URL entry includes its rank, trust score (0–100), availability boolean, latency in milliseconds, response validity flag, schema consistency flag, and a list of issues found. Also returns the single best-ranked service URL and total count of endpoints compared.","failureModes":["All endpoints unreachable — returns comparison array with available:false and trustScore:10 for all entries, bestService still set to rank-1 URL","Invalid or malformed URL in input array — may cause parsing errors or zero-latency unreachable result","Empty urls array — likely returns empty comparison with totalCompared:0","Downstream API probe timeout — latency recorded but availability marked false","x402 payment failure — endpoint returns 402 if USDC payment not attached"],"whenToPreferThis":"Use this endpoint when you need to objectively choose between multiple competing API data sources and want a trust-and-availability ranking rather than manual spot-checking. Ideal when an agent must select the best live endpoint from a pool of candidates (e.g., price feeds, quote APIs, DeFi data providers) and needs a structured recommendation with latency and schema-consistency signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:20.789Z","isFirstParty":false}