API Data Structures

API Structures


export interface PhishFortDomainListsPure {
    blacklist: string[];
    whitelist: string[];


export interface SiteStatus {
    dangerous: boolean; // the site is present in the blocklist ie. DANGEROUS
    warning: boolean; // the site is similar to an entry in the blocklist ie. proceed with caution (beta)
    safe: boolean; // the site is explicitly marked as safe in the whitelist ie. it is safe to browse
    hostname?: string;
    hash?: string;