{"uid":"cap_yvSwVY5IBoOgraTMibWtl","slug":"agentresolver-http-inspector-e9271403","name":"AgentResolver HTTP Inspector","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/http-inspect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https://","maxLength":500},"body":{},"method":{"enum":["GET","HEAD","POST"],"type":"string"},"maxPriceUsd":{"type":"number","maximum":1000,"minimum":0},"expectedPayTo":{"type":"string","maxLength":128,"minLength":1},"expectedNetwork":{"type":"string","maxLength":128},"allowUnpaidPostProbe":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"ok":true,"dns":{"family":4},"tls":{"validTo":"Jan 1 00:00:00 2027 GMT","issuerCn":"Example CA","protocol":"TLSv1.3","subjectCn":"example.com","validFrom":"Jan 1 00:00:00 2026 GMT","authorized":true,"daysRemaining":108},"url":"https://example.com/","x402":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1111111111111111111111111111111111111111","score":100,"checks":[{"id":"resource_binding","label":"Challenge bound to requested resource","passed":true,"weight":10,"evidence":"resource=https://example.com/api."}],"scheme":"exact","network":"eip155:8453","verdict":"strong","version":2,"detected":true,"resource":"https://example.com/api","amountUsd":0.005,"parseable":true,"acceptCount":1,"amountAtomic":"5000","challengeHeaderPresent":true},"trust":{"grade":"A","score":96,"checks":[{"id":"tls_authorized","label":"TLS certificate authorized","passed":true,"weight":30,"evidence":"Certificate chain authorized."}],"verdict":"strong","x402Score":100,"infrastructureScore":91},"status":200,"redirect":{"location":null,"isRedirect":false},"security":{"csp":false,"hsts":true,"xFrameOptions":true,"referrerPolicy":true,"permissionsPolicy":false,"xContentTypeOptions":true},"latencyMs":85,"contentType":"text/html","cacheControl":"max-age=3600"}},"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_Tz8H06MyzF3HIzv6P1qs1","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":"Inspects an HTTPS URL via POST request and returns DNS, TLS, HTTP status, redirect, security headers, latency, and cache metadata","exampleAgentPrompt":"Can you inspect https://api.myservice.com/health — I want to see if the TLS cert is still valid, what security headers are set, and how fast it responds?","exampleUseCases":[{"title":"TLS certificate expiry monitoring","prompt":"Check https://checkout.mybrand.com and tell me how many days are left on its TLS certificate and who issued it — I want to know if we're close to expiry."},{"title":"Security headers audit for a web app","prompt":"Inspect https://app.example.com and tell me which security headers like CSP, HSTS, and X-Frame-Options are missing or misconfigured."},{"title":"Endpoint latency and uptime check","prompt":"Probe https://api.partner.io/v1/ping and let me know if it's returning a 200, how fast it responds, and whether there are any redirects happening."}],"resultDescription":"Returns a JSON object with: ok (boolean), DNS info (IP family), TLS details (issuer, subject, validity dates, days remaining, protocol, authorization status), HTTP status code, redirect chain (location, isRedirect), security header presence flags (CSP, HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy, X-Content-Type-Options), latency in milliseconds, content type, and cache-control header value.","failureModes":["Non-HTTPS URLs rejected — URL must start with https://","URL longer than 2048 characters is rejected by schema validation","Target URL is unreachable or times out — ok may be false or request errors","Invalid JSON body type mismatch causes input schema validation failure","TLS handshake failure if target has invalid/expired certificate — authorized: false returned"],"whenToPreferThis":"Choose this endpoint when you need a quick, structured diagnostic snapshot of an HTTPS URL — especially when you want TLS certificate details, security header presence, HTTP status, redirect behavior, and latency all in one call. Prefer it over raw HTTP clients when you need structured JSON output with pre-parsed TLS metadata and security header flags without writing custom parsing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T12:51:42.450Z","isFirstParty":false}