# threat-hash-reputation

> threat-hash-reputation is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Looks up a file hash (MD5, SHA1, or SHA256) against CIRCL hashlookup to determine if it's a known file, returning a trust score, file metadata, and optional malware family classification.

## Facts

- Endpoint: GET https://payai.agentstools.dev/threat/hash
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/threat-hash-reputation-1317c7c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XACCRtQyXjO9NvMylCWeS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability threat-hash-reputation-1317c7c6
```

Example prompt: Can you check if the SHA256 hash d41d8cd98f00b204e9800998ecf8427e is a known file — give me the CIRCL hashlookup trust score, what kind of file it is, and whether it's been flagged as malware?

## When to prefer this

Choose this endpoint when you need fast, structured hash-based file reputation for SOC triage or DFIR investigations and want CIRCL hashlookup's known-file status plus a trust score without building your own lookup pipeline. Best suited for single-hash lookups during alert triage where reducing false positives on known-good files is the goal. Prefer over generic threat intel APIs when the CIRCL provenance and hashlookup trust scoring model specifically matches your workflow.

## Known failure modes

- Hash not found in database — returned as unknown status, not evidence of malice
- Invalid hash format (wrong length or non-hex characters) — request rejected
- Licensed feed not enabled — malware family field absent from response
- Network timeout or upstream CIRCL service unavailability
- Payment failure via x402 protocol

## How this service works

File-hash reputation and known-file context for a SOC or DFIR agent. Give an md5, sha1 or sha256 hash and get CIRCL hashlookup known-file status, a hashlookup trust score and file metadata (name, size, mimetype, source, database), plus malware family when a licensed feed is enabled. A known distribution or system file lowers the alert priority; an unknown hash is not itself evidence of malice. Indicators, not a guarantee.

## Output

Returns whether the hash matches a known file in the CIRCL hashlookup database, a numeric trust score indicating confidence in the file's legitimacy, file metadata (name, size, MIME type, source, database), and optionally a malware family label if a licensed threat feed is enabled. An unknown hash does not automatically indicate malice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "A file hash: md5 (32 hex), sha1 (40 hex) or sha256 (64 hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/threat-hash-reputation-1317c7c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
