Playground
See how to call DNSFix™ and what your customers would see, before you sign up.
Try it
Pick a task and a domain. The answer is a fixed sample, so nothing is looked up.Test key:
dnsf_test_playground. Test keys are free, never count and always return a sample answer, so you can build your screens before you pay. Nothing you type here is checked or saved.
The code
Copy any of these. Swap the test key for your live key when you go live: nothing else changes.curl
curl "https://app.dnsfix.com/v1/scan?domain=example.com" \ -H "Authorization: Bearer dnsf_test_playground"
JavaScript
const r = await fetch("https://app.dnsfix.com/v1/scan?domain=example.com", { headers: { Authorization: "Bearer dnsf_test_playground" }, }); const answer = await r.json();Python
import requests answer = requests.get("https://app.dnsfix.com/v1/scan?domain=example.com", headers={"Authorization": "Bearer dnsf_test_playground"}).json()PHP
$ch = curl_init("https://app.dnsfix.com/v1/scan?domain=example.com"); curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer dnsf_test_playground"]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $answer = json_decode(curl_exec($ch), true);
The answer
The same shape as the live API, with test: true. Full field list in the API guide.JSON
{ "test": true, "note": "Sample answer from a test key: nothing was checked and nothing was counted. A live key checks for real.", "domain": "example.com", "domain_unicode": "example.com", "grade": "C", "score": 62, "not_graded": null, "scanned_at": "2026-11-23T12:00:00.000Z", "from_last": null, "checked_from": null, "dns_host": "Example DNS", "registrar": "Example Registrar", "mail_provider": "Google Workspace", "sends_email": true,Show all 63 linesShow fewer"domain_expires_at": "2027-06-01T00:00:00.000Z", "ssl_expires_at": "2027-02-05T00:00:00.000Z", "report_url": "https://app.dnsfix.com/platforms/playground?domain=example.com", "not_checked": [], "checks": [ { "id": "spf_lookups", "category": "email", "title": "SPF lookups", "status": "fail", "group": "fix", "unchecked": false, "summary": "Your SPF record needs 12 lookups. Mail providers stop at 10, so some of your mail can fail.", "why": "Mail that fails SPF can land in spam or be refused.", "records_to_change": [ { "action": "replace", "type": "TXT", "name": "@", "value": "v=spf1 include:_spf.google.com ~all", "replaces": "v=spf1 include:_spf.google.com include:mail.example.net include:… ~all" } ] }, { "id": "dmarc_policy", "category": "email", "title": "DMARC policy", "status": "warn", "group": "improve", "unchecked": false, "summary": "DMARC is set to watch only (p=none), so others can still send mail that pretends to be you.", "why": "A stricter policy tells inboxes to block fake mail from your name.", "records_to_change": [] }, { "id": "ssl_expiry", "category": "website", "title": "Website certificate", "status": "pass", "group": "passed", "unchecked": false, "summary": "Your website certificate is valid for 74 more days.", "why": null, "records_to_change": [] } ] }
What your customer sees
Plain English first, with a fix guide for each problem. You choose your own logo and colour in the partner area.Email and website health for example.com
- Fix today: Your SPF record needs 12 lookups. Mail providers stop at 10, so some of your mail can fail.
- Improve: DMARC is set to watch only (p=none), so others can still send mail that pretends to be you.
- Passed: Your website certificate is valid for 74 more days.
Powered by