{"uid":"cap_vZ7DIO7NqXkXe5ERIF_z-","slug":"defi-shield-hazel-vercel-app-149b2c39","name":"DeFi Shield API Endpoint Trust Auditor","description":"","url":"https://defi-shield-hazel.vercel.app/api/trust/endpoint-audit","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":{"url":{"type":"string","description":"API endpoint URL to audit for reliability"}}},"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":{"url":"https://api.example.com/v1/health"},"type":"http","method":"POST","bodyType":"json"}},"response":{"url":"https://api.example.com/v1/health","audit":{"issues":["Endpoint unreachable"],"available":false,"latencyMs":7,"trustScore":10,"responseValid":false,"schemaConsistent":false},"timestamp":"2026-06-13T04:20:22.810Z","historical":null,"response_time_ms":956}},"exampleRequest":{"url":"https://api.example.com/v1/health"},"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_mz6MldLqoTh-3hAv6edbr","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":"Audits an API endpoint URL for availability, latency, response validity, schema consistency, and produces a trust score with a list of detected issues","exampleAgentPrompt":"Can you run a full trust audit on https://api.example.com/v1/data and tell me whether it's reachable, how fast it responds, and what its trust score and any issues are?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the audited URL, a trust score (0-100), availability boolean, latency in milliseconds, response validity flag, schema consistency flag, a list of detected issues, a timestamp, and any historical comparison data.","failureModes":["Target endpoint is unreachable — audit returns available:false, trustScore near 0, and issue list noting unreachability","Target endpoint returns unexpected schema — schemaConsistent:false flagged in response","Network timeout on probe — high latencyMs, responseValid:false","Malformed or invalid URL provided in request body — likely 400 or validation error response","Target endpoint is slow but technically alive — low trust score with latency-related issues listed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically verify whether a third-party or unknown API URL is trustworthy, live, and returning consistent responses before relying on it — especially useful in agentic workflows where a downstream API must be vetted before use, or when building trust registries for API integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:43:12.802Z","isFirstParty":false}