Skip to content
Start here

List domain matches

GET/accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches

Lists domains that matched one or more saved domain queries, most recently matched first by default. When you pass several comma-separated query_id values, matches are deduplicated by domain and each match includes a match_details array with per-query dismissed state. Set include_domain_id=true to get the domain_id needed to dismiss or undismiss a match.

Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
Cloudforce One WriteCloudforce One Read
Path ParametersExpand Collapse
account_id: string
minLength1
Query ParametersExpand Collapse
query_id: array of string

ID of a domain query, or a comma-separated list of domain query IDs. When you pass several IDs, matches are deduplicated by domain and each match includes a match_details array with per-query metadata and dismissed state.

include_dismissed: optional string

Set to false to exclude dismissed matches. Dismissed matches are included when this is omitted or true.

include_domain_id: optional string

Set to true to include domain_id on each match. Required to dismiss or undismiss a match. Defaults to false.

limit: optional string

Maximum number of matches to return. Defaults to 50.

offset: optional string

Number of matches to skip, for pagination. Defaults to 0.

order: optional "asc" or "desc"

Sort direction: asc or desc. Defaults to desc. For single-query requests, asc applies only when orderBy is set.

One of the following:
"asc"
"desc"
orderBy: optional "domain" or "first_seen" or "registrar"

Field to sort by: domain, first_seen, or registrar. Defaults to first_seen.

One of the following:
"domain"
"first_seen"
"registrar"
quality: optional "high" or "low"

Filter matches by quality. Options: ‘high’ or ‘low’

One of the following:
"high"
"low"
ReturnsExpand Collapse
matches: array of object { ai_verdict, domain, edit_distance, 11 more }
ai_verdict: "confirmed" or "rejected" or "unavailable" or "not_sent"
One of the following:
"confirmed"
"rejected"
"unavailable"
"not_sent"
domain: string

The matched domain name.

edit_distance: number
first_seen: string

When the domain was matched. For multi-query requests, the most recent match time across the requested queries.

match_category: string
public_scans: object { submission_id }
submission_id: string
quality: "high" or "low"
One of the following:
"high"
"low"
registrar: string

Registrar of the matched domain, if known.

scan_status: string
scan_submission_id: number
source: string
dismissed: optional boolean

Whether the match is dismissed. Only present for single-query requests. For multi-query requests, use the dismissed field in each match_details entry.

domain_id: optional number

ID of the matched domain. Present only when include_domain_id=true. Use it with query_id to dismiss or undismiss the match.

match_details: optional array of object { ai_verdict, dismissed, edit_distance, 5 more }

Per-match detail objects with query metadata and individual dismissed state. Only present when multiple query_ids are requested.

ai_verdict: "confirmed" or "rejected" or "unavailable" or "not_sent"
One of the following:
"confirmed"
"rejected"
"unavailable"
"not_sent"
dismissed: boolean

Individual dismissed state for this specific match.

edit_distance: number
match_category: string
match_id: number

ID of the match. Accepted by the legacy match_ids format.

quality: "high" or "low"
One of the following:
"high"
"low"
query_id: number

ID of the domain query that produced this match.

query_tag: string

Tag associated with the query, if one exists.

total: number

Number of matching domains available for pagination. For requests with several query_id values, matches are deduplicated from at most 5,000 query-domain rows, so total can be lower than the actual number of matches.

minimum0

List domain matches

curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cloudforce-one/v2/brand-protection/domain/matches \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
{
  "matches": [
    {
      "ai_verdict": "confirmed",
      "domain": "domain",
      "edit_distance": 0,
      "first_seen": "first_seen",
      "match_category": "match_category",
      "public_scans": {
        "submission_id": "submission_id"
      },
      "quality": "high",
      "registrar": "registrar",
      "scan_status": "scan_status",
      "scan_submission_id": 0,
      "source": "source",
      "dismissed": true,
      "domain_id": 0,
      "match_details": [
        {
          "ai_verdict": "confirmed",
          "dismissed": true,
          "edit_distance": 0,
          "match_category": "match_category",
          "match_id": 0,
          "quality": "high",
          "query_id": 0,
          "query_tag": "query_tag"
        }
      ]
    }
  ],
  "total": 0
}
Returns Examples
{
  "matches": [
    {
      "ai_verdict": "confirmed",
      "domain": "domain",
      "edit_distance": 0,
      "first_seen": "first_seen",
      "match_category": "match_category",
      "public_scans": {
        "submission_id": "submission_id"
      },
      "quality": "high",
      "registrar": "registrar",
      "scan_status": "scan_status",
      "scan_submission_id": 0,
      "source": "source",
      "dismissed": true,
      "domain_id": 0,
      "match_details": [
        {
          "ai_verdict": "confirmed",
          "dismissed": true,
          "edit_distance": 0,
          "match_category": "match_category",
          "match_id": 0,
          "quality": "high",
          "query_id": 0,
          "query_tag": "query_tag"
        }
      ]
    }
  ],
  "total": 0
}