argorant 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -3
- package/bin/argorant.js +1093 -72
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,8 +34,11 @@ CI, and agents.
|
|
|
34
34
|
| `company <company.com> -n 5` | Count people at a company, split business-email coverage, preview masked roles | free |
|
|
35
35
|
| `search "<query>" -n 10` | Preview matches (masked identity, details redacted) | free |
|
|
36
36
|
| `sample <company.com> [-o sample.csv]` | Read a website and build 25 distinct, live-valid company leads from it | free sample |
|
|
37
|
-
| `reveal "<query>" -n 25` | Reveal full contact details (name, email,
|
|
38
|
-
| `
|
|
37
|
+
| `reveal "<query>" -n 25` | Reveal full contact details (name, work email, LinkedIn) | 1 credit per new working email |
|
|
38
|
+
| `reveal "<query>" -n 25 --phones` | Same, plus each person's phone number (direct dial or mobile) | + 10 credits per number found |
|
|
39
|
+
| `enrich --email <a@b.com> [--phones]` | The person behind an address, optionally with their phone number | 1 credit per match, + 10 if a number is found |
|
|
40
|
+
| `export "<query>" -n 1000 -o leads.csv` | Verified CSV export, polled until ready | 1 credit per working email |
|
|
41
|
+
| `export "<query>" -n 1000 --phones -o leads.csv` | Same, with phone numbers in the file | + 10 credits per number in the file |
|
|
39
42
|
| `export status <job_id> [--batch]` | Status of an export you already created | free |
|
|
40
43
|
| `export download <job_id> [--batch] -o leads.csv` | Re-download a finished export | free |
|
|
41
44
|
| `list create --name "<n>" [filters]` | Save a reusable filtered list (server counts it) | free |
|
|
@@ -43,7 +46,28 @@ CI, and agents.
|
|
|
43
46
|
| `verify <email>` / `verify --file emails.csv -o out.csv` | Verify your own addresses (verification pool; recent re-checks free) | pool |
|
|
44
47
|
| `find "<first last>" --domain <d>` / `find --file people.csv -o found.csv` | Find a person's work email from a name and company domain, one or a whole list ([details](#find-emails)) | 1 credit found, 0.25 nothing found |
|
|
45
48
|
| `find status \| download \| resume \| cancel <job_id>`, `find pricing` | Manage a find job; show prices, balance and limits | free |
|
|
46
|
-
| `campaigns …` |
|
|
49
|
+
| `campaigns …` | Email campaigns, see below | - |
|
|
50
|
+
| `account` | Plan, credits, requests per minute, campaign emails, scopes | free |
|
|
51
|
+
| `lists ls \| create \| show \| people \| rename \| rm \| export` | Saved lists, a page at a time ([details](#lists-exports-credits-and-webhooks)) | free, export 1 credit per valid contact |
|
|
52
|
+
| `exports ls \| status \| download` | Your exports, newest first | free |
|
|
53
|
+
| `companies count \| search \| people` | Companies that match your filters | free |
|
|
54
|
+
| `lookup industries \| countries \| keywords \| technologies \| titles [text]` | The exact labels to use in filters | free |
|
|
55
|
+
| `credits packs \| quote \| buy \| purchases` | Buy a credit pack; asks first, then the saved card or a payment link | the pack price |
|
|
56
|
+
| `webhooks ls \| add \| set \| test \| deliveries \| rm` | Get events sent to your own server | free, Pro plan and up |
|
|
57
|
+
|
|
58
|
+
## Phone numbers
|
|
59
|
+
|
|
60
|
+
Phone numbers are never included unless you ask for them with `--phones` (reveal, enrich, export).
|
|
61
|
+
A phone number costs 10 credits, and only when a number is actually returned. People without a number
|
|
62
|
+
cost nothing, and numbers you already unlocked (in the app, the API or the connector) are free. Phone
|
|
63
|
+
numbers come with the Pro plan and higher. The CLI shows the price before it spends anything, and the
|
|
64
|
+
result says per person whether a number came back and what it cost. Company and HQ numbers stay free.
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
npx argorant reveal --title CFO --domain stripe.com -n 5 --phones
|
|
68
|
+
npx argorant enrich --email patrick@stripe.com --phones --json
|
|
69
|
+
npx argorant export --title CFO --country Germany -n 200 --phones -o cfos.csv
|
|
70
|
+
```
|
|
47
71
|
|
|
48
72
|
Exports above 50,000 rows are created as a multi-chunk batch: the CLI polls
|
|
49
73
|
`export status --batch` for you and writes one file per chunk
|
|
@@ -188,6 +212,66 @@ needs a paid plan" apart from "something broke".
|
|
|
188
212
|
command always wins over the stored one, `ARGORANT_API_BASE` overrides both,
|
|
189
213
|
and `argorant logout` removes the file.
|
|
190
214
|
|
|
215
|
+
## Lists, exports, credits and webhooks
|
|
216
|
+
|
|
217
|
+
These commands call the API under `/api/v1` and work with any API key that has the right
|
|
218
|
+
permissions. Lists come back a page at a time: `-n` sets the page size, `--cursor` continues
|
|
219
|
+
where the last page ended (the command prints the next cursor), and `--all` reads every page.
|
|
220
|
+
|
|
221
|
+
```sh
|
|
222
|
+
npx argorant account # plan, credits, requests per minute
|
|
223
|
+
npx argorant lookup industries soft # exact labels for --industry
|
|
224
|
+
npx argorant lookup titles "head of"
|
|
225
|
+
npx argorant companies count --country Germany --employees 11-50,51-200
|
|
226
|
+
npx argorant companies search saas --country Germany -n 10
|
|
227
|
+
|
|
228
|
+
npx argorant lists # your saved lists, newest first
|
|
229
|
+
npx argorant lists create --name "DACH CFOs" --title CFO --country Germany,Austria,Switzerland
|
|
230
|
+
npx argorant lists show 1240
|
|
231
|
+
npx argorant lists people 1240 --all --json # the people in it, contact details hidden
|
|
232
|
+
npx argorant lists rename 1240 --name "DACH finance leaders"
|
|
233
|
+
npx argorant lists export 1240 -n 500 -o cfos.csv # 1 credit per valid contact
|
|
234
|
+
npx argorant lists export 1240 --include-phones # plus 10 credits per phone number returned
|
|
235
|
+
npx argorant lists rm 1240 --yes
|
|
236
|
+
|
|
237
|
+
npx argorant exports # your exports, newest first
|
|
238
|
+
npx argorant exports status 5521
|
|
239
|
+
npx argorant exports download 5521 -o leads.csv
|
|
240
|
+
|
|
241
|
+
npx argorant credits packs # 500, 5,000, 25,000 and 100,000 credits
|
|
242
|
+
npx argorant credits quote 5000 # the price, nothing is bought
|
|
243
|
+
npx argorant credits buy 5000 # asks first, then pays (see below)
|
|
244
|
+
npx argorant credits purchases
|
|
245
|
+
|
|
246
|
+
npx argorant webhooks add https://example.com/hooks/argorant --events reply.received,reply.positive
|
|
247
|
+
npx argorant webhooks # your webhooks and every event you can pick
|
|
248
|
+
npx argorant webhooks test 3
|
|
249
|
+
npx argorant webhooks deliveries 3
|
|
250
|
+
npx argorant webhooks set 3 --inactive
|
|
251
|
+
npx argorant webhooks rm 3 --yes
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
`credits buy` shows the quote first and only buys after a yes: at a terminal it asks, anywhere
|
|
255
|
+
else it needs `--yes`. When your workspace saved its card for API and agent purchases and the
|
|
256
|
+
purchase fits the limits you set in Settings, that card is charged right away. Otherwise you get a
|
|
257
|
+
payment link to pay yourself, and the credits are added once the payment goes through.
|
|
258
|
+
`--pay-with link` always gives the link. Bought credits stay valid for 365 days.
|
|
259
|
+
|
|
260
|
+
`lists rm` and `webhooks rm` work the same way: they ask at a terminal and need `--yes` anywhere
|
|
261
|
+
else. A webhook's signing secret is shown once, when you add it.
|
|
262
|
+
|
|
263
|
+
### Safe retries and support
|
|
264
|
+
|
|
265
|
+
Every change the CLI makes through `/api/v1` carries an `Idempotency-Key`. If a command fails
|
|
266
|
+
halfway (a dropped connection, a closed laptop), run it again with your own key to get the
|
|
267
|
+
first answer back instead of doing the work twice:
|
|
268
|
+
|
|
269
|
+
```sh
|
|
270
|
+
npx argorant credits buy 5000 --yes --idempotency-key buy-5000-oct
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
Errors show the server's message and a request id. Quote the request id if you contact support.
|
|
274
|
+
|
|
191
275
|
## Campaigns and inboxes
|
|
192
276
|
|
|
193
277
|
Email outreach from the terminal, with any Argorant API key. Nothing sends until you launch.
|