Syntax and structure validation of a domain's security.txt (RFC 9116) and ads.txt/app-ads.txt files: fetches the files and reports parse errors, missing fields and expiry warnings as JSON. It checks format only, not whether the policy is sound.
Validate the syntax and structure of a domain security.txt and ads.txt. Returns parse errors, missing fields and expiry warnings.
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/security-txt/v1/check?domain=github.com"Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/security-txt/v1/check?domain=github.com \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Security.txt and Ads.txt Checker.