{"uid":"cap_PNVNyqoFgdwG_oacdekds","slug":"x402-host-inspector-a6c88845","name":"X402 Host Inspector","description":"Pay-per-request data tools for AI agents.","url":"https://x402.feld-feder.at/v1/host/inspect","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","title":"WebUrlRequest","required":["url"],"properties":{"url":{"type":"string","title":"Url","maxLength":4096,"minLength":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"ResponseEnvelope[HostInspectionResult]","required":["data"],"properties":{"ok":{"type":"boolean","const":true,"title":"Ok","default":true},"data":{"type":"object","title":"HostInspectionResult","required":["target_url","dns","tls","http","warnings"],"properties":{"dns":{"type":"object","title":"HostDnsResult","required":["hostname","port","addresses"],"properties":{"port":{"type":"integer","title":"Port","maximum":65535,"minimum":1},"hostname":{"type":"string","title":"Hostname"},"addresses":{"type":"array","items":{"type":"string"},"title":"Addresses"}},"additionalProperties":false},"tls":{"anyOf":[{"type":"object","title":"HostTlsResult","required":["protocol","cipher","alpn_protocol","peer_address","certificate"],"properties":{"cipher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cipher"},"protocol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Protocol"},"certificate":{"type":"object","title":"HostTlsCertificate","required":["subject","issuer","serial_number","not_before","not_after","subject_alt_names"],"properties":{"issuer":{"type":"array","items":{"type":"array","maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}]},"title":"Issuer"},"subject":{"type":"array","items":{"type":"array","maxItems":2,"minItems":2,"prefixItems":[{"type":"string"},{"type":"string"}]},"title":"Subject"},"not_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Not After"},"not_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Not Before"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"subject_alt_names":{"type":"array","items":{"type":"string"},"title":"Subject Alt Names"}},"additionalProperties":false},"cipher_bits":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Cipher Bits","default":null},"peer_address":{"type":"string","title":"Peer Address"},"alpn_protocol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alpn Protocol"}},"additionalProperties":false},{"type":"null"}]},"http":{"anyOf":[{"type":"object","title":"WebInspectionResult","required":["requested_url","final_url","retrieved_at","status_code","content_type","content_bytes","content_hash","redirect_count","duration_ms","headers"],"properties":{"headers":{"type":"array","items":{"type":"object","title":"InspectionHeader","required":["name","value"],"properties":{"name":{"type":"string","title":"Name"},"value":{"type":"string","title":"Value"}},"additionalProperties":false},"title":"Headers"},"final_url":{"type":"string","title":"Final Url"},"duration_ms":{"type":"number","title":"Duration Ms","minimum":0},"status_code":{"type":"integer","title":"Status Code","maximum":599,"minimum":100},"content_hash":{"type":"string","title":"Content Hash","pattern":"^sha256:[0-9a-f]{64}$"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"content_bytes":{"type":"integer","title":"Content Bytes","minimum":0},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"type":"integer","title":"Redirect Count","minimum":0}},"additionalProperties":false},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"},"title":"Warnings"},"target_url":{"type":"string","title":"Target Url"}},"additionalProperties":false},"cache":{"anyOf":[{"type":"object","title":"CacheInfo","required":["hit"],"properties":{"hit":{"type":"boolean","title":"Hit"},"age_seconds":{"type":"integer","title":"Age Seconds","default":0,"minimum":0}}},{"type":"null"}],"default":null},"source":{"anyOf":[{"type":"object","title":"SourceInfo","required":["requested_url","final_url","retrieved_at"],"properties":{"final_url":{"type":"string","title":"Final Url"},"status_code":{"anyOf":[{"type":"integer","maximum":599,"minimum":100},{"type":"null"}],"title":"Status Code","default":null},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash","default":null},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","default":null},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Redirect Count","default":null}}},{"type":"null"}],"default":null},"_payment":{"anyOf":[{"type":"object","title":"PaymentInfo","required":["amount_usdc","network"],"properties":{"network":{"type":"string","title":"Network"},"amount_usdc":{"anyOf":[{"type":"number","minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Usdc"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction","default":null}}},{"type":"null"}],"default":null},"warnings":{"type":"array","items":{"type":"object","title":"WarningInfo","required":["code","message"],"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}}},"title":"Warnings"},"provenance":{"type":"array","items":{"type":"string"},"title":"Provenance"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"dns":{"port":443,"hostname":"example.com","addresses":["93.184.216.34"]},"tls":null,"http":null,"warnings":[],"target_url":"https://example.com"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YG_YapUJa99R99Eby_VkZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a target URL's DNS resolution, TLS certificate, and HTTP reachability in a single pay-per-request call.","exampleAgentPrompt":"Can you inspect the host at https://api.myservice.com — I need to see its DNS resolution, TLS certificate details, and whether HTTP is reachable?","exampleUseCases":[{"title":"TLS certificate audit before launch","prompt":"Before we go live, can you inspect https://checkout.mystore.com and tell me what TLS protocol and cipher it's using, who issued the certificate, and when it expires?"},{"title":"Diagnose unreachable API endpoint","prompt":"Our integration with https://partner-api.example.org seems broken — can you check if the host resolves in DNS and whether HTTP is actually reachable?"},{"title":"Security review of third-party vendor","prompt":"I need to vet a vendor's infrastructure — can you inspect https://data.vendorname.com and give me the full TLS certificate chain, IP addresses, and any warnings?"}],"resultDescription":"Returns a structured JSON object containing: the resolved DNS hostname, port, and IP addresses; TLS details including protocol version, cipher suite, ALPN protocol, peer address, and full certificate info (subject, issuer, serial number, validity dates, SANs); HTTP response details; and a list of any warnings encountered during inspection.","failureModes":["Invalid or unreachable URL returns null for TLS and HTTP fields with warnings populated","Malformed URL input fails schema validation before reaching the network","DNS resolution failure results in empty addresses array and warnings","TLS handshake failure returns null tls field with warning details","Payment of 0.005 USDC not provided causes HTTP 402 rejection before inspection runs","URL exceeding 4096 characters rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when you need a combined DNS + TLS + HTTP probe in a single call without setting up your own infrastructure. Ideal for AI agents that need to validate external hosts, audit certificates, or diagnose connectivity issues on-demand with micropayment billing (no subscription required). Prefer over manual curl/dig workflows when the agent needs structured, machine-readable output about a host's network posture.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:25.304Z","isFirstParty":false}