Get Multiple Domain Details
Returns security details and statistics about multiple domains in a single request.
Behavior change — domain ranking is becoming opt-in. This endpoint
previously included domain ranking data in every response and accepted
a skip_ranking=true query parameter to opt out. That parameter is
being deprecated and ranking will no longer be returned by default.
Callers that want ranking data must pass include_ranking=true. The
skip_ranking parameter will be silently ignored once the change ships.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Accepted Permissions (at least one required)
Get Multiple Domain Details
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const bulks = await client.intel.domains.bulks.get({
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
});
console.log(bulks);{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": [
{
"additional_information": {
"suspected_malware_family": ""
},
"application": {
"id": 0,
"name": "CLOUDFLARE"
},
"content_categories": [
{
"id": 155,
"name": "Technology",
"super_category_id": 26
}
],
"domain": "cloudflare.com",
"inherited_content_categories": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
],
"inherited_from": "inherited_from",
"inherited_risk_types": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
],
"popularity_rank": 0,
"risk_score": 0,
"risk_types": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
]
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": [
{
"additional_information": {
"suspected_malware_family": ""
},
"application": {
"id": 0,
"name": "CLOUDFLARE"
},
"content_categories": [
{
"id": 155,
"name": "Technology",
"super_category_id": 26
}
],
"domain": "cloudflare.com",
"inherited_content_categories": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
],
"inherited_from": "inherited_from",
"inherited_risk_types": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
],
"popularity_rank": 0,
"risk_score": 0,
"risk_types": [
{
"id": 0,
"name": "name",
"super_category_id": 0
}
]
}
],
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}