{
  "openapi": "3.0.1",
  "info": {
    "title": "Threat Intelligence API: CVEs, Threat Actors, Malware and IoCs",
    "description": "Cyber threat intelligence API from your own Feedly Threat Intelligence token: trending CVEs, threat actors and malware, CVE insight cards with CVSS, EPSS and exploits, CVE timelines, IoC lookups, actor and malware TTP relationships, YARA rules and cyberattack data. Bring your own key.",
    "version": "0.1",
    "x-build-id": "HK7hfQ9jQzIfxMbyr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~cyber-threat-intelligence-cve-malware-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-cyber-threat-intelligence-cve-malware-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nabeelbaghoor~cyber-threat-intelligence-cve-malware-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-cyber-threat-intelligence-cve-malware-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nabeelbaghoor~cyber-threat-intelligence-cve-malware-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-cyber-threat-intelligence-cve-malware-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to get",
            "enum": [
              "trendingVulnerabilities",
              "trendingThreatActors",
              "trendingMalware",
              "cveLookup",
              "cveTimeline",
              "iocLookup",
              "entityLookup",
              "entitySearch",
              "threatActorRelationships",
              "malwareRelationships",
              "malwareDetectionRules",
              "cyberAttacks",
              "cyberAttackStats",
              "cyberAttackDetails"
            ],
            "type": "string",
            "description": "Trending modes read the Threat Landscape lists (up to 25 vulnerabilities, 5 attackers, 5 new malware families, refreshed hourly). CVE insight cards read CVSS, EPSS, exploits, patches, vendors and linked threats for CVE IDs, and CVE timeline reads each CVE's dated events. IoC lookup reads Feedly intelligence for domains, URLs, IPs and hashes. Entity insight cards read any threat actor, malware, IoC or CVE by Feedly entity ID, and Entity search finds those IDs by name. The relationship modes list the actors, malware, CVEs, industries and MITRE ATT&CK techniques linked to a threat actor or malware family. Cyberattack modes read the Cyberattacks Agent table, its statistics, or one attack in detail.",
            "default": "trendingVulnerabilities"
          },
          "cveIds": {
            "title": "CVE IDs",
            "type": "array",
            "description": "CVE insight cards and CVE timeline only. One CVE ID per line, up to 1,000 a run. Insight cards are read 100 a request.",
            "items": {
              "type": "string"
            }
          },
          "iocs": {
            "title": "IoCs",
            "type": "array",
            "description": "IoC lookup only. One indicator per line: a domain, URL, IP address or file hash, defanged (hxxps, [.]) or not, up to 1,000 a run. Each is turned into its Feedly entity ID locally, as the Feedly IoC Lookup Guide documents, and read 100 a request.",
            "items": {
              "type": "string"
            }
          },
          "entityIds": {
            "title": "Entity IDs",
            "type": "array",
            "description": "Entity insight cards, relationship, detection rule and cyberattack detail modes. One Feedly ID per line, as shown in an insight card URL or returned by Entity search: threat actors look like nlp/f/entity/gz:ta:..., malware families nlp/f/entity/gz:mal:..., IoCs nlp/f/entity/ioc:..., cyberattacks nlp/f/cyberAttack/.... URL encoded IDs are accepted.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search terms",
            "type": "array",
            "description": "Entity search only. One name per line, such as a threat actor, malware family, vulnerability or vendor. Returns up to 10 matching Feedly entities and their IDs per term.",
            "items": {
              "type": "string"
            }
          },
          "withStats": {
            "title": "Include references and chatter",
            "type": "boolean",
            "description": "CVE insight cards, IoC lookup and Entity insight cards. Adds the reference articles (vendor advisories, threat intelligence reports, CERT reports) and mention time series to each record.",
            "default": false
          },
          "intervalType": {
            "title": "Relationship period",
            "enum": [
              "LAST_7_DAYS",
              "LAST_30_DAYS",
              "LAST_3_MONTHS",
              "LAST_6_MONTHS",
              "LAST_1_YEAR",
              "FOREVER"
            ],
            "type": "string",
            "description": "Threat actor and malware relationships only. The period the related entities and techniques are counted over.",
            "default": "FOREVER"
          },
          "period": {
            "title": "Cyberattack period",
            "enum": [
              "Last24Hours",
              "Last7Days",
              "Last30Days",
              "Last3Months",
              "Last6Months",
              "LastYear"
            ],
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only.",
            "default": "Last30Days"
          },
          "attackType": {
            "title": "Attack type",
            "enum": [
              "Ransomware",
              "DataBreachesAndExfiltration",
              "FinancialAndPaymentSystem",
              "SupplyChainCompromises",
              "DdosAndServiceDisruption",
              "WebApplication",
              "InsiderThreat",
              "CredentialBased",
              "SocialEngineering"
            ],
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only. Leave empty for every attack type."
          },
          "victimCountry": {
            "title": "Victim country",
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only. A two letter ISO 3166-1 code such as US, GB or DE."
          },
          "victimIndustry": {
            "title": "Victim industry ID",
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only. A Feedly industry topic ID such as nlp/f/topic/4017 (Finance)."
          },
          "threatActor": {
            "title": "Threat actor",
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only. A threat actor entity ID or name."
          },
          "malwareFamily": {
            "title": "Malware family",
            "type": "string",
            "description": "Cyberattacks and Cyberattack statistics only. A malware family entity ID or name."
          },
          "cyberAttackQuery": {
            "title": "Cyberattacks query (JSON)",
            "type": "object",
            "description": "Optional. Paste the JSON query the Feedly Cyberattacks Agent generates from its API button ({\"layers\": [...], \"period\": {...}}) to run any saved view exactly. When set, the filter fields above are ignored."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most rows this run returns and charges for. Only this many IDs are sent to Feedly, and the Cyberattacks table stops paging here.",
            "default": 100
          },
          "requestsPerMinute": {
            "title": "Requests per minute",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Pacing. Each Feedly token has 100,000 requests a month. A burst limit answer is waited out and retried; a used up monthly allowance ends the run.",
            "default": 30
          },
          "apiKey": {
            "title": "API token",
            "type": "string",
            "description": "Your own Feedly API access token, created by an admin on the Self Service API page (feedly.com/i/team/api) of a Feedly Threat Intelligence plan. Stored as a secret, sent only to api.feedly.com in the Authorization header, and never logged. You can instead set the DATA_API_KEY environment secret."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}