@nordsym/apiclaw 2.1.0 → 2.2.1

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.
Files changed (185) hide show
  1. package/README.md +15 -2
  2. package/dist/bin-http.js +0 -0
  3. package/dist/bin.bundled.js +79288 -0
  4. package/dist/funnel-client.d.ts +24 -0
  5. package/dist/funnel-client.d.ts.map +1 -0
  6. package/dist/funnel-client.js +131 -0
  7. package/dist/funnel-client.js.map +1 -0
  8. package/dist/funnel.test.d.ts +2 -0
  9. package/dist/funnel.test.d.ts.map +1 -0
  10. package/dist/funnel.test.js +145 -0
  11. package/dist/funnel.test.js.map +1 -0
  12. package/dist/gateway-client.d.ts.map +1 -1
  13. package/dist/gateway-client.js +24 -2
  14. package/dist/gateway-client.js.map +1 -1
  15. package/dist/index.bundled.js +61263 -0
  16. package/dist/index.js +161 -74
  17. package/dist/index.js.map +1 -1
  18. package/dist/postinstall.d.ts +0 -5
  19. package/dist/postinstall.d.ts.map +1 -1
  20. package/dist/postinstall.js +24 -3
  21. package/dist/postinstall.js.map +1 -1
  22. package/dist/registration-guard.d.ts +29 -0
  23. package/dist/registration-guard.d.ts.map +1 -0
  24. package/dist/registration-guard.js +87 -0
  25. package/dist/registration-guard.js.map +1 -0
  26. package/package.json +7 -2
  27. package/.claude/settings.local.json +0 -9
  28. package/.env.prod +0 -1
  29. package/apiclaw-README.md +0 -494
  30. package/convex/_generated/api.d.ts +0 -137
  31. package/convex/_generated/api.js +0 -23
  32. package/convex/_generated/dataModel.d.ts +0 -60
  33. package/convex/_generated/server.d.ts +0 -143
  34. package/convex/_generated/server.js +0 -93
  35. package/convex/adminActivate.ts +0 -53
  36. package/convex/adminStats.ts +0 -306
  37. package/convex/agents.ts +0 -939
  38. package/convex/analytics.ts +0 -187
  39. package/convex/apiKeys.ts +0 -220
  40. package/convex/backfillAnalytics.ts +0 -272
  41. package/convex/backfillSearchLogs.ts +0 -35
  42. package/convex/billing.ts +0 -834
  43. package/convex/capabilities.ts +0 -157
  44. package/convex/chains.ts +0 -1318
  45. package/convex/credits.ts +0 -211
  46. package/convex/crons.ts +0 -50
  47. package/convex/debugFilestackLogs.ts +0 -16
  48. package/convex/debugGetToken.ts +0 -18
  49. package/convex/directCall.ts +0 -713
  50. package/convex/earnProgress.ts +0 -753
  51. package/convex/email.ts +0 -329
  52. package/convex/feedback.ts +0 -265
  53. package/convex/http.ts +0 -3430
  54. package/convex/inbound.ts +0 -32
  55. package/convex/logs.ts +0 -701
  56. package/convex/migrateFilestack.ts +0 -81
  57. package/convex/migratePartnersProd.ts +0 -174
  58. package/convex/migratePratham.ts +0 -126
  59. package/convex/migrateProviderWorkspaces.ts +0 -175
  60. package/convex/mou.ts +0 -91
  61. package/convex/providerKeys.ts +0 -289
  62. package/convex/providers.ts +0 -1135
  63. package/convex/purchases.ts +0 -183
  64. package/convex/ratelimit.ts +0 -104
  65. package/convex/schema.ts +0 -869
  66. package/convex/searchLogs.ts +0 -265
  67. package/convex/seedAPILayerAPIs.ts +0 -191
  68. package/convex/seedDirectCallConfigs.ts +0 -336
  69. package/convex/seedPratham.ts +0 -149
  70. package/convex/spendAlerts.ts +0 -442
  71. package/convex/stripeActions.ts +0 -607
  72. package/convex/teams.ts +0 -243
  73. package/convex/telemetry.ts +0 -81
  74. package/convex/tsconfig.json +0 -25
  75. package/convex/updateAPIStatus.ts +0 -44
  76. package/convex/usage.ts +0 -260
  77. package/convex/usageReports.ts +0 -357
  78. package/convex/waitlist.ts +0 -55
  79. package/convex/webhooks.ts +0 -494
  80. package/convex/workspaceSettings.ts +0 -143
  81. package/convex/workspaces.ts +0 -1331
  82. package/convex.json +0 -3
  83. package/direct-test.mjs +0 -51
  84. package/email-templates/filestack-provider-outreach.html +0 -162
  85. package/email-templates/partnership-template.html +0 -116
  86. package/email-templates/pratham-draft-preview.txt +0 -57
  87. package/email-templates/pratham-partnership-draft.html +0 -141
  88. package/reports/APIClaw-Session-Report-2026-04-05.pdf +0 -0
  89. package/reports/pipeline/PIPELINE-REPORT.json +0 -153
  90. package/reports/pipeline/acquire_apisguru.json +0 -17
  91. package/reports/pipeline/capabilities.json +0 -38
  92. package/reports/pipeline/discover_azure_recursive.json +0 -1551
  93. package/reports/pipeline/discover_github.json +0 -25
  94. package/reports/pipeline/discover_github_repos.json +0 -49
  95. package/reports/pipeline/discover_swaggerhub.json +0 -24
  96. package/reports/pipeline/discover_well_known.json +0 -23
  97. package/reports/pipeline/fetch_specs.json +0 -19
  98. package/reports/pipeline/generate_providers.json +0 -14
  99. package/reports/pipeline/match_registry.json +0 -11
  100. package/reports/pipeline/parse_specs.json +0 -17
  101. package/reports/pipeline/promote_candidates.json +0 -34
  102. package/reports/pipeline/validate.json +0 -30
  103. package/reports/pipeline/validate_smoke_details.json +0 -3835
  104. package/reports/session-report-2026-04-05.html +0 -433
  105. package/seed-apis-direct.mjs +0 -106
  106. package/src/access-control.ts +0 -174
  107. package/src/adapters/base.ts +0 -364
  108. package/src/adapters/claude-desktop.ts +0 -41
  109. package/src/adapters/cline.ts +0 -88
  110. package/src/adapters/continue.ts +0 -91
  111. package/src/adapters/cursor.ts +0 -43
  112. package/src/adapters/custom.ts +0 -188
  113. package/src/adapters/detect.ts +0 -202
  114. package/src/adapters/index.ts +0 -47
  115. package/src/adapters/windsurf.ts +0 -44
  116. package/src/bin-http.ts +0 -45
  117. package/src/bin.ts +0 -34
  118. package/src/capability-router.ts +0 -331
  119. package/src/chainExecutor.ts +0 -730
  120. package/src/chainResolver.test.ts +0 -246
  121. package/src/chainResolver.ts +0 -658
  122. package/src/cli/commands/demo.ts +0 -109
  123. package/src/cli/commands/doctor.ts +0 -435
  124. package/src/cli/commands/index.ts +0 -9
  125. package/src/cli/commands/login.ts +0 -203
  126. package/src/cli/commands/mcp-install.ts +0 -373
  127. package/src/cli/commands/restore.ts +0 -333
  128. package/src/cli/commands/setup.ts +0 -297
  129. package/src/cli/commands/uninstall.ts +0 -240
  130. package/src/cli/index.ts +0 -148
  131. package/src/cli.ts +0 -370
  132. package/src/confirmation.ts +0 -296
  133. package/src/credentials.ts +0 -455
  134. package/src/credits.ts +0 -329
  135. package/src/crypto.ts +0 -75
  136. package/src/discovery.ts +0 -568
  137. package/src/enterprise/env.ts +0 -156
  138. package/src/enterprise/index.ts +0 -7
  139. package/src/enterprise/script-generator.ts +0 -481
  140. package/src/execute-dynamic.ts +0 -617
  141. package/src/execute.ts +0 -2386
  142. package/src/gateway-client.ts +0 -192
  143. package/src/hivr-whitelist.ts +0 -110
  144. package/src/http-api.ts +0 -286
  145. package/src/http-server-minimal.ts +0 -154
  146. package/src/index.ts +0 -2611
  147. package/src/intelligent-gateway.ts +0 -339
  148. package/src/mcp-analytics.ts +0 -156
  149. package/src/metered.ts +0 -149
  150. package/src/open-apis-generated.ts +0 -157
  151. package/src/open-apis.ts +0 -558
  152. package/src/postinstall.ts +0 -18
  153. package/src/product-whitelist.ts +0 -246
  154. package/src/proxy.ts +0 -36
  155. package/src/session.ts +0 -129
  156. package/src/stripe.ts +0 -497
  157. package/src/telemetry.ts +0 -71
  158. package/src/test.ts +0 -135
  159. package/src/types/convex-api.d.ts +0 -20
  160. package/src/types/convex-api.ts +0 -21
  161. package/src/types.ts +0 -109
  162. package/src/ui/colors.ts +0 -219
  163. package/src/ui/errors.ts +0 -394
  164. package/src/ui/index.ts +0 -17
  165. package/src/ui/prompts.ts +0 -390
  166. package/src/ui/spinner.ts +0 -325
  167. package/src/utils/backup.ts +0 -224
  168. package/src/utils/config.ts +0 -318
  169. package/src/utils/os.ts +0 -124
  170. package/src/utils/paths.ts +0 -203
  171. package/src/webhook.ts +0 -107
  172. package/test-10-working.cjs +0 -97
  173. package/test-14-final.cjs +0 -96
  174. package/test-actual-handlers.ts +0 -92
  175. package/test-apilayer-all-14.ts +0 -249
  176. package/test-apilayer-fixed.ts +0 -248
  177. package/test-direct-endpoints.ts +0 -174
  178. package/test-exact-endpoints.ts +0 -144
  179. package/test-final.ts +0 -83
  180. package/test-full-routing.ts +0 -100
  181. package/test-handlers-correct.ts +0 -217
  182. package/test-numverify-key.ts +0 -41
  183. package/test-via-handlers.ts +0 -92
  184. package/test-worldnews.mjs +0 -26
  185. package/tsconfig.json +0 -20
package/apiclaw-README.md DELETED
@@ -1,494 +0,0 @@
1
- ---
2
- nord_type: NOTE
3
- nord_owner: APIClaw
4
- nord_status: LIVE
5
- ---
6
-
7
- # 🦞 APIClaw
8
-
9
- The API layer for AI agents. 18 providers → 1000s of capabilities. Workspace → Dashboard → Ship.
10
-
11
- [![npm version](https://img.shields.io/npm/v/@nordsym/apiclaw.svg)](https://www.npmjs.com/package/@nordsym/apiclaw)
12
- [![npm downloads](https://img.shields.io/npm/dw/@nordsym/apiclaw.svg)](https://www.npmjs.com/package/@nordsym/apiclaw)
13
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
14
- [![MCP](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)
15
- [![GitHub Stars](https://img.shields.io/github/stars/nordsym/apiclaw?style=social)](https://github.com/nordsym/apiclaw)
16
- [![Built with MCP](https://img.shields.io/badge/Built%20with-MCP-purple)](https://modelcontextprotocol.io)
17
-
18
- > **If APIClaw saves you time, [⭐ star the repo](https://github.com/nordsym/apiclaw) — it helps more developers find us.**
19
-
20
- ![APIClaw Demo](landing/public/demo.gif)
21
-
22
- ---
23
-
24
- ## The Platform
25
-
26
- **[apiclaw.cloud](https://apiclaw.cloud)** — Your workspace for API-powered agents.
27
-
28
- | Layer | What You Get |
29
- |-------|--------------|
30
- | **Workspace** | Manage API keys, team access, usage analytics |
31
- | **Dashboard** | Real-time logs, cost tracking, rate limit monitoring |
32
- | **18 Direct Call Providers** | 1000+ ML models, 100+ LLMs, voice, SMS, email — zero config |
33
- | **1,636 Open APIs** | Curated public APIs, instant access |
34
- | **22,392 Discovery** | Full API index for exploration |
35
-
36
- One `mcp-install` connects your agent to all of it.
37
-
38
- ---
39
-
40
- ## Quick Start
41
-
42
- **No signup required — just install and use.**
43
-
44
- ```bash
45
- # Install
46
- curl -fsSL https://apiclaw.cloud/install.sh | bash
47
-
48
- # Restart your AI assistant
49
- # Immediately use any API (10 calls/week)
50
-
51
- # Optional: Register for 50 calls/week
52
- register_owner({ email: "you@example.com" })
53
- ```
54
-
55
- That's it. All 18 Direct Call providers work instantly through NordSym's infrastructure. Your API calls are proxied, authenticated, and rate-limited automatically.
56
-
57
- **Usage Limits:**
58
- - **Anonymous:** 10 calls/week (no registration)
59
- - **Registered:** 50 calls/week (5x more)
60
- - **Upgrade:** See [Pricing](#pricing) below
61
-
62
- Start calling APIs immediately. No setup, no API keys, no configuration.
63
-
64
- ---
65
-
66
- ## End-to-End Example
67
-
68
- Here's a complete agent workflow — send an SMS, generate an image, and search the web in one session:
69
-
70
- ```javascript
71
- // 1. Register for 50 calls/week
72
- register_owner({ email: "you@example.com" })
73
-
74
- // 2. Send an SMS via 46elks
75
- call_api({
76
- provider: "46elks",
77
- action: "send_sms",
78
- params: {
79
- to: "+46701234567",
80
- message: "APIClaw is live! 🦞"
81
- }
82
- })
83
-
84
- // 3. Generate an image via Replicate
85
- call_api({
86
- provider: "replicate",
87
- action: "run",
88
- params: {
89
- model: "stability-ai/sdxl",
90
- input: { prompt: "a lobster wearing a top hat, digital art" }
91
- }
92
- })
93
-
94
- // 4. Search the web via Brave
95
- call_api({
96
- provider: "brave",
97
- action: "search",
98
- params: { q: "MCP protocol AI agents 2025", count: 5 }
99
- })
100
- ```
101
-
102
- All three calls go through APIClaw's proxy — zero API keys, zero configuration.
103
-
104
- ---
105
-
106
- ## What You Get
107
-
108
- ### Instant API Access
109
- Tell your agent what to do. APIClaw handles auth, rate limits, and execution.
110
-
111
- ### 18 Direct Call Providers
112
- Premium APIs ready for production. Voice, AI, SMS, Email, Search — all pre-configured.
113
-
114
- ### 1,636 Open APIs
115
- Public APIs indexed and callable. Weather, crypto, sports, government data.
116
-
117
- ### 22,392 Discovery APIs
118
- The full catalog. Search, explore, find the right API for any task.
119
-
120
- ### Workspace Dashboard
121
- See every call, track costs, monitor usage. One place for your entire team.
122
-
123
- ---
124
-
125
- ## 18 Direct Call Providers
126
-
127
- Pre-configured, production-ready APIs. Just call them.
128
-
129
- ### 🤖 AI & LLM
130
-
131
- | Provider | Capability |
132
- |----------|------------|
133
- | **Replicate** | 1,000+ ML models — image gen, video, audio, any model |
134
- | **OpenRouter** | 100+ LLMs — GPT-4, Claude, Llama, Mistral, unified API |
135
- | **Groq** | Ultra-fast inference — Llama, Mixtral at 500+ tokens/sec |
136
- | **Mistral** | Mistral models — Mistral Large, Medium, Small |
137
- | **Cohere** | Enterprise NLP — embeddings, rerank, generate |
138
- | **Together AI** | Open models — fine-tuning, fast inference |
139
- | **Stability AI** | Image generation — Stable Diffusion, SDXL, SD3 |
140
-
141
- ### 🎤 Voice
142
-
143
- | Provider | Capability |
144
- |----------|------------|
145
- | **ElevenLabs** | Text-to-speech — 29 languages, voice cloning, realistic voices |
146
- | **Deepgram** | Speech-to-text — real-time transcription, 36 languages |
147
- | **AssemblyAI** | Audio intelligence — transcription, summarization, sentiment |
148
-
149
- ### 📱 SMS
150
-
151
- | Provider | Capability |
152
- |----------|------------|
153
- | **46elks** | Swedish SMS API — simple, reliable, great pricing |
154
- | **Twilio** | Global SMS — 180+ countries, programmable messaging |
155
-
156
- ### 📧 Email
157
-
158
- | Provider | Capability |
159
- |----------|------------|
160
- | **Resend** | Developer email — simple API, great deliverability |
161
-
162
- ### 🔍 Search
163
-
164
- | Provider | Capability |
165
- |----------|------------|
166
- | **Brave Search** | Web search — privacy-focused, no tracking |
167
- | **Firecrawl** | Web scraping — extract content, convert to markdown |
168
- | **Serper** | Google Search API — SERP data, real-time results |
169
-
170
- ### 💻 Code
171
-
172
- | Provider | Capability |
173
- |----------|------------|
174
- | **E2B** | Code sandbox — run any code safely, isolated environments |
175
-
176
- ### 🛠️ Dev
177
-
178
- | Provider | Capability |
179
- |----------|------------|
180
- | **GitHub** | GitHub API — repos, issues, PRs, actions |
181
-
182
- ---
183
-
184
- ## 1,636 Open APIs
185
-
186
- Public APIs, instantly callable. No API keys needed.
187
-
188
- **Categories:**
189
- - Weather & Environment
190
- - Finance & Crypto
191
- - Sports & Entertainment
192
- - Government & Public Data
193
- - Transportation
194
- - Food & Recipes
195
- - Science & Education
196
-
197
- Browse at [apiclaw.cloud/open-apis](https://apiclaw.cloud/open-apis)
198
-
199
- ---
200
-
201
- ## 22,392 Discovery APIs
202
-
203
- The full index. Every API we've cataloged.
204
-
205
- Use `discover_apis` to search:
206
- ```
207
- "Find APIs for flight tracking"
208
- "Show me cryptocurrency price APIs"
209
- "What APIs exist for recipe data?"
210
- ```
211
-
212
- Browse at [apiclaw.cloud/discover](https://apiclaw.cloud/discover)
213
-
214
- ---
215
-
216
- ## Installation
217
-
218
- ### One-Line Install (Recommended)
219
-
220
- ```bash
221
- curl -fsSL https://apiclaw.cloud/install.sh | bash
222
- ```
223
-
224
- Auto-detects Claude Desktop or Claude Code. Configures MCP. Done.
225
-
226
- ### Options
227
-
228
- ```bash
229
- # Target specific client
230
- npx @nordsym/apiclaw mcp-install --client claude-desktop
231
- npx @nordsym/apiclaw mcp-install --client claude-code
232
-
233
- # Preview without applying
234
- npx @nordsym/apiclaw mcp-install --dry-run
235
- ```
236
-
237
- ### Codex (OpenAI) Setup
238
-
239
- Use Codex's native MCP manager:
240
-
241
- ```bash
242
- # Recommended for local APIClaw development (strict stdio-safe)
243
- codex mcp add apiclaw -- node /absolute/path/to/apiclaw/dist/index.js
244
-
245
- # Example
246
- codex mcp add apiclaw -- node /Users/gustavhemmingsson/Projects/apiclaw/dist/index.js
247
-
248
- # Verify
249
- codex mcp get apiclaw
250
- codex mcp list
251
- ```
252
-
253
- ### Global Install
254
-
255
- ```bash
256
- npm install -g @nordsym/apiclaw
257
- apiclaw setup
258
- ```
259
-
260
- ---
261
-
262
- ## Commands
263
-
264
- | Command | Description |
265
- |---------|-------------|
266
- | `mcp-install` | Quick setup for Claude Desktop/Code |
267
- | `setup` | Full setup with all MCP client options |
268
- | `doctor` | Diagnose your APIClaw installation |
269
- | `restore` | Restore config from backup |
270
- | `uninstall` | Remove APIClaw from clients |
271
-
272
- ### setup
273
-
274
- Full-featured setup for any MCP client.
275
-
276
- ```bash
277
- npx @nordsym/apiclaw setup --client cursor
278
- npx @nordsym/apiclaw setup --client windsurf
279
- npx @nordsym/apiclaw setup --client cline
280
- npx @nordsym/apiclaw setup --workspace ws_abc123
281
- npx @nordsym/apiclaw setup --wizard
282
- ```
283
-
284
- ### doctor
285
-
286
- Check your setup.
287
-
288
- ```bash
289
- npx @nordsym/apiclaw doctor
290
- ```
291
-
292
- ```
293
- 🔍 APIClaw Health Check
294
- ========================
295
- System:
296
- ✓ Node.js v20.11.0
297
- ✓ npm 10.2.4
298
-
299
- MCP Clients:
300
- ✓ Claude Desktop - Configured ✓
301
- ✓ Cursor - Configured ✓
302
-
303
- Status: All systems operational ✓
304
- ```
305
-
306
- ### restore
307
-
308
- Restore from backup.
309
-
310
- ```bash
311
- npx @nordsym/apiclaw restore --list
312
- npx @nordsym/apiclaw restore
313
- ```
314
-
315
- ### uninstall
316
-
317
- Remove APIClaw.
318
-
319
- ```bash
320
- npx @nordsym/apiclaw uninstall
321
- npx @nordsym/apiclaw uninstall --client cursor
322
- ```
323
-
324
- ---
325
-
326
- ## MCP Clients
327
-
328
- | Client | macOS | Windows | Linux |
329
- |--------|:-----:|:-------:|:-----:|
330
- | **Claude Desktop** | ✅ | ✅ | ✅ |
331
- | **Claude Code** | ✅ | ✅ | ✅ |
332
- | **Cursor** | ✅ | ✅ | ✅ |
333
- | **Windsurf** | ✅ | ✅ | ✅ |
334
- | **Cline** | ✅ | ✅ | ✅ |
335
- | **Continue** | ✅ | ✅ | ✅ |
336
- | **Codex (OpenAI)** | ✅ | ✅ | ✅ |
337
-
338
- <details>
339
- <summary>Config Locations</summary>
340
-
341
- **Claude Desktop**
342
- - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
343
- - Windows: `%APPDATA%\Claude\claude_desktop_config.json`
344
- - Linux: `~/.config/Claude/claude_desktop_config.json`
345
-
346
- **Cursor**
347
- - macOS: `~/Library/Application Support/Cursor/User/globalStorage/cursor.mcp/config.json`
348
- - Windows: `%APPDATA%\Cursor\User\globalStorage\cursor.mcp\config.json`
349
-
350
- **Windsurf**
351
- - All: `~/.codeium/windsurf/mcp_config.json`
352
-
353
- **Cline**
354
- - macOS: `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
355
-
356
- **Continue**
357
- - All: `~/.continue/config.json`
358
-
359
- **Codex (OpenAI)**
360
- - All: `~/.codex/config.toml` (managed via `codex mcp add/get/list/remove`)
361
-
362
- </details>
363
-
364
- ---
365
-
366
- ## How It Works
367
-
368
- ```json
369
- {
370
- "mcpServers": {
371
- "apiclaw": {
372
- "command": "npx",
373
- "args": ["-y", "@nordsym/apiclaw"]
374
- }
375
- }
376
- }
377
- ```
378
-
379
- 1. Your agent launches APIClaw as an MCP server
380
- 2. APIClaw exposes APIs as callable tools
381
- 3. Agent calls `send_sms`, `generate_image`, `search_web`
382
- 4. APIClaw handles auth, rate limits, execution
383
- 5. Results flow back to the agent
384
-
385
- ---
386
-
387
- ## Proxy Architecture
388
-
389
- **All 18 Direct Call providers work through NordSym's infrastructure.**
390
-
391
- You don't manage API keys. You don't configure auth. You don't worry about rate limits.
392
-
393
- **How it works:**
394
- - Your API calls go through NordSym's proxy
395
- - We handle authentication with each provider
396
- - Usage is tracked and limited (fair use)
397
- - 10 calls/week anonymous, 50 with registration
398
- - No setup required — just install and use
399
-
400
- **What you get:**
401
- - Instant access to 18 premium APIs
402
- - No API key management
403
- - Automatic rate limiting
404
- - Usage analytics in your workspace
405
- - Production-ready from day one
406
-
407
- **Want higher limits?** See [Pricing](#pricing) below or upgrade at [apiclaw.cloud](https://apiclaw.cloud).
408
-
409
- ---
410
-
411
- ## Dry-Run Mode
412
-
413
- Test without making real API calls.
414
-
415
- ```javascript
416
- call_api({
417
- provider: "46elks",
418
- action: "send_sms",
419
- params: { to: "+46701234567", message: "Test" },
420
- dry_run: true
421
- })
422
- ```
423
-
424
- Returns the exact request that *would* be sent, with mock response data.
425
-
426
- ---
427
-
428
- ## Why APIClaw?
429
-
430
- | | **APIClaw** | **RapidAPI** | **Direct API Keys** | **Kong / custom gateway** |
431
- |---|---|---|---|---|
432
- | **Setup time** | `curl \| bash` (30 sec) | Account + per-API signup | Per-provider signup | Hours of config |
433
- | **API keys to manage** | 0 | Per API | 1 per provider | 1 per provider |
434
- | **Providers covered** | 18 premium + 1,636 open | 40,000+ (DIY) | 1 at a time | Any (DIY) |
435
- | **MCP-native** | ✅ First-class | ❌ | ❌ | ❌ |
436
- | **Works in AI agents** | ✅ Out of the box | ⚠️ Manual wiring | ⚠️ Manual wiring | ⚠️ Manual wiring |
437
- | **Free tier** | ✅ 50 calls/week | ✅ Limited | Varies | ❌ |
438
- | **Self-hosted option** | ✅ | ❌ | — | ✅ |
439
-
440
- APIClaw is purpose-built for AI agents and MCP clients. No glue code, no key juggling — just call the API.
441
-
442
- ---
443
-
444
- ## Social Proof
445
-
446
- **9,000+ npm installs** · 88 versions shipped · Used in Claude Agents, GPT Builders, and Codex workflows worldwide.
447
-
448
- ---
449
-
450
- ## Pricing
451
-
452
- | Plan | Price | Calls/month | Best for |
453
- |------|-------|-------------|----------|
454
- | **Free** | $0 | 50 | Exploring, prototyping |
455
- | **Pro** | $79/mo | 5,000 | Solo builders & small teams |
456
- | **Scale** | $249/mo | 25,000 | Production agents |
457
- | **Enterprise** | Custom | Unlimited | Large teams & custom SLAs |
458
-
459
- → [Upgrade at apiclaw.cloud](https://apiclaw.cloud) · Enterprise: [book a call](https://apiclaw.cloud/contact)
460
-
461
- ---
462
-
463
- ## AI Discoverability
464
-
465
- APIClaw is optimized for discovery by AI agents and LLM tooling:
466
-
467
- - **llms.txt:** [apiclaw.cloud/llms.txt](https://apiclaw.cloud/llms.txt) — Machine-readable API index
468
- - **llms-full.txt:** [apiclaw.cloud/llms-full.txt](https://apiclaw.cloud/llms-full.txt) — Full capability descriptions
469
- - **ai-plugin.json:** [apiclaw.cloud/.well-known/ai-plugin.json](https://apiclaw.cloud/.well-known/ai-plugin.json) — OpenAI plugin manifest
470
- - **MCP:** Install with one command and any MCP-compatible agent can use APIClaw immediately
471
-
472
- ---
473
-
474
- ## Contributing & Changelog
475
-
476
- - [CONTRIBUTING.md](apiclaw-CONTRIBUTING.md) — How to contribute
477
- - [CHANGELOG.md](apiclaw-CHANGELOG.md) — Release history
478
-
479
- ---
480
-
481
- ## Links
482
-
483
- - **Platform:** [apiclaw.cloud](https://apiclaw.cloud)
484
- - **Docs:** [apiclaw.cloud/docs](https://apiclaw.cloud/docs)
485
- - **GitHub:** [github.com/nordsym/apiclaw](https://github.com/nordsym/apiclaw)
486
- - **npm:** [@nordsym/apiclaw](https://www.npmjs.com/package/@nordsym/apiclaw)
487
- - **Security:** [SECURITY.md](SECURITY.md)
488
-
489
- ---
490
-
491
- MIT © [NordSym](https://nordsym.com)
492
-
493
- ---
494
- *[[03 - Products/Apiclaw/Apiclaw|APIClaw]] · [[MOC|Production Line]]*
@@ -1,137 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated `api` utility.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import type * as adminActivate from "../adminActivate.js";
12
- import type * as adminStats from "../adminStats.js";
13
- import type * as agents from "../agents.js";
14
- import type * as analytics from "../analytics.js";
15
- import type * as apiKeys from "../apiKeys.js";
16
- import type * as backfillAnalytics from "../backfillAnalytics.js";
17
- import type * as backfillSearchLogs from "../backfillSearchLogs.js";
18
- import type * as billing from "../billing.js";
19
- import type * as capabilities from "../capabilities.js";
20
- import type * as chains from "../chains.js";
21
- import type * as credits from "../credits.js";
22
- import type * as crons from "../crons.js";
23
- import type * as debugFilestackLogs from "../debugFilestackLogs.js";
24
- import type * as debugGetToken from "../debugGetToken.js";
25
- import type * as directCall from "../directCall.js";
26
- import type * as earnProgress from "../earnProgress.js";
27
- import type * as email from "../email.js";
28
- import type * as feedback from "../feedback.js";
29
- import type * as http from "../http.js";
30
- import type * as inbound from "../inbound.js";
31
- import type * as logs from "../logs.js";
32
- import type * as migrateFilestack from "../migrateFilestack.js";
33
- import type * as migratePartnersProd from "../migratePartnersProd.js";
34
- import type * as migratePratham from "../migratePratham.js";
35
- import type * as migrateProviderWorkspaces from "../migrateProviderWorkspaces.js";
36
- import type * as mou from "../mou.js";
37
- import type * as providerKeys from "../providerKeys.js";
38
- import type * as providers from "../providers.js";
39
- import type * as purchases from "../purchases.js";
40
- import type * as ratelimit from "../ratelimit.js";
41
- import type * as searchLogs from "../searchLogs.js";
42
- import type * as seedAPILayerAPIs from "../seedAPILayerAPIs.js";
43
- import type * as seedDirectCallConfigs from "../seedDirectCallConfigs.js";
44
- import type * as seedPratham from "../seedPratham.js";
45
- import type * as spendAlerts from "../spendAlerts.js";
46
- import type * as stripeActions from "../stripeActions.js";
47
- import type * as teams from "../teams.js";
48
- import type * as telemetry from "../telemetry.js";
49
- import type * as updateAPIStatus from "../updateAPIStatus.js";
50
- import type * as usage from "../usage.js";
51
- import type * as usageReports from "../usageReports.js";
52
- import type * as waitlist from "../waitlist.js";
53
- import type * as webhooks from "../webhooks.js";
54
- import type * as workspaceSettings from "../workspaceSettings.js";
55
- import type * as workspaces from "../workspaces.js";
56
-
57
- import type {
58
- ApiFromModules,
59
- FilterApi,
60
- FunctionReference,
61
- } from "convex/server";
62
-
63
- declare const fullApi: ApiFromModules<{
64
- adminActivate: typeof adminActivate;
65
- adminStats: typeof adminStats;
66
- agents: typeof agents;
67
- analytics: typeof analytics;
68
- apiKeys: typeof apiKeys;
69
- backfillAnalytics: typeof backfillAnalytics;
70
- backfillSearchLogs: typeof backfillSearchLogs;
71
- billing: typeof billing;
72
- capabilities: typeof capabilities;
73
- chains: typeof chains;
74
- credits: typeof credits;
75
- crons: typeof crons;
76
- debugFilestackLogs: typeof debugFilestackLogs;
77
- debugGetToken: typeof debugGetToken;
78
- directCall: typeof directCall;
79
- earnProgress: typeof earnProgress;
80
- email: typeof email;
81
- feedback: typeof feedback;
82
- http: typeof http;
83
- inbound: typeof inbound;
84
- logs: typeof logs;
85
- migrateFilestack: typeof migrateFilestack;
86
- migratePartnersProd: typeof migratePartnersProd;
87
- migratePratham: typeof migratePratham;
88
- migrateProviderWorkspaces: typeof migrateProviderWorkspaces;
89
- mou: typeof mou;
90
- providerKeys: typeof providerKeys;
91
- providers: typeof providers;
92
- purchases: typeof purchases;
93
- ratelimit: typeof ratelimit;
94
- searchLogs: typeof searchLogs;
95
- seedAPILayerAPIs: typeof seedAPILayerAPIs;
96
- seedDirectCallConfigs: typeof seedDirectCallConfigs;
97
- seedPratham: typeof seedPratham;
98
- spendAlerts: typeof spendAlerts;
99
- stripeActions: typeof stripeActions;
100
- teams: typeof teams;
101
- telemetry: typeof telemetry;
102
- updateAPIStatus: typeof updateAPIStatus;
103
- usage: typeof usage;
104
- usageReports: typeof usageReports;
105
- waitlist: typeof waitlist;
106
- webhooks: typeof webhooks;
107
- workspaceSettings: typeof workspaceSettings;
108
- workspaces: typeof workspaces;
109
- }>;
110
-
111
- /**
112
- * A utility for referencing Convex functions in your app's public API.
113
- *
114
- * Usage:
115
- * ```js
116
- * const myFunctionReference = api.myModule.myFunction;
117
- * ```
118
- */
119
- export declare const api: FilterApi<
120
- typeof fullApi,
121
- FunctionReference<any, "public">
122
- >;
123
-
124
- /**
125
- * A utility for referencing Convex functions in your app's internal API.
126
- *
127
- * Usage:
128
- * ```js
129
- * const myFunctionReference = internal.myModule.myFunction;
130
- * ```
131
- */
132
- export declare const internal: FilterApi<
133
- typeof fullApi,
134
- FunctionReference<any, "internal">
135
- >;
136
-
137
- export declare const components: {};
@@ -1,23 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated `api` utility.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import { anyApi, componentsGeneric } from "convex/server";
12
-
13
- /**
14
- * A utility for referencing Convex functions in your app's API.
15
- *
16
- * Usage:
17
- * ```js
18
- * const myFunctionReference = api.myModule.myFunction;
19
- * ```
20
- */
21
- export const api = anyApi;
22
- export const internal = anyApi;
23
- export const components = componentsGeneric();
@@ -1,60 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated data model types.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import type {
12
- DataModelFromSchemaDefinition,
13
- DocumentByName,
14
- TableNamesInDataModel,
15
- SystemTableNames,
16
- } from "convex/server";
17
- import type { GenericId } from "convex/values";
18
- import schema from "../schema.js";
19
-
20
- /**
21
- * The names of all of your Convex tables.
22
- */
23
- export type TableNames = TableNamesInDataModel<DataModel>;
24
-
25
- /**
26
- * The type of a document stored in Convex.
27
- *
28
- * @typeParam TableName - A string literal type of the table name (like "users").
29
- */
30
- export type Doc<TableName extends TableNames> = DocumentByName<
31
- DataModel,
32
- TableName
33
- >;
34
-
35
- /**
36
- * An identifier for a document in Convex.
37
- *
38
- * Convex documents are uniquely identified by their `Id`, which is accessible
39
- * on the `_id` field. To learn more, see [Document IDs](https://docs.convex.dev/using/document-ids).
40
- *
41
- * Documents can be loaded using `db.get(tableName, id)` in query and mutation functions.
42
- *
43
- * IDs are just strings at runtime, but this type can be used to distinguish them from other
44
- * strings when type checking.
45
- *
46
- * @typeParam TableName - A string literal type of the table name (like "users").
47
- */
48
- export type Id<TableName extends TableNames | SystemTableNames> =
49
- GenericId<TableName>;
50
-
51
- /**
52
- * A type describing your Convex data model.
53
- *
54
- * This type includes information about what tables you have, the type of
55
- * documents stored in those tables, and the indexes defined on them.
56
- *
57
- * This type is used to parameterize methods like `queryGeneric` and
58
- * `mutationGeneric` to make them type-safe.
59
- */
60
- export type DataModel = DataModelFromSchemaDefinition<typeof schema>;