{"uid":"cap_i3zVcfs8Vo72keZFOnLJ4","slug":"yog-x402-dns-tls-inspection-f607361f","name":"Yog x402 DNS & TLS Inspection","description":"Yog x402 is a paid LLM-as-a-service API with three text capabilities plus a free-tier liveness ping, all paid via x402 USDC on Base. classify_text ($0.01) classifies text into one of your supplied labels — sentiment tagging, routing support tickets, labeling data for ML pipelines. json_repair ($0.02) fixes malformed/messy text into valid JSON — cleaning up LLM output or scraped JSON that's slightly malformed before further processing. extract_fields ($0.03) pulls named fields from source text and will not fabricate values — structured extraction from unstructured text (name/date/amount from invoices or emails).","url":"https://api.gosyog.lol/api/service/yog/dns_tls_inspection?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"port":{"type":"integer","description":"TLS port (default 443)."},"hostname":{"type":"string","description":"Hostname to resolve and TLS-inspect."}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"tls":{"issuer":{"commonName":"..."},"is_expired":false},"dns_ok":true,"tls_ok":true,"hostname":"example.com","addresses":["93.184.216.34"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AkCwkfEGULUEgSp9LgVDq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a hostname's DNS and inspects its TLS certificate, returning IP addresses, issuer info, expiry status, and pass/fail flags for DNS and TLS.","exampleAgentPrompt":"Can you check whether api.example.com has valid DNS and a non-expired TLS certificate on port 443?","exampleUseCases":[{"title":"Pre-deployment certificate audit","prompt":"Before we go live, check that staging.myapp.com has valid DNS and a non-expired TLS cert on port 443 — I want to make sure nothing is broken."},{"title":"Diagnosing a production HTTPS failure","prompt":"Our users are getting SSL errors hitting payments.ourplatform.com on port 443 — can you inspect its TLS certificate and DNS to see what's wrong?"},{"title":"Third-party vendor TLS compliance check","prompt":"We need to verify that our vendor's API endpoint vendor-api.partner.io is resolving correctly and that their TLS cert hasn't expired — can you check port 443?"}],"resultDescription":"Returns a JSON object with: a top-level 'ok' boolean, 'dns_ok' (whether the hostname resolved), 'tls_ok' (whether TLS handshake succeeded), the resolved IP addresses array, and TLS details including the issuer's common name and whether the certificate is expired.","failureModes":["Hostname does not exist or fails DNS resolution — dns_ok returns false","TLS handshake fails or certificate is invalid — tls_ok returns false","Certificate is expired — is_expired returns true in TLS details","Non-standard port is unreachable — connection timeout or refusal","Malformed hostname input — possible 400 error or failed resolution"],"whenToPreferThis":"Choose this endpoint when you need a single API call that returns both DNS resolution status and TLS certificate details (issuer, expiry) together, especially in infrastructure health checks, pre-deployment validation, or automated monitoring pipelines paid via USDC microtransactions on Base via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:13:26.067Z","isFirstParty":false,"canonicalSlug":"yog-x402-dns-tls-inspection-f607361f"}