> ## Documentation Index
> Fetch the complete documentation index at: https://docs.osintcat.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Machine Viewer

> Search machines from stealer logs, list their files and read or download them

Machine Viewer holds machines from stealer logs: the files that were taken from each one, and the passwords, tokens, cookies and payment cards found in them. Search for a machine, list its files, and read or download them.

> [!NOTE]
>
> Every Machine Viewer request counts as one lookup against your plan's daily allowance (Max: unlimited). When the allowance is used up, requests can continue at a per-lookup price charged to your balance. The price applies even when a search finds nothing; a search that fails because of an error on our side is not charged. Machine IDs are UUIDs; file IDs are 20 characters.

***

## Machine Viewer statistics

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/stats
```

How many machines, files, passwords, tokens, cookies and payment cards the Machine Viewer holds.

**X-API-KEY** `string` *required*

Your API key.

**Response**

```json theme={null}
{
  "total_machines": 100000,
  "total_files": 3000000,
  "total_passwords": 19000000,
  "total_unique_passwords": 13000000,
  "total_tokens": 150000,
  "total_cookies": 320000000,
  "total_credit_cards": 70000000,
  "total_size": 150000000000
}
```

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/stats" \
     -H "X-API-KEY: YOUR_API_KEY"
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const result = await client.machineViewer.stats();
console.log(result);
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

result = client.machine_viewer.stats()
print(result)
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"

	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	result, err := client.MachineViewer.Stats(context.Background())
	if err != nil {
		panic(err)
	}
	fmt.Printf("%+v\n", result)
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->stats();
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
```

***

## Search machines

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/search
```

Searches machines by name, username, hostname or machine ID.

**query** `string` *required*

What to search for: a name, username, hostname or machine ID.

**X-API-KEY** `string` *required*

Your API key.

**Response**

```json theme={null}
{
  "success": true,
  "query": "DESKTOP",
  "total": 1,
  "machines": [
    {
      "id": "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
      "name": "DESKTOP-EXAMPLE",
      "imported_at": "2026-08-17T01:30:15",
      "country": "DE",
      "ip": "203.0.113.7",
      "file_count": 24,
      "total_size": 1003638,
      "has_passwords": true,
      "password_count": 108,
      "unique_password_count": 50,
      "has_tokens": true,
      "token_count": 6,
      "has_cookies": true,
      "cookie_count": 7139,
      "has_credit_cards": false,
      "credit_card_count": 0
    }
  ]
}
```

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/search?query=DESKTOP" \
     -H "X-API-KEY: YOUR_API_KEY"
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const result = await client.machineViewer.search({
    query: "DESKTOP"
});
console.log(result);
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

result = client.machine_viewer.search(
    query="DESKTOP",
)
print(result)
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.SearchMachineViewerRequest{
		Query: "DESKTOP",
	}
	result, err := client.MachineViewer.Search(context.Background(), request)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%+v\n", result)
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;
use OsintCat\MachineViewer\Requests\SearchMachineViewerRequest;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->search(
    new SearchMachineViewerRequest([
        'query' => 'DESKTOP',
    ]),
);
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
```

***

## Machine details

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/machines/{machine_id}/info
```

One machine, with the e-mail addresses and tokens found on it.

**machine\_id** `string` *required*

Machine ID (a UUID), from `machineViewer.search`.

**X-API-KEY** `string` *required*

Your API key.

**Response**

```json theme={null}
{
  "success": true,
  "machine": {
    "id": "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
    "name": "DESKTOP-EXAMPLE",
    "imported_at": "2026-08-17T01:30:15",
    "country": "DE",
    "ip": "203.0.113.7",
    "file_count": 24,
    "total_size": 1003638,
    "has_passwords": true,
    "password_count": 108,
    "unique_password_count": 50,
    "has_tokens": true,
    "token_count": 6,
    "has_cookies": true,
    "cookie_count": 7139,
    "has_credit_cards": false,
    "credit_card_count": 0
  },
  "emails": [
    "user@example.com"
  ],
  "tokens": [
    "example-token"
  ]
}
```

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/machines/742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5/info" \
     -H "X-API-KEY: YOUR_API_KEY"
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const result = await client.machineViewer.machine({
    machine_id: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5"
});
console.log(result);
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

result = client.machine_viewer.machine(
    machine_id="742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
)
print(result)
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.MachineMachineViewerRequest{
		MachineID: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
	}
	result, err := client.MachineViewer.Machine(context.Background(), request)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%+v\n", result)
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->machine(
    '742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5',
);
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
```

***

## Machine files

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/machines/{machine_id}/files/treeview
```

Every file of a machine, with its path and size. Use a file's `id` with `machineViewer.file`.

**machine\_id** `string` *required*

Machine ID (a UUID), from `machineViewer.search`.

**X-API-KEY** `string` *required*

Your API key.

**Response**

```json theme={null}
{
  "success": true,
  "tree": [
    {
      "id": "aB3dE5fG7hI9jK1lM3nO",
      "name": "Passwords.txt",
      "path": "Browsers/Chrome/Passwords.txt",
      "size": 4096,
      "type": "file",
      "is_password_file": true,
      "is_token_file": false
    }
  ]
}
```

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/machines/742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5/files/treeview" \
     -H "X-API-KEY: YOUR_API_KEY"
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const result = await client.machineViewer.files({
    machine_id: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5"
});
console.log(result);
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

result = client.machine_viewer.files(
    machine_id="742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
)
print(result)
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.FilesMachineViewerRequest{
		MachineID: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
	}
	result, err := client.MachineViewer.Files(context.Background(), request)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%+v\n", result)
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->files(
    '742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5',
);
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
```

***

## File content

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/files/{file_id}/info
```

One file, with its content as text.

**file\_id** `string` *required*

File ID, from `machineViewer.files`.

**X-API-KEY** `string` *required*

Your API key.

**Response**

```json theme={null}
{
  "success": true,
  "info": {
    "id": "aB3dE5fG7hI9jK1lM3nO",
    "machine_id": "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
    "machine_name": "DESKTOP-EXAMPLE",
    "path": "Browsers/Chrome/Passwords.txt",
    "filename": "Passwords.txt",
    "size": 4096,
    "content": "URL: https://example.com/login\nUsername: user@example.com\nPassword: hunter2",
    "is_password_file": true,
    "is_token_file": false
  }
}
```

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/files/aB3dE5fG7hI9jK1lM3nO/info" \
     -H "X-API-KEY: YOUR_API_KEY"
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const result = await client.machineViewer.file({
    file_id: "aB3dE5fG7hI9jK1lM3nO"
});
console.log(result);
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

result = client.machine_viewer.file(
    file_id="aB3dE5fG7hI9jK1lM3nO",
)
print(result)
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.FileMachineViewerRequest{
		FileID: "aB3dE5fG7hI9jK1lM3nO",
	}
	result, err := client.MachineViewer.File(context.Background(), request)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%+v\n", result)
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->file(
    'aB3dE5fG7hI9jK1lM3nO',
);
echo json_encode($result, JSON_PRETTY_PRINT), PHP_EOL;
```

***

## Download a file

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/files/{file_id}/download
```

The file itself, as it was in the log.

**file\_id** `string` *required*

File ID, from `machineViewer.files`.

**X-API-KEY** `string` *required*

Your API key.

**Response:** the file itself (`application/octet-stream`).

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/files/aB3dE5fG7hI9jK1lM3nO/download" \
     -H "X-API-KEY: YOUR_API_KEY" -o file
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const response = await client.machineViewer.downloadFile({
    file_id: "aB3dE5fG7hI9jK1lM3nO"
});
const file = await response.arrayBuffer();
console.log(file.byteLength, "bytes");
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

data = b"".join(client.machine_viewer.download_file(
    file_id="aB3dE5fG7hI9jK1lM3nO",
))
print(len(data), "bytes")
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"
	"io"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.DownloadFileMachineViewerRequest{
		FileID: "aB3dE5fG7hI9jK1lM3nO",
	}
	result, err := client.MachineViewer.DownloadFile(context.Background(), request)
	if err != nil {
		panic(err)
	}
	data, err := io.ReadAll(result)
	if err != nil {
		panic(err)
	}
	fmt.Println(len(data), "bytes")
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->downloadFile(
    'aB3dE5fG7hI9jK1lM3nO',
);
echo strlen($result), " bytes", PHP_EOL;
```

***

## Download a machine

```bash theme={null}
GET https://www.osintcat.net/api/machine_viewer/machines/{machine_id}/download
```

Every file of a machine in one ZIP archive.

**machine\_id** `string` *required*

Machine ID (a UUID), from `machineViewer.search`.

**X-API-KEY** `string` *required*

Your API key.

**Response:** the file itself (`application/zip`).

```bash cURL theme={null}
curl "https://www.osintcat.net/api/machine_viewer/machines/742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5/download" \
     -H "X-API-KEY: YOUR_API_KEY" -o machine.zip
```

**SDK example**

The same request with the [official SDKs](https://docs.osintcat.net/sdks.md). Each one reads your key from `OSINTCAT_API_KEY`.

```typescript JS & TS theme={null}
import { OsintCatClient } from "osintcat";

const client = new OsintCatClient(); // reads OSINTCAT_API_KEY

const response = await client.machineViewer.downloadMachine({
    machine_id: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5"
});
const file = await response.arrayBuffer();
console.log(file.byteLength, "bytes");
```

```python Python theme={null}
from osintcat import OsintCat

client = OsintCat()  # reads OSINTCAT_API_KEY

data = b"".join(client.machine_viewer.download_machine(
    machine_id="742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
))
print(len(data), "bytes")
```

```go Go theme={null}
package main

import (
	"context"
	"fmt"
	"io"

	osintcat "github.com/OsintCatHQ/osintcat-go"
	osintcatclient "github.com/OsintCatHQ/osintcat-go/client"
)

func main() {
	client := osintcatclient.NewClient() // reads OSINTCAT_API_KEY
	request := &osintcat.DownloadMachineMachineViewerRequest{
		MachineID: "742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5",
	}
	result, err := client.MachineViewer.DownloadMachine(context.Background(), request)
	if err != nil {
		panic(err)
	}
	data, err := io.ReadAll(result)
	if err != nil {
		panic(err)
	}
	fmt.Println(len(data), "bytes")
}
```

```php PHP theme={null}
<?php
require __DIR__ . '/vendor/autoload.php';

use OsintCat\OsintCatClient;

$client = new OsintCatClient(); // reads OSINTCAT_API_KEY

$result = $client->machineViewer->downloadMachine(
    '742e1f66-f449-4a6c-80d5-8f5eb8e9c2b5',
);
echo strlen($result), " bytes", PHP_EOL;
```

***

See [Errors](https://docs.osintcat.net/api-reference/introduction.md#errors) for the responses every endpoint can return. An ID that is not valid is answered with `400`, an unknown one with `404 NOT_FOUND`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.