# CIRCL hashlookup API reference

> The CIRCL hashlookup API checks a file hash against a database of known files (such as the NSRL and other sources) and returns metadata about the match: file name, size, other hashes, product and source. A match says a file is known; it does not say whether the file is malicious. Calls are plain…

Source: https://osinttools.io/apis/circl-hashlookup/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/circl-hashlookup/

- Base URL: https://hashlookup.circl.lu
- Authentication: No key needed.
- Rate limits: Not stated in the docs
- Vendor docs: https://www.circl.lu/services/hashlookup/
- OpenAPI spec: https://hashlookup.circl.lu/swagger.json

## Overview

The CIRCL hashlookup API checks a file hash against a database of known files (such as the NSRL and other sources) and returns metadata about the match: file name, size, other hashes, product and source. A match says a file is known; it does not say whether the file is malicious.

Calls are plain HTTPS requests to `https://hashlookup.circl.lu` with `accept: application/json`. The docs describe no API key. The service is free to use and provided on a best-effort basis, and the docs state no rate limits.

The docs also describe a DNS interface (`<hash>.dns.hashlookup.circl.lu`, TXT records) and an offline SHA-1 Bloom filter, which are not covered here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | The hash is incorrectly formatted |
| 404 | The hash is not present in any database |

## Lookups

### Look up a single MD5 hash.

`GET /lookup/md5/{hash}`

- Takes: File
- Footprint: passive (the target is not contacted)

Returns metadata for the file with this MD5 if it is in at least one database.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | MD5 hash in hexadecimal Example: 0123456789abcdef0123456789abcdef |

Response fields:

- `FileName` (string): Name of the file
- `FileSize` (string): Size of the file
- `MD5` (string): MD5 hash
- `SHA-1` (string): SHA-1 hash
- `CRC32` (string): CRC32 value
- `db` (string): Database the record comes from
- `source` (string): Source of the record
- `ProductCode` (object): Product the file belongs to
- `OpSystemCode` (object): Operating system the file belongs to

```bash
curl 'https://hashlookup.circl.lu/lookup/md5/0123456789abcdef0123456789abcdef'
```

Example response (200):

```json
{
  "FileName": "example.dll",
  "FileSize": "12345",
  "MD5": "0123456789abcdef0123456789abcdef",
  "SHA-1": "0123456789abcdef0123456789abcdef01234567",
  "db": "example",
  "source": "example"
}
```

### Look up a single SHA-1 hash.

`GET /lookup/sha1/{hash}`

- Takes: File
- Footprint: passive (the target is not contacted)

Returns metadata for the file with this SHA-1 if it is in at least one database.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | SHA-1 hash in hexadecimal Example: 0123456789abcdef0123456789abcdef01234567 |

Response fields:

- `FileName` (string): Name of the file
- `FileSize` (string): Size of the file
- `MD5` (string): MD5 hash
- `SHA-1` (string): SHA-1 hash
- `db` (string): Database the record comes from
- `source` (string): Source of the record

```bash
curl 'https://hashlookup.circl.lu/lookup/sha1/0123456789abcdef0123456789abcdef01234567'
```

Example response (200):

```json
{
  "FileName": "example.dll",
  "FileSize": "12345",
  "MD5": "0123456789abcdef0123456789abcdef",
  "SHA-1": "0123456789abcdef0123456789abcdef01234567",
  "db": "example",
  "source": "example"
}
```

### Look up a single SHA-256 hash.

`GET /lookup/sha256/{hash}`

- Takes: File
- Footprint: passive (the target is not contacted)

Returns metadata for the file with this SHA-256. The response also carries SHA-512, SSDEEP and TLSH values and parent information when the record has them.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hash` | path | string | yes | SHA-256 hash in hexadecimal Example: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef |

Response fields:

- `FileName` (string): Name of the file
- `SHA-256` (string): SHA-256 hash
- `SHA-512` (string): SHA-512 hash
- `SSDEEP` (string): Fuzzy hash
- `TLSH` (string): TLSH fuzzy hash
- `parents` (array): Parent files
- `hashlookup:parent-total` (integer): Total number of parents

```bash
curl 'https://hashlookup.circl.lu/lookup/sha256/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef'
```

Example response (200):

```json
{
  "FileName": "example.dll",
  "SHA-256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "hashlookup:parent-total": 0
}
```

## Bulk

### Look up several SHA-1 hashes in one request.

`POST /bulk/sha1`

- Takes: File
- Footprint: passive (the target is not contacted)

Send a JSON body with a hashes array. The docs do not state a maximum batch size.

Response fields:

- `[].FileName` (string): Name of the file
- `[].SHA-1` (string): SHA-1 hash

```bash
curl -X POST 'https://hashlookup.circl.lu/bulk/sha1' \
  -H 'Content-Type: application/json' \
  -d '{"hashes":["0123456789abcdef0123456789abcdef01234567"]}'
```

Example response (200):

```json
[
  {
    "FileName": "example.dll",
    "SHA-1": "0123456789abcdef0123456789abcdef01234567"
  }
]
```

## Service

### Database statistics and version.

`GET /info`

- Footprint: passive (the target is not contacted)

Returns the database versions and key counts.

Response fields:

- `hashlookup-version` (string): Version of hashlookup
- `nsrl-version` (string): Version of the NSRL data
- `stat:hashlookup_total_keys` (integer): Total keys in the database

```bash
curl 'https://hashlookup.circl.lu/info'
```

Example response (200):

```json
{
  "hashlookup-version": "1.0",
  "nsrl-version": "2024.01.1",
  "stat:hashlookup_total_keys": 1000
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
