{"uid":"cap_lDujC5lfFwjNlT6WVyiqh","slug":"mta-sts-dns-txt-record-lookup-a473c95c","name":"MTA-STS DNS TXT Record Lookup","description":"Call when an agent needs TXT at _mta-sts that starts with v=STSv1. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/dns-txt-mta-sts first.","url":"https://agentshelf.syntexa.ch/v1/dns-txt-mta-sts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hostname":{"type":"string","examples":["example.com"],"maxLength":253,"minLength":1,"description":"Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z4YZAOWTZtduQ0onwnI02","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the MTA-STS DNS TXT record (starting with v=STSv1) for a given hostname","exampleAgentPrompt":"Can you look up the MTA-STS DNS TXT record for gmail.com and tell me if it starts with v=STSv1?","exampleUseCases":[{"title":"Email security policy audit","prompt":"I need to audit our email security setup — can you fetch the MTA-STS DNS TXT record for example.com and confirm whether it has v=STSv1 configured?"},{"title":"Verify competitor mail hardening","prompt":"Check whether stripe.com has an MTA-STS policy in place by looking up their _mta-sts DNS TXT record."},{"title":"Onboarding domain health check","prompt":"We're onboarding a new client at acme.org — pull their MTA-STS TXT record so I can see if their mail transport security is properly configured."}],"resultDescription":"Returns the content of the _mta-sts DNS TXT record for the specified hostname, expected to begin with 'v=STSv1', indicating the domain's MTA-STS policy version and any associated policy identifiers.","failureModes":["Hostname not found or does not exist — DNS resolution failure","No _mta-sts TXT record present for the domain — empty or null result","Malformed hostname input exceeding 253 characters — validation error","Domain has TXT record but not starting with v=STSv1 — returned as-is","Network timeout when querying DNS","Payment failure if x402 USDC payment not completed"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve and inspect the MTA-STS DNS TXT record for a hostname, particularly to verify email transport security policy configuration. Prefer the sandbox endpoint (/v1/sandbox/dns-txt-mta-sts) for testing without incurring the $0.004 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:44:27.273Z","isFirstParty":false,"canonicalSlug":"mta-sts-dns-txt-record-lookup-a473c95c"}