|
| 1 | +# Sherlock Actor on Apify |
| 2 | + |
| 3 | +[](https://apify.com/netmilk/sherlock?fpr=sherlock) |
| 4 | + |
| 5 | +This Actor wraps the [Sherlock Project](https://sherlockproject.xyz/) to provide serverless username reconnaissance across social networks in the cloud. It helps you find usernames across multiple social media platforms without installing and running the tool locally. |
| 6 | + |
| 7 | +## What are Actors? |
| 8 | +[Actors](https://docs.apify.com/platform/actors?fpr=sherlock) are serverless microservices running on the [Apify Platform](https://apify.com/?fpr=sherlock). They are based on the [Actor SDK](https://docs.apify.com/sdk/js?fpr=sherlock) and can be found in the [Apify Store](https://apify.com/store?fpr=sherlock). Learn more about Actors in the [Apify Whitepaper](https://whitepaper.actor?fpr=sherlock). |
| 9 | + |
| 10 | +## Usage |
| 11 | + |
| 12 | +### Apify Console |
| 13 | + |
| 14 | +1. Go to the Apify Actor page |
| 15 | +2. Click "Run" |
| 16 | +3. In the input form, fill in **Username(s)** to search for |
| 17 | +4. The Actor will run and produce its outputs in the default datastore |
| 18 | + |
| 19 | + |
| 20 | +### Apify CLI |
| 21 | + |
| 22 | +```bash |
| 23 | +apify call YOUR_USERNAME/sherlock --input='{ |
| 24 | + "usernames": ["johndoe", "janedoe"] |
| 25 | +}' |
| 26 | +``` |
| 27 | + |
| 28 | +### Using Apify API |
| 29 | + |
| 30 | +```bash |
| 31 | +curl --request POST \ |
| 32 | + --url "https://api.apify.com/v2/acts/YOUR_USERNAME~sherlock/run" \ |
| 33 | + --header 'Content-Type: application/json' \ |
| 34 | + --header 'Authorization: Bearer YOUR_API_TOKEN' \ |
| 35 | + --data '{ |
| 36 | + "usernames": ["johndoe", "janedoe"], |
| 37 | + } |
| 38 | +}' |
| 39 | +``` |
| 40 | + |
| 41 | +## Input Parameters |
| 42 | + |
| 43 | +The Actor accepts a JSON schema with the following structure: |
| 44 | + |
| 45 | +| Field | Type | Required | Default | Description | |
| 46 | +|-------|------|----------|---------|-------------| |
| 47 | +| `usernames` | array | Yes | - | List of usernames to search for | |
| 48 | +| `usernames[]` | string | Yes | "json" | Username to search for | |
| 49 | + |
| 50 | + |
| 51 | +### Example Input |
| 52 | + |
| 53 | +```json |
| 54 | +{ |
| 55 | + "usernames": ["techuser", "designuser"], |
| 56 | +} |
| 57 | +``` |
| 58 | + |
| 59 | +## Output |
| 60 | + |
| 61 | +The Actor provides three types of outputs: |
| 62 | + |
| 63 | +### Dataset Record* |
| 64 | + |
| 65 | +| Field | Type | Required | Description | |
| 66 | +|-------|------|----------|-------------| |
| 67 | +| `username` | string | Yes | Username the search was conducted for | |
| 68 | +| `links` | arrray | Yes | Array with found links to the social media | |
| 69 | +| `links[]`| string | No | URL to the account |
| 70 | + |
| 71 | +### Example Dataset Item (JSON) |
| 72 | + |
| 73 | +```json |
| 74 | +{ |
| 75 | + "username": "johndoe", |
| 76 | + "links": [ |
| 77 | + "https://github.com/johndoe" |
| 78 | + ] |
| 79 | +} |
| 80 | +``` |
| 81 | + |
| 82 | +## Performance & Resources |
| 83 | + |
| 84 | +- **Memory Requirements**: |
| 85 | + - Minimum: 512 MB RAM |
| 86 | + - Recommended: 1 GB RAM for multiple usernames |
| 87 | +- **Processing Time**: |
| 88 | + - Single username: ~1-2 minutes |
| 89 | + - Multiple usernames: 2-5 minutes |
| 90 | + - Varies based on number of sites checked and response times |
| 91 | + |
| 92 | + |
| 93 | +For more help, check the [Sherlock Project documentation](https://github.com/sherlock-project/sherlock) or raise an issue in the Actor's repository. |
0 commit comments