List saved query matches
brand_protection.v2.matches.get(MatchGetParams**kwargs) -> MatchGetResponse
GET/accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches
Get paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a matched_queries array.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
List saved query matches
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
match = client.brand_protection.v2.matches.get(
account_id="x",
query_id=["string"],
)
print(match.matches){
"matches": [
{
"dismissed": true,
"domain": "domain",
"first_seen": "first_seen",
"public_scans": {
"submission_id": "submission_id"
},
"scan_status": "scan_status",
"scan_submission_id": 0,
"source": "source",
"match_ids": [
0
],
"matched_queries": [
0
]
}
],
"total": 0
}Returns Examples
{
"matches": [
{
"dismissed": true,
"domain": "domain",
"first_seen": "first_seen",
"public_scans": {
"submission_id": "submission_id"
},
"scan_status": "scan_status",
"scan_submission_id": 0,
"source": "source",
"match_ids": [
0
],
"matched_queries": [
0
]
}
],
"total": 0
}