Standard files
Check a site's security.txt, ads.txt, app-ads.txt and humans.txt, plus mixed content, compression and caching.
GET /v1/standard-files
- Price
- Costs 1 credit per call; cached answers cost the same. Calls that fail upstream (502) are free.
- Cache
- Answers are cached for up to 15 minutes; send fresh=true to ask the source again.
- MCP tool
- check_standard_files
Query parameters
| Name | Type | Description |
|---|---|---|
| url (required) | string | A domain or URL; only the site (scheme and host) is used. |
| fresh | boolean | Skip the cache and ask the source again; costs the same. |
Response
| Name | Type | Description |
|---|---|---|
| tool (required) | string | |
| target (required) | string | |
| status (required) | "ok" | "partial" | "error" | |
| fetched_at | string | |
| cached | boolean | |
| credits_used | integer | Credits this call took from your balance. 0 for free tools, for a replay of an earlier call, and for a free check run on the website without signing in |
| summary (required) | string | |
| score | integer or null | |
| findings | array of object | |
| credits_remaining (required) | integer | Your balance after this call. It can be below zero after a refund; free tools still work then |
| data (required) | object | This tool's result |
| data.host (required) | string | |
| data.security_txt (required) | object | |
| data.security_txt.url (required) | string or null | |
| data.security_txt.location (required) | "well-known" | "legacy" | "none" | |
| data.security_txt.status (required) | integer or null | |
| data.security_txt.content_type (required) | string or null | |
| data.security_txt.https (required) | boolean | |
| data.security_txt.signed (required) | boolean | |
| data.security_txt.verified | null | |
| data.security_txt.fields (required) | object | |
| data.security_txt.expires (required) | string or null | |
| data.security_txt.expires_in_days (required) | integer or null | |
| data.security_txt.invalid_lines (required) | array of integer | |
| data.ads_txt (required) | object | |
| data.ads_txt.url (required) | string | |
| data.ads_txt.present (required) | boolean | |
| data.ads_txt.records (required) | integer | |
| data.ads_txt.direct (required) | integer | |
| data.ads_txt.reseller (required) | integer | |
| data.ads_txt.malformed_lines (required) | array of integer | |
| data.ads_txt.variables (required) | object | |
| data.app_ads_txt (required) | object | |
| data.app_ads_txt.url (required) | string | |
| data.app_ads_txt.present (required) | boolean | |
| data.app_ads_txt.records (required) | integer | |
| data.app_ads_txt.direct (required) | integer | |
| data.app_ads_txt.reseller (required) | integer | |
| data.app_ads_txt.malformed_lines (required) | array of integer | |
| data.app_ads_txt.variables (required) | object | |
| data.humans_txt (required) | boolean | |
| data.page_url (required) | string or null | |
| data.mixed_content (required) | array of object | |
| data.compression (required) | array of object | |
| data.compression.url (required) | string | |
| data.compression.type (required) | string or null | |
| data.compression.cache_control (required) | string or null | |
| data.compression.etag (required) | boolean | |
| data.compression.last_modified (required) | boolean | |
| data.compression.encoding (required) | string or null | |
| data.compression.bytes (required) | integer or null | |
| data.compression.wire_bytes (required) | integer or null | |
| data.caching (required) | array of object | |
| data.caching.url (required) | string | |
| data.caching.type (required) | string or null | |
| data.caching.cache_control (required) | string or null | |
| data.caching.etag (required) | boolean | |
| data.caching.last_modified (required) | boolean | |
| data.caching.encoding (required) | string or null | |
| data.caching.bytes (required) | integer or null | |
| data.caching.wire_bytes (required) | integer or null |
Errors
- 400 Invalid domain, URL or parameter, a TLD this tool can't check, or an X-Request-Id already used for another call (`invalid_domain`, `invalid_url`, `invalid_request`, `unsupported_tld`)
- 401 Missing, unknown or revoked API key, or one whose creator is no longer a member of the account (`unauthorized`)
- 402 Balance below the call's price (`insufficient_credits`)
- 403 Account suspended, the key's creator is over the plan's seats, or an anonymous check without a valid proof-of-work or for a tool that needs an account, or bulk checks before a first purchase (`account_suspended`, `plan_limit`, `challenge_required`, `sign_in_required`, `bulk_locked`)
- 429 Too many requests, today's free checks are used up, or too many website scans at once; wait for the number of seconds in the Retry-After header (`rate_limited`, `free_limit_reached`, `too_many_jobs`). Not charged
- 500 Unexpected error (`internal_error`)
- 502 Every upstream source failed; not charged (`source_unavailable`). A Retry-After header says how long to wait when the source asked us to
- 503 Too many open event streams on this server, the checked site is getting too many checks, or the browser or link checker is busy; try again after the seconds in the Retry-After header (`busy`, `site_busy`, `browser_busy`, `crawl_busy`). Not charged
Example
curl
curl "https://api.dnssuper.com/v1/standard-files?url=example.com" \
-H "Authorization: Bearer $DNSSUPER_API_KEY"Python
import os
import httpx
client = httpx.Client(
base_url="https://api.dnssuper.com",
headers={"Authorization": f"Bearer {os.environ['DNSSUPER_API_KEY']}"},
timeout=60,
)
response = client.get("/v1/standard-files", params={
"url": "example.com",
})
response.raise_for_status()
result = response.json()
print(result["summary"], result["credits_used"])TypeScript
const response = await fetch(`https://api.dnssuper.com/v1/standard-files?${new URLSearchParams({"url":"example.com"})}`, {
headers: { Authorization: `Bearer ${process.env.DNSSUPER_API_KEY}` },
});
if (!response.ok) throw new Error((await response.json()).error.message);
const result = await response.json();
console.log(result.summary, result.credits_used);Example response
{
"tool": "security-txt-checker",
"target": "https://example.com/",
"status": "ok",
"fetched_at": "2026-11-14T10:00:00Z",
"cached": false,
"credits_used": 1,
"summary": "security.txt is valid and expires in 198 days. ads.txt lists 3 sellers.",
"findings": [
{
"id": "security_txt.signature_not_verified",
"severity": "info",
"title": "security.txt is signed; we didn't verify the signature",
"detail": "",
"fix": "Nothing to do."
}
],
"data": {
"host": "example.com",
"security_txt": {
"url": "https://example.com/.well-known/security.txt",
"location": "well-known",
"status": 200,
"content_type": "text/plain",
"https": true,
"signed": true,
"fields": {
"Contact": [
"mailto:security@example.com",
"https://example.com/security"
],
"Expires": [
"2027-06-01T00:00:00Z"
],
"Encryption": [
"https://example.com/pgp-key.txt"
],
"Preferred-Languages": [
"en, fr"
],
"Canonical": [
"https://example.com/.well-known/security.txt"
],
"Policy": [
"https://example.com/security-policy"
]
},
"expires": "2027-06-01T00:00:00+00:00",
"expires_in_days": 198,
"invalid_lines": []
},
"ads_txt": {
"url": "https://example.com/ads.txt",
"present": true,
"records": 3,
"direct": 2,
"reseller": 1,
"malformed_lines": [],
"variables": {
"contact": [
"ads@example.com"
]
}
},
"app_ads_txt": {
"url": "https://example.com/app-ads.txt",
"present": true,
"records": 1,
"direct": 1,
"reseller": 0,
"malformed_lines": [],
"variables": {}
},
"humans_txt": true,
"page_url": "https://example.com/",
"mixed_content": [],
"compression": [],
"caching": [
{
"url": "https://example.com/",
"type": "text/html",
"cache_control": "max-age=300",
"etag": true,
"last_modified": false,
"encoding": "gzip",
"bytes": 2135,
"wire_bytes": 226
},
{
"url": "https://example.com/app.js",
"type": "text/javascript",
"cache_control": "public, max-age=31536000, immutable",
"etag": false,
"last_modified": false,
"encoding": "gzip",
"bytes": 2770,
"wire_bytes": 74
},
{
"url": "https://example.com/style.css",
"type": "text/css",
"cache_control": "public, max-age=31536000",
"etag": false,
"last_modified": false,
"encoding": "br",
"bytes": 3012,
"wire_bytes": 34
}
]
},
"credits_remaining": 498
}MCP
{
"tool": "check_standard_files",
"arguments": {
"url": "example.com"
}
}security.txt is valid and expires in 198 days. ads.txt lists 3 sellers.
security.txt: /.well-known/security.txt, signed (not verified), expires in 198 days
Contact: mailto:security@example.com, https://example.com/security
ads.txt: 3 sellers (2 direct, 1 reseller); app-ads.txt: 1 seller (1 direct, 0 reseller)
humans.txt: yes
- info: security.txt is signed; we didn't verify the signature
Credits: 1 credit used, 498 remaining | fresh | checked 2026-11-14 10:00 UTC