URL Intel | Node.js SDK
The URL Intel service allows you to retrieve intelligence about known URLs, giving you insight into the reputation of a URL.
URL Intel
constructor(token: PangeaToken, config: PangeaConfig): URLIntelServiceCreates a new URLIntelService
with the given Pangea API token and
configuration.
const config = new PangeaConfig({ domain: "pangea_domain" });
const urlIntel = new URLIntelService("pangea_token", config);
Reputation check
reputation(url: string, options: ReputationOptions): Promise<PangeaResponse<ReputationResult>>Retrieve a reputation score for a URL from a provider, including an optional detailed report.
const response = await urlIntel.reputation(
"http://113.235.101.11:54384",
{
provider: "crowdstrike"
}
);
Reputation check V2
reputationBulk(urls: string[], options: ReputationOptions): Promise<PangeaResponse<ReputationBulkResult>>Retrieve reputation scores for URLs, from a provider, including an optional detailed report.
const response = await urlIntel.reputationBulk(
["http://113.235.101.11:54384"],
{
provider: "crowdstrike"
}
);