Docs/APIs/CAA Record Parser

CAA Record Parser

Parse DNS CAA records

OperationalCredits 1 per callp50 253msReference DataStar

Overview

Includes a database of known Certificate Authorities like Let's Encrypt, DigiCert, and others, with automatic identification and policy interpretation.

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

POSThttps://api.apiverve.com/v1/caaparser
curl -X POST https://api.apiverve.com/v1/caaparser \
  -H "x-api-key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\""
}'
const res = await fetch('https://api.apiverve.com/v1/caaparser', {
  method: 'POST',
  headers: {
    'x-api-key': 'your_api_key_here',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
  "record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\""
}),
});

if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);

const { data } = await res.json();
console.log(data);
import requests

res = requests.post(
    "https://api.apiverve.com/v1/caaparser",
    headers={"x-api-key": "your_api_key_here"},
    json={
    "record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\""
},
    timeout=15,
)
res.raise_for_status()

print(res.json()["data"])
package main

import (
	"fmt"
	"io"
	"net/http"
	"strings"
)

func main() {
	body := strings.NewReader(`{
  "record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\""
}`)
	req, _ := http.NewRequest("POST", "https://api.apiverve.com/v1/caaparser", body)
	req.Header.Set("Content-Type", "application/json")
	req.Header.Set("x-api-key", "your_api_key_here")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent as JSON in the request body. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
recordRequiredstringThe CAA record string to parse

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "raw_record": "example.com. 3600 IN CAA 0 issue \"letsencrypt.org\"",
    "parsed": {
      "domain": "example.com",
      "ttl": 3600,
      "class": "IN",
      "flags": 0,
      "tag": "issue",
      "value": "letsencrypt.org"
    },
    "ca_info": {
      "name": "Let's Encrypt",
      "type": "Free",
      "wildcard_support": true
    },
    "interpretation": {
      "meaning": "Only letsencrypt.org is authorized to issue certificates",
      "restriction": "Restricted to specific CA",
      "critical": false,
      "critical_explanation": "Non-critical - CA may proceed if not understood"
    },
    "tag_description": "Authorizes a CA to issue certificates (any type)",
    "is_valid": true
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
raw_recordstring"example.com. 3600 IN CAA 0 issue "letsencrypt.org""The original CAA record string provided for parsing
parsedobject{...}
domainstring"example.com"Domain name extracted from the CAA record
ttlnumber3600Time-to-live value in seconds for the CAA record
classstring"IN"DNS class designation, typically IN for internet
flagsnumber0CAA record flags value indicating record criticality
tagstring"issue"CAA tag type such as issue, issuewild, or iodef
valuestring"letsencrypt.org"Value associated with the CAA tag
ca_infoPremiumobject{...}Information about the recognized Certificate Authority
namePremiumstring"Let's Encrypt"Recognized Certificate Authority name if identified
typePremiumstring"Free"Certificate Authority type classification such as Free or Commercial
wildcard_supportPremiumbooleantrueIndicates if the CA supports wildcard certificate issuance
interpretationPremiumobject{...}Detailed interpretation and security analysis of CAA record
meaningPremiumstring"Only letsencrypt.org is authorized to issue certificates"Human-readable explanation of what the CAA record authorizes
restrictionPremiumstring"Restricted to specific CA"Description of access restrictions imposed by this CAA record
criticalPremiumbooleanfalseIndicates if the critical flag is set on the CAA record
critical_explanationPremiumstring"Non-critical - CA may proceed if not understood"Explanation of critical flag behavior and implications
tag_descriptionPremiumstring"Authorizes a CA to issue certificates (any type)"Description of the CAA tag purpose and behavior
is_validbooleantrueValidation status indicating if the CAA record is properly formatted

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Use cases

Security Analysis
Parse CAA records for security analysis and threat detection to identify unauthorized certificate authorities
Policy Validation
Validate certificate issuance policies by parsing CAA records to ensure only authorized CAs can issue certificates
DNS Security Tools
Build DNS security tools that monitor and analyze CAA records for compliance and security posture assessment
Certificate Auditing
Audit domain certificate authorization settings to maintain control over which CAs can issue certificates for your domains

Other ways to use CAA Record Parser

Set up CAA Record Parser on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKitReference →
Use it in Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheetsReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

More in Reference Data:

Was this page helpful?