Cyfare API Documentation

Advanced Threat Intelligence via RapidAPI

Welcome to the Cyfare API on RapidAPI. This API provides a unified interface to query our extensive malware database for threat intelligence and perform live analysis on URLs and hashes, enabling seamless integration into your security workflows.

API Endpoint

All API requests should be made to the following endpoint on the RapidAPI platform:

https://cyfare-advanced-threat-api.p.rapidapi.com/query.php

Note: Replace host with the actual value from RapidAPI Hub code snippets

HTTP Method

The API only accepts requests using the POST method.

Authentication

RapidAPI Key Required

Access managed through RapidAPI platform

Request Format

Include these headers in your request:

X-RapidAPI-Key: YOUR_RAPIDAPI_KEY
X-RapidAPI-Host: cyfare-advanced-threat-api.p.rapidapi.com

Request body format:

command=COMMAND_NAME&value=YOUR_VALUE

URL Encoding Required

The value parameter must be properly URL-encoded

Supported Commands

Database Intelligence Commands

Query the internal malware database for threat intelligence

Command Description
hash_info Get information for a file hash (MD5, SHA1, or SHA256)
tag_info Retrieve samples by malware family name or tag (e.g., "dridex")
type_info Retrieve samples by file type (e.g., "dll", "exe")
clam_info Retrieve samples matching a specific ClamAV signature
db_stats Get a full statistical report from the database

Live Analysis Commands

Perform real-time analysis using integrated third-party services

Command Description
sim_hash Find reports on files similar to the provided hash
country Search analysis reports by country (e.g., "IN", "US")
scan_url Submit a URL for scanning. Returns a flow_id to track the scan
scan_report Get scan results using the flow_id from a scan_url request

Example Commands

Get Hash Information

curl -X POST \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: cyfare-advanced-threat-api.p.rapidapi.com" \
--data-urlencode "command=hash_info" \
--data-urlencode "value=YOUR_HASH_HERE" \
"https://cyfare-advanced-threat-api.p.rapidapi.com/query.php"

Get Database Statistics

curl -X POST \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: cyfare-advanced-threat-api.p.rapidapi.com" \
--data-urlencode "command=db_stats" \
"https://cyfare-advanced-threat-api.p.rapidapi.com/query.php"

Submit URL for Scanning

curl -X POST \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: cyfare-advanced-threat-api.p.rapidapi.com" \
--data-urlencode "command=scan_url" \
--data-urlencode "value=http://url-to-scan.com" \
"https://cyfare-advanced-threat-api.p.rapidapi.com/query.php"

Support & Contact

Technical Support

security@cyfare.net

Sales & Custom Plans

security@cyfare.net

© 2025 Cyfare. All rights reserved.