The Target Intelligence API supports a number of query parameters for filtering the dataset. Parameters can be combined, and different parameters are ANDed together. All parameters are optional, but you should provide at least one for meaningful results.
Multiple values: most filter parameters accept a comma-delimited list of values, and the values are ORed together. For example, port=8080,8443 returns records on either port, and cve=CVE-2024-21887,CVE-2023-46805 returns hosts matching either CVE.
| Query Parameter | Type | Description |
|---|---|---|
cve | string | One or more CVE IDs (comma-delimited) whose affected hosts should be returned, e.g. CVE-2024-21887 |
vendor | string | Software vendor name, as identified by fingerprinting (lowercase), e.g. ivanti |
product | string | Software product name, as identified by fingerprinting (lowercase), e.g. connect secure |
version | string | Software version string |
cpe | string | Full CPE string |
contains_cve | boolean | true returns only records with at least one associated CVE (tiers 40–20). false returns only records with none. |
confirmed | boolean | true returns records with at least one high-confidence (tier 40 or 30) CVE match. false returns records with at least one tier 20 (possible backport) match. The same record may also carry confirmed matches. See The confirmed Flag. |
cidr | string | IPv4 CIDR range for subnet lookups, e.g. 203.0.113.0/24. To look up individual hosts, use ip. |
ip | string | One or more IP addresses (comma-delimited), e.g. 203.0.113.42 or 203.0.113.42,198.51.100.7. See Looking Up IP Addresses. |
asn | string | Autonomous System Number, e.g. AS15169 |
hostname | string | Matched as a substring of the reverse-DNS hostname observed at scan time. Comma-delimited for multiple values. See Domain vs. Hostname. |
domain | string | One or more domains (comma-delimited) matched against the end of the reverse-DNS hostname observed at scan time. See Domain vs. Hostname. |
country | string | Country name, e.g. United States, Germany |
country_code | string | ISO 3166-1 alpha-2 country code, e.g. US, DE |
protocol | string | Application protocol observed on the port, e.g. http, ssh, modbus |
transport | string | Transport protocol: tcp or udp |
port | string | One or more port numbers (comma-delimited), e.g. 443 or 8080,8443. Applies to both TCP and UDP observations, so combine with transport to disambiguate. |
classifications | string | One or more classification types or type:value pairs (comma-delimited). See Filtering by Classification. |
date | string | Records whose service was first observed on this date, in YYYY-MM-DD format. See Date Filtering. |
| Query Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results per page. Default 100, maximum 2000. |
page | integer | Page number to return (page-based paging). Page-based access is limited to the first 10,000 records of a result set; see Paging Through Large Result Sets. |
start_cursor | flag | Starts a cursor-based paging session from the first page. Only its presence matters; any value is ignored. Can't be combined with page. |
cursor | string | Continues a cursor session. Pass the _meta.next_cursor value from the previous response. |
sort | string | Field to sort by: _timestamp (when the record was last written to the index, the default) or date_added (when the service was first observed) |
order | string | Sort direction: desc (default) or asc |
Note on
vendor,productandversion: these parameters work in any combination. Querying by vendor alone or version alone is supported but may return broad results; combining two or more produces more targeted output. Vendor and product values are the lowercase names assigned by fingerprinting rules, not the CPE components. Usecpeto match a CPE exactly.
Note on renamed products: when a vendor has been acquired or a product renamed, hosts can be split across the old and new names (for example
pulsesecureandivantifor Connect Secure). Query bycve, or pass both vendor names (vendor=ivanti,pulsesecure), to avoid undercounting.
ip returns the records for one or more specific addresses. Records are per host and port, so a single address can return several records, one for each service observed on it.
Pass several addresses as a comma-delimited list, which are ORed together: ip=203.0.113.42,198.51.100.7.
The value must be a list of bare addresses. The API returns 400 Bad Request if any item isn't one, including:
203.0.113.0/24. Use cidr for ranges.203.0.113.42, 198.51.100.7), or a leading or trailing comma.hostname or domain for names.hostname and domain both search the reverse-DNS (PTR) hostname observed at scan time, but they match it differently.
hostname matches the value as a substring of the reverse-DNS (PTR) hostname observed at scan time. hostname=test.com returns mail.test.com, and also test.com.example.net.
domain matches the value against the end of the reverse-DNS hostname. domain=test.com returns mail.test.com and test.com, but not test.com.example.net.
Both parameters accept a comma-delimited list of values, which are ORed together: domain=test.com,example.org.
Note on label boundaries: the suffix match isn't aligned to a dot, so
domain=test.comalso matches a hostname ending inmytest.com.
Note on coverage: only about a quarter of records have a reverse-DNS hostname, so a host without one can't be found by name. Use
cidrorasnfor those.
Note on what isn't searched: TLS certificate names (
metadata.cert_common_name,metadata.subject_alternative_names) and the AS domain (as_domain) are returned on each record but aren't searched bydomainorhostname. To match on them, filter client-side or use the offline backup.
Classifications are returned on a record as type:value strings, e.g. c2:cobalt-strike, honeypot:conpot, sector:government. The classifications parameter accepts either form, and which one you pass decides how broad the result is:
| To find | Pass | Example |
|---|---|---|
| Every host of a classification type | The type | classifications=c2 (all C2 servers) |
| Hosts matching one specific framework, product or sector | The type:value pair | classifications=c2:cobalt-strike (only Cobalt Strike C2 servers) |
| Several at once | A comma-delimited list (ORed) | classifications=c2:sliver,c2:mythic |
A type:value pair is matched as one exact string, so it's the precise way to target a single value. A bare value such as cobalt-strike is matched as text instead, so a hyphenated value can also match other classifications that share one of its words. Prefer type:value when you need an exact match.
Valid types are c2, scanner, proxy, attacker-infrastructure, honeypot, mcp, cdn, ics, sector and canary-attacker. See Enrichment Data for what each type means and the values available under it.
Note:
classificationscan only include records, not exclude them. To remove CDN, proxy or honeypot hosts from a result set, filter them out on your side. See Best Practices.
date filters on date_added — the day a host-port record first entered the index — not on the day it was last scanned. date=2026-09-13 therefore answers "what showed up as newly exposed on this date", which is the useful question for tracking newly appearing infrastructure. A host added in June and re-scanned yesterday still matches its June date.
The standard v3 index date filters also apply to target-intel:
| Parameter | Filters on |
|---|---|
pubStartDate / pubEndDate | date_added, as a range — the range form of date |
lastModStartDate / lastModEndDate | the index's own _timestamp (when the record was last written to the index), which trails the scan timestamp |
See the /v3/index/{index} endpoint reference for the full set of shared parameters.
A single page returns at most 2,000 records (limit); the default is 100. For broad queries this matters a lot, because a common product or a widely deployed CVE can match millions of host-port records.
Page-based paging (page) is meant for browsing. It only reaches the first 10,000 records of a result set. A request for a page beyond that returns an error pointing you to cursor paging or the offline backup.
Cursor paging is the way to walk a full result set. Start a session with start_cursor, then pass _meta.next_cursor from each response as cursor on the next request. Stop when next_cursor is empty.
# Start a paginated session
curl -H "Authorization: Bearer <token>" \
"https://api.vulncheck.com/v3/index/target-intel?cve=CVE-2024-21887&limit=500&start_cursor"
# Continue it with the next_cursor value from the previous response
curl -H "Authorization: Bearer <token>" \
"https://api.vulncheck.com/v3/index/target-intel?cve=CVE-2024-21887&limit=500&cursor=MTc4OTQ0Mjc4NTQ4Mw=="
Note on short pages: a cursor page can hold fewer records than
limiteven though more remain. This happens when the page reached the response size cap, or would otherwise have ended between records that sort equally. When this happens the response sets_meta.truncated: true. Don't treat a short page as the end of the results: keep requesting untilnext_cursoris empty.
Other useful _meta fields on each response:
| Field | Meaning |
|---|---|
total_documents | Total records matching the query across all pages |
next_cursor | Opaque cursor for the next page; empty when there are no more pages |
truncated | true when a cursor page returned fewer than limit records but more follow |
matches | The filter values applied to this query, useful for confirming how parameters were interpreted |
warnings | Non-fatal issues encountered while processing the query |
If you need the whole index rather than a slice of it, pull the offline backup instead of paging.
Combining two query parameters (CVE and country) narrows a CVE's target list to a single country.
curl --request GET \
--url 'https://api.vulncheck.com/v3/index/target-intel?cve=CVE-2024-21887&country_code=US' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer insert_token_here'
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
vulncheck "github.com/vulncheck-oss/sdk-go-v2/v2"
)
func main() {
configuration := vulncheck.NewConfiguration()
configuration.Scheme = "https"
configuration.Host = "api.vulncheck.com"
client := vulncheck.NewAPIClient(configuration)
token := os.Getenv("VULNCHECK_API_TOKEN")
auth := context.WithValue(
context.Background(),
vulncheck.ContextAPIKeys,
map[string]vulncheck.APIKey{
"Bearer": {Key: token},
},
)
resp, httpRes, err := client.IndicesAPI.IndexTargetIntelGet(auth).Cve("CVE-2024-21887").CountryCode("US").Execute()
if err != nil || httpRes.StatusCode != 200 {
log.Fatal(err)
}
prettyJSON, err := json.MarshalIndent(resp.Data, "", " ")
if err != nil {
log.Fatalf("Failed to generate JSON: %v", err)
return
}
fmt.Println(string(prettyJSON))
}
import vulncheck_sdk
configuration = vulncheck_sdk.Configuration(host="https://api.vulncheck.com/v3")
configuration.api_key["Bearer"] = "insert_token_here"
with vulncheck_sdk.ApiClient(configuration) as api_client:
indices_client = vulncheck_sdk.IndicesApi(api_client)
api_response = indices_client.index_target_intel_get(cve="CVE-2024-21887", country_code="US")
print(api_response.data)
vulncheck index browse target-intel --cve CVE-2024-21887 --country_code US
Note on the CLI: vulncheck index browse supports the shared index flags: --cve (one CVE at a time), --country, --country_code, --asn, --cidr, --hostname, --limit, --sort, --order, --cursor and the date flags (--date, --pubStartDate, --pubEndDate, --lastModStartDate, --lastModEndDate). The other Target Intelligence filters (vendor, product, version, cpe, protocol, transport, port, contains_cve, confirmed, classifications and domain) are available over HTTP and through the SDKs. ip is available over HTTP; in the CLI, use --cidr with a /32 range to look up a single address.
| Question | API Call Example |
|---|---|
| Which internet-facing systems are vulnerable to a given CVE? | ?cve=CVE-2021-36260 |
| Which systems are vulnerable to any of several CVEs? | ?cve=CVE-2023-46805,CVE-2024-21887 |
| Which internet-facing systems are using a given vendor and product? | ?vendor=ivanti&product=connect+secure |
| …and a specific version? | ?vendor=ivanti&product=connect+secure&version=22.7.2.5367 |
| Which internet-facing systems match a specific CPE string? | ?cpe=cpe:2.3:o:qnap:qts:-:*:*:*:*:*:*:* |
| Which hosts have a high-confidence match for a CVE? | ?cve=CVE-2024-21887&confirmed=true |
| Which hosts run a product but have no known CVEs? | ?product=tomcat&contains_cve=false |
| Filter by country of origin? | ?country_code=US |
| Filter by ASN? | ?asn=AS7018 |
| Filter by one or more ports? | ?port=8080,8443 |
| Filter by protocol? | ?protocol=modbus |
| Filter by IP range (CIDR notation)? | ?cidr=203.0.113.0/24 |
| Question | API Call Example |
|---|---|
| Where are all the C2 servers on the internet? | ?classifications=c2 |
| Where are all the Cobalt Strike C2 servers? | ?classifications=c2:cobalt-strike |
| Where are all the honeypots on the internet? | ?classifications=honeypot |
| Where are all the canary attackers on the internet? | ?classifications=canary-attacker |
| Where are all the proxies on the internet? | ?classifications=proxy |
| Where are all the identified attacker infrastructure assets? | ?classifications=attacker-infrastructure |
| Where are all the known scanners on the internet? | ?classifications=scanner |
| Where are all the ICS/OT assets? | ?classifications=ics |
| Where are all the Modbus or DNP3 devices? | ?classifications=ics:modbus,ics:dnp3 |
| Where are all the government, healthcare, education and energy assets? | ?classifications=sector |
| Where are all the exposed MCP servers? | ?classifications=mcp |
| Question | API Call Example |
|---|---|
| What do you have for IPv4 a.b.c.d? | ?ip=203.0.113.42 |
| What do you have for a list of IP addresses? | ?ip=203.0.113.42,198.51.100.7 |
| What do you have for a hostname? | ?hostname=test.com |
| What do you have for hosts under an organization's domain? | ?domain=test.com |
| What was newly observed on a given day? | ?date=2026-09-13 |
| What was newly observed in a network this month, newest first? | ?asn=AS64500&pubStartDate=2026-11-01&sort=date_added&order=desc |