# CAA Record Parser API

> CAA Record Parser analyzes DNS CAA records that specify which Certificate Authorities are authorized to issue certificates for a domain.

**Endpoint:** `POST https://api.apiverve.com/v1/caaparser`  
**Category:** Reference Data  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/caaparser

## Overview

Includes a database of known Certificate Authorities like Let's Encrypt, DigiCert, and others, with automatic identification and policy interpretation. Paste a Certificate Authority Authorization (CAA) record such as 0 issue "letsencrypt.org" to get its flags, tag and value, the CA it names and a plain-English reading of the policy. Useful for a CAA record check before requesting a certificate.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl -X POST "https://api.apiverve.com/v1/caaparser" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"record":"example.com. 3600 IN CAA 0 issue \"letsencrypt.org\""}'
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `record` | string | Yes | The CAA record string to parse. A full record set, such as dig output with one record per line, is accepted; the top-level fields describe the first record and records/policy cover all of them |

## Response fields

- `raw_record` — string · The original CAA record string provided for parsing
- `parsed` — object
  - `parsed.domain` — string · Domain name extracted from the CAA record
  - `parsed.ttl` — number · Time-to-live value in seconds for the CAA record
  - `parsed.class` — string · DNS class designation, typically IN for internet
  - `parsed.flags` — number · CAA record flags value indicating record criticality
  - `parsed.tag` — string · CAA tag type such as issue, issuewild, or iodef
  - `parsed.value` — string · Value associated with the CAA tag
- `ca_info` — object · Information about the recognized Certificate Authority · (premium)
  - `ca_info.name` — string · Recognized Certificate Authority name if identified · (premium)
  - `ca_info.type` — string · Certificate Authority type classification such as Free or Commercial · (premium)
  - `ca_info.wildcard_support` — boolean · Indicates if the CA supports wildcard certificate issuance · (premium)
- `interpretation` — object · Detailed interpretation and security analysis of CAA record · (premium)
  - `interpretation.meaning` — string · Human-readable explanation of what the CAA record authorizes · (premium)
  - `interpretation.restriction` — string · Description of access restrictions imposed by this CAA record · (premium)
  - `interpretation.critical` — boolean · Indicates if the critical flag is set on the CAA record · (premium)
  - `interpretation.critical_explanation` — string · Explanation of critical flag behavior and implications · (premium)
- `tag_description` — string · Description of the CAA tag purpose and behavior · (premium)
- `is_valid` — boolean · Validation status indicating if the CAA record is properly formatted

## Sample response

```json
{
  "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
  }
}
```

## 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

## SDKs

- **npm** — `npm install @apiverve/caaparser` (https://www.npmjs.com/package/@apiverve/caaparser)
- **NuGet** — `dotnet add package APIVerve.API.CAARecordParser` (https://www.nuget.org/packages/APIVerve.API.CAARecordParser)
- **Source** — https://github.com/apiverve/caaparser-api

## More

- Full reference: https://docs.apiverve.com/ref/caaparser
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
