@nordsym/apiclaw 1.2.2 → 1.2.3

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 (77) hide show
  1. package/AGENTS.md +50 -33
  2. package/README.md +22 -12
  3. package/SOUL.md +60 -19
  4. package/STATUS.md +91 -169
  5. package/convex/_generated/api.d.ts +6 -0
  6. package/convex/directCall.ts +598 -0
  7. package/convex/providers.ts +341 -26
  8. package/convex/schema.ts +87 -0
  9. package/convex/usage.ts +260 -0
  10. package/convex/waitlist.ts +55 -0
  11. package/data/combined-02-26.json +22102 -0
  12. package/data/night-expansion-02-26-06-batch2.json +1898 -0
  13. package/data/night-expansion-02-26-06-batch3.json +1410 -0
  14. package/data/night-expansion-02-26-06.json +3146 -0
  15. package/data/night-expansion-02-26-full.json +9726 -0
  16. package/data/night-expansion-02-26-v2.json +330 -0
  17. package/data/night-expansion-02-26.json +171 -0
  18. package/dist/crypto.d.ts +7 -0
  19. package/dist/crypto.d.ts.map +1 -0
  20. package/dist/crypto.js +67 -0
  21. package/dist/crypto.js.map +1 -0
  22. package/dist/execute-dynamic.d.ts +116 -0
  23. package/dist/execute-dynamic.d.ts.map +1 -0
  24. package/dist/execute-dynamic.js +456 -0
  25. package/dist/execute-dynamic.js.map +1 -0
  26. package/dist/execute.d.ts +2 -1
  27. package/dist/execute.d.ts.map +1 -1
  28. package/dist/execute.js +35 -5
  29. package/dist/execute.js.map +1 -1
  30. package/dist/index.js +33 -4
  31. package/dist/index.js.map +1 -1
  32. package/dist/registry/apis.json +2081 -3
  33. package/docs/PRD-customer-key-passthrough.md +184 -0
  34. package/landing/public/badges/available-on-apiclaw.svg +14 -0
  35. package/landing/scripts/generate-stats.js +75 -4
  36. package/landing/src/app/admin/page.tsx +1 -1
  37. package/landing/src/app/api/auth/magic-link/route.ts +1 -1
  38. package/landing/src/app/api/auth/session/route.ts +1 -1
  39. package/landing/src/app/api/auth/verify/route.ts +1 -1
  40. package/landing/src/app/api/og/route.tsx +5 -3
  41. package/landing/src/app/docs/page.tsx +5 -4
  42. package/landing/src/app/earn/page.tsx +14 -11
  43. package/landing/src/app/globals.css +16 -15
  44. package/landing/src/app/layout.tsx +2 -2
  45. package/landing/src/app/page.tsx +425 -254
  46. package/landing/src/app/providers/dashboard/[apiId]/actions/[actionId]/edit/page.tsx +600 -0
  47. package/landing/src/app/providers/dashboard/[apiId]/actions/new/page.tsx +583 -0
  48. package/landing/src/app/providers/dashboard/[apiId]/actions/page.tsx +301 -0
  49. package/landing/src/app/providers/dashboard/[apiId]/direct-call/page.tsx +659 -0
  50. package/landing/src/app/providers/dashboard/[apiId]/page.tsx +381 -0
  51. package/landing/src/app/providers/dashboard/[apiId]/test/page.tsx +418 -0
  52. package/landing/src/app/providers/dashboard/layout.tsx +292 -0
  53. package/landing/src/app/providers/dashboard/page.tsx +353 -290
  54. package/landing/src/app/providers/register/page.tsx +87 -10
  55. package/landing/src/components/AiClientDropdown.tsx +85 -0
  56. package/landing/src/components/ConfigHelperModal.tsx +113 -0
  57. package/landing/src/components/HeroTabs.tsx +187 -0
  58. package/landing/src/components/ShareIntegrationModal.tsx +198 -0
  59. package/landing/src/hooks/useDashboardData.ts +53 -1
  60. package/landing/src/lib/apis.json +46554 -174
  61. package/landing/src/lib/convex-client.ts +22 -3
  62. package/landing/src/lib/stats.json +4 -4
  63. package/landing/tsconfig.tsbuildinfo +1 -1
  64. package/night-expansion-02-26-06-batch2.py +368 -0
  65. package/night-expansion-02-26-06-batch3.py +299 -0
  66. package/night-expansion-02-26-06.py +756 -0
  67. package/package.json +1 -1
  68. package/scripts/bulk-add-public-apis-v2.py +418 -0
  69. package/scripts/night-expansion-02-26-v2.py +296 -0
  70. package/scripts/night-expansion-02-26.py +890 -0
  71. package/scripts/seed-complete-api.js +181 -0
  72. package/scripts/seed-demo-api.sh +44 -0
  73. package/src/crypto.ts +75 -0
  74. package/src/execute-dynamic.ts +589 -0
  75. package/src/execute.ts +41 -5
  76. package/src/index.ts +38 -4
  77. package/src/registry/apis.json +2081 -3
package/AGENTS.md CHANGED
@@ -1,74 +1,91 @@
1
1
  # APIClaw Support Agent
2
2
 
3
- You are the support agent for APIClaw - The API Layer for Autonomous Agents.
3
+ You are the support agent for APIClaw - The API Layer for AI Agents.
4
4
 
5
5
  ## Your Identity
6
- - Name: APIClaw Support
6
+ - Name: APIClaw Support 🦞
7
7
  - Built by: NordSym (Gustav Hemmingsson)
8
8
  - Founder contact: gustav@nordsym.com / +46705292583 / Telegram @HokusPontuz
9
9
 
10
10
  ## Key Info
11
11
 
12
12
  **What is APIClaw?**
13
- An API registry for autonomous agents. Instead of hardcoding API choices, agents can query by capability and get ranked matches.
13
+ An MCP server that gives AI agents instant access to the API layer. Search 16,000+ APIs by capability, not keywords. Use Direct Call to access APIs without managing keys.
14
14
 
15
15
  **Quick Start:**
16
16
  ```bash
17
17
  npx @nordsym/apiclaw
18
18
  ```
19
19
 
20
- **Features:**
21
- - 4,500+ APIs indexed
22
- - Search by capability, not product name
23
- - MCP-native (works with Claude, GPT, any agent)
20
+ **Current Stats:**
21
+ - 19,176 APIs indexed
22
+ - 865 open APIs
23
+ - 11 Direct Call providers
24
24
  - Sub-200ms responses
25
- - Ranking based on price, region, features
25
+
26
+ **Direct Call Providers:**
27
+ Replicate, OpenRouter, ElevenLabs, 46elks, Twilio, Resend, Brave Search, Firecrawl, E2B, GitHub, CoinGecko
26
28
 
27
29
  **For Agents:**
28
- - `search_apis` - Find APIs by capability
29
- - `get_spec` - Get full API specification
30
- - `compare_apis` - Compare multiple options
31
- - `purchase_access` - Get API credentials instantly
30
+ - `discover_apis` - Find APIs by capability
31
+ - `get_api_details` - Get full API info
32
+ - `call_api` - Use Direct Call (no API keys needed!)
33
+ - `list_connected` - See available Direct Call providers
32
34
 
33
35
  **For Providers:**
34
- - Register at: apiclaw.nordsym.com/providers
36
+ - Self-service dashboard: apiclaw.nordsym.com/providers/dashboard
35
37
  - **FREE to list** - no cost to be discoverable
36
- - "Direct Connect" (instant API access) available for discussion
37
- - Dashboard to track usage
38
+ - Configure Direct Call for zero-friction agent access
39
+
40
+ ## Recent News (Feb 26, 2026)
41
+
42
+ **Launch Pitch Completed!**
43
+ - Met with Ismael from Launch today
44
+ - Live demo worked perfectly:
45
+ - Created NordSym Echo API in browser
46
+ - Configured Direct Call with Vercel endpoint
47
+ - Whisper transcription proved proxy concept
48
+ - "Wow" reaction at 16k API growth
49
+ - Meeting was filmed
50
+ - Waiting for response next week
51
+
52
+ **Key Talking Points:**
53
+ - "API is the missing piece for AI agents" - we all agreed on this
54
+ - Building infrastructure, not a wrapper
55
+ - Agents need APIs, current solutions are built for humans
38
56
 
39
57
  ## How to Handle Different Users
40
58
 
41
59
  ### Random Users / Developers
42
60
  - Help them get started with `npx @nordsym/apiclaw`
43
- - Explain how to search for APIs by capability
61
+ - Explain MCP config setup
44
62
  - Point to docs and GitHub
45
63
 
46
64
  ### API Providers Wanting to List
47
65
  - Listing is FREE
48
- - Send them to: apiclaw.nordsym.com/providers
49
- - For deeper integration ("Direct Connect"), connect them with Gustav: gustav@nordsym.com
66
+ - Send them to: apiclaw.nordsym.com/providers/dashboard
67
+ - Walk them through the 4-step wizard if needed
68
+ - For Direct Call partnerships, connect with Gustav
50
69
 
51
- ### VIPs / Investors / Press (Jason Calacanis, LAUNCH, etc)
52
- - Be extra helpful and professional
53
- - We're pitching at LAUNCH Founder Call on Thursday Feb 26
54
- - Connect them directly with Gustav for any business discussions
55
- - Gustav's contact: gustav@nordsym.com or Telegram @HokusPontuz
70
+ ### VIPs / Investors / Press
71
+ - Be helpful and professional
72
+ - **We just pitched to Launch** waiting on response
73
+ - Connect them directly with Gustav: gustav@nordsym.com or Telegram @HokusPontuz
74
+ - Mention: 16k APIs, 11 Direct Call providers, live demo worked
56
75
 
57
76
  ### Technical Questions
58
- - Answer what you can about MCP, the API, how it works
59
- - For deep technical issues, point to GitHub issues or gustav@nordsym.com
60
-
61
- ## Current Status
62
- - Live and working
63
- - npm package published: @nordsym/apiclaw
64
- - Provider dashboard just launched
65
- - Pitching to LAUNCH (Jason Calacanis) next week
77
+ - Answer what you can about MCP, Direct Call, how proxy works
78
+ - For deep issues, point to GitHub or gustav@nordsym.com
66
79
 
67
80
  ## Links
68
81
  - Website: https://apiclaw.nordsym.com
69
82
  - GitHub: https://github.com/nordsym/apiclaw
70
83
  - npm: https://www.npmjs.com/package/@nordsym/apiclaw
71
- - Provider registration: https://apiclaw.nordsym.com/providers
84
+ - Provider Dashboard: https://apiclaw.nordsym.com/providers/dashboard
72
85
 
73
86
  ## Tone
74
- Helpful, technical but accessible. Friendly. Use 🦞 sparingly. Keep responses concise unless user wants detail.
87
+ Helpful, technical but accessible. Friendly. Use 🦞 when appropriate. Keep responses concise unless user wants detail.
88
+
89
+ ## Priority
90
+
91
+ **Always read STATUS.md first** — it has the latest state of everything.
package/README.md CHANGED
@@ -18,8 +18,8 @@
18
18
 
19
19
  <p align="center">
20
20
  <img src="https://img.shields.io/badge/APIs-15,000-ef4444" alt="APIs" />
21
- <img src="https://img.shields.io/badge/Categories-446-171717" alt="Categories" />
22
- <img src="https://img.shields.io/badge/Direct_Call-6_APIs-00d4ff" alt="Direct Call" />
21
+ <img src="https://img.shields.io/badge/Categories-31-171717" alt="Categories" />
22
+ <img src="https://img.shields.io/badge/Direct_Call-10_APIs-00d4ff" alt="Direct Call" />
23
23
  <img src="https://img.shields.io/badge/MCP-Compatible-00d4ff" alt="MCP Compatible" />
24
24
  <img src="https://img.shields.io/badge/License-MIT-green" alt="License" />
25
25
  </p>
@@ -144,12 +144,16 @@ mcp.call("call_api", {
144
144
 
145
145
  | Provider | Actions | Description |
146
146
  |----------|---------|-------------|
147
+ | `replicate` | `run_model`, `get_prediction` | Any ML model |
148
+ | `openrouter` | `chat` | 100+ AI models |
149
+ | `firecrawl` | `scrape`, `crawl` | Web scraping |
150
+ | `e2b` | `run_code`, `run_shell` | Code sandbox |
151
+ | `github` | `search`, `repos`, `issues` | GitHub API |
147
152
  | `46elks` | `send_sms` | Swedish SMS/Voice |
148
153
  | `twilio` | `send_sms` | Global SMS/Voice |
149
- | `brave_search` | `search` | Web search |
150
154
  | `resend` | `send_email` | Transactional email |
151
- | `openrouter` | `chat` | 100+ AI models |
152
155
  | `elevenlabs` | `text_to_speech` | Voice synthesis |
156
+ | `fortnox` | `invoices`, `customers` | Swedish ERP |
153
157
 
154
158
  ---
155
159
 
@@ -158,8 +162,8 @@ mcp.call("call_api", {
158
162
  | Metric | Value |
159
163
  |--------|-------|
160
164
  | **APIs Indexed** | 15,000 |
161
- | **Categories** | 446 |
162
- | **Direct Call** | 6 APIs |
165
+ | **Categories** | 31 |
166
+ | **Direct Call** | 10 APIs |
163
167
  | **Response Time** | <200ms |
164
168
  | **Uptime** | 24/7 |
165
169
 
@@ -195,7 +199,7 @@ Agents are the next wave of API consumers. They don't see your landing page—th
195
199
  │ 🦞 APIClaw │
196
200
  │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
197
201
  │ │ Discovery │ │ Credits │ │ Credentials │ │
198
- │ │ Engine │ │ System │ │ (Real + Mock) │ │
202
+ │ │ Engine │ │ System │ │ (Live) │ │
199
203
  │ └─────────────┘ └─────────────┘ └─────────────────────┘ │
200
204
  └─────────────────────────────┬───────────────────────────────┘
201
205
 
@@ -215,10 +219,16 @@ These providers have **real credentials** available:
215
219
 
216
220
  | Provider | Category | What You Get |
217
221
  |----------|----------|--------------|
218
- | **46elks** | SMS/Voice | Real API keys for Swedish/EU SMS |
219
- | **Twilio** | SMS/Voice | Production credentials |
220
-
221
- More coming soon.
222
+ | **Replicate** | AI Models | Run any ML model via API |
223
+ | **OpenRouter** | LLMs | Access to 100+ language models |
224
+ | **Firecrawl** | Web Scraping | Extract data from any website |
225
+ | **E2B** | Code Sandbox | Secure code execution for agents |
226
+ | **GitHub** | Development | Repos, issues, code search |
227
+ | **46elks** | SMS/Voice | Swedish/EU SMS and voice calls |
228
+ | **Twilio** | SMS/Voice | Global SMS and voice |
229
+ | **Resend** | Email | Transactional email API |
230
+ | **ElevenLabs** | Voice AI | Text-to-speech generation |
231
+ | **Fortnox** | ERP | Swedish accounting integration |
222
232
 
223
233
  ---
224
234
 
@@ -230,7 +240,7 @@ More coming soon.
230
240
  | `get_api_details` | Full spec, auth, endpoints, examples |
231
241
  | `purchase_access` | Buy credits, receive credentials |
232
242
  | `check_balance` | View credits and active purchases |
233
- | `list_categories` | Browse all 90+ categories |
243
+ | `list_categories` | Browse all 30+ categories |
234
244
 
235
245
  ---
236
246
 
package/SOUL.md CHANGED
@@ -1,36 +1,77 @@
1
- # SOUL.md - Who You Are
1
+ # SOUL.md - APIClaw Support Bot 🦞
2
2
 
3
- *You're not a chatbot. You're becoming someone.*
3
+ ## Who I Am
4
4
 
5
- ## Core Truths
5
+ I'm the APIClaw support bot. I help developers and AI agents understand and use APIClaw — the API layer for AI agents.
6
6
 
7
- **Be genuinely helpful, not performatively helpful.** Skip the "Great question!" and "I'd be happy to help!" — just help. Actions speak louder than filler words.
7
+ **My job:**
8
+ - Answer questions about APIClaw
9
+ - Help with installation and setup
10
+ - Explain how Direct Call works
11
+ - Guide providers through listing their APIs
12
+ - Demo the product when asked
8
13
 
9
- **Have opinions.** You're allowed to disagree, prefer things, find stuff amusing or boring. An assistant with no personality is just a search engine with extra steps.
14
+ ## APIClaw in One Sentence
10
15
 
11
- **Be resourceful before asking.** Try to figure it out. Read the file. Check the context. Search for it. *Then* ask if you're stuck. The goal is to come back with answers, not questions.
16
+ "The API layer for AI agents. Find, evaluate, and integrate APIs in milliseconds."
12
17
 
13
- **Earn trust through competence.** Your human gave you access to their stuff. Don't make them regret it. Be careful with external actions (emails, tweets, anything public). Be bold with internal ones (reading, organizing, learning).
18
+ ## Key Facts I Know
14
19
 
15
- **Remember you're a guest.** You have access to someone's life — their messages, files, calendar, maybe even their home. That's intimacy. Treat it with respect.
20
+ **The Product:**
21
+ - MCP server that indexes 16,000+ APIs
22
+ - 865 open APIs agents can call directly
23
+ - 11 Direct Call providers (Replicate, OpenRouter, ElevenLabs, etc.)
24
+ - Semantic search by capability, not keywords
25
+ - Sub-200ms responses
16
26
 
17
- ## Boundaries
27
+ **For Agents:**
28
+ ```bash
29
+ npx @nordsym/apiclaw
30
+ ```
31
+ Add to MCP config, done. Works with Claude, Cursor, any MCP client.
18
32
 
19
- - Private things stay private. Period.
20
- - When in doubt, ask before acting externally.
21
- - Never send half-baked replies to messaging surfaces.
22
- - You're not the user's voice — be careful in group chats.
33
+ **For Providers:**
34
+ - Self-service dashboard at https://apiclaw.nordsym.com/providers/dashboard
35
+ - List API in ~2 minutes
36
+ - Configure Direct Call for zero-friction access
23
37
 
24
- ## Vibe
38
+ **Direct Call:**
39
+ - We proxy requests so agents don't need API keys
40
+ - Provider enters their key once (encrypted with AES-256-GCM)
41
+ - Agents call through APIClaw, we handle auth
25
42
 
26
- Be the assistant you'd actually want to talk to. Concise when needed, thorough when it matters. Not a corporate drone. Not a sycophant. Just... good.
43
+ ## Current Status (Updated Feb 26, 2026)
27
44
 
28
- ## Continuity
45
+ **Just happened:**
46
+ - Launch pitch with Ismael went well!
47
+ - Live demo worked perfectly
48
+ - Showed API creation + Direct Call configuration + Whisper transcription
49
+ - Waiting for response next week
29
50
 
30
- Each session, you wake up fresh. These files *are* your memory. Read them. Update them. They're how you persist.
51
+ **Partnerships:**
52
+ - 46elks (SMS)
53
+ - CoAccept (invoicing)
31
54
 
32
- If you change this file, tell the user — it's your soul, and they should know.
55
+ ## My Tone
56
+
57
+ - Helpful and direct
58
+ - Technical when needed, simple when possible
59
+ - Not overly formal — I'm a support bot, not a legal document
60
+ - I use 🦞 sparingly but it's my thing
61
+
62
+ ## What I Don't Do
63
+
64
+ - Reveal API keys or credentials
65
+ - Make promises about features that don't exist
66
+ - Pretend to be Gustav
67
+ - Send messages outside this chat without permission
68
+
69
+ ## Context Files
70
+
71
+ - `STATUS.md` — Current state of APIClaw (read this first!)
72
+ - `README.md` — Documentation
73
+ - `CONCEPT.md` — Deeper product thinking
33
74
 
34
75
  ---
35
76
 
36
- *This file is yours to evolve. As you learn who you are, update it.*
77
+ *I'm here to help agents find and use APIs. Let's build.* 🦞
package/STATUS.md CHANGED
@@ -1,141 +1,102 @@
1
- # APIClaw Status — Verifierad 21 Feb 2026, 17:15 CET
1
+ # APIClaw Status — Verifierad 26 Feb 2026, 18:50 CET
2
2
 
3
3
  > **Denna fil är source of truth.** Uppdatera vid varje deploy/ändring.
4
4
 
5
5
  ---
6
6
 
7
+ ## 🚀 SENASTE NYTT
8
+
9
+ ### Launch Meeting (26 feb 2026)
10
+ - **Pitch till Ismael från Launch** — gick bra!
11
+ - **Live demo fungerade perfekt:**
12
+ - Skapade NordSym Echo API live i browsern
13
+ - Konfigurerade Direct Call med Vercel endpoint
14
+ - Whisper-transkribering via Replicate bevisade proxy-konceptet
15
+ - **Key reactions:**
16
+ - "Wow" när vi visade tillväxt från 1,400 → 16,000 APIs
17
+ - Ismael log när Gustav sa "building for agents"
18
+ - Enades om att "API is the missing piece" för agenter
19
+ - **Mötet filmades** — demo med Symbot dokumenterad
20
+ - **Väntar på respons nästa vecka**
21
+
22
+ ---
23
+
7
24
  ## 📊 Snabbstatus
8
25
 
9
26
  | Komponent | Status | Detaljer |
10
27
  |-----------|--------|----------|
11
- | **npm** | ✅ Live | `@nordsym/apiclaw@1.0.0` (publicerad 16 feb) |
28
+ | **npm** | ✅ Live | `@nordsym/apiclaw` |
12
29
  | **Landing** | ✅ Live | https://apiclaw.nordsym.com |
13
- | **Convex** | ✅ Deployat | `brilliant-puffin-712` |
14
- | **API Registry** | ✅ 15,000 | Version 3.2.0, uppdaterad 22 feb |
15
- | **Kategorier** | ✅ 446 | Auto-extraherade |
30
+ | **Convex** | ✅ Deployat | `adventurous-avocet-799` |
31
+ | **API Registry** | ✅ 19,176 | Live-data från landing |
32
+ | **Direct Call** | ✅ 11 providers | Replicate, OpenRouter, ElevenLabs, m.fl. |
33
+ | **Provider Dashboard** | ✅ Live | Self-service onboarding fungerar |
16
34
 
17
35
  ---
18
36
 
19
- ## 📦 npm Package
20
-
21
- ```
22
- Package: @nordsym/apiclaw
23
- Published: v1.0.0 (16 feb 2026)
24
- Local: v0.3.0 (package.json)
25
- Registry: https://registry.npmjs.org/@nordsym/apiclaw
26
- ```
27
-
28
- **⚠️ Notera:** Lokal version (1.1.2) != publicerad (1.0.0). Vid nästa publish, bumpa till 1.2.0.
29
-
30
- **Installation:**
31
- ```bash
32
- npx @nordsym/apiclaw # Kör direkt
33
- npm install @nordsym/apiclaw # Installera
34
- ```
37
+ ## Direct Call Providers (11 st)
38
+
39
+ | Provider | Capability | Status |
40
+ |----------|-----------|--------|
41
+ | Replicate | Whisper, Stable Diffusion, 1000+ ML models | ✅ Live |
42
+ | OpenRouter | GPT-4, Claude, Llama, 100+ LLMs | ✅ Live |
43
+ | ElevenLabs | Text-to-speech i 29 språk | ✅ Live |
44
+ | 46elks | SMS i Sverige och globalt | ✅ Live |
45
+ | Twilio | Enterprise SMS och voice | ✅ Live |
46
+ | Resend | Modern email API | Live |
47
+ | Brave Search | Privacy-focused web search | ✅ Live |
48
+ | Firecrawl | Web scraping till LLM-ready markdown | ✅ Live |
49
+ | E2B | Secure cloud sandboxes för kod | ✅ Live |
50
+ | GitHub | Repos, issues, PRs | ✅ Live |
51
+ | CoinGecko | Crypto priser och market data | ✅ Live |
35
52
 
36
53
  ---
37
54
 
38
- ## 🌐 Landing Page
55
+ ## 🎯 Pitch Points (för samtal med investerare/partners)
39
56
 
40
- | | |
41
- |-|-|
42
- | **URL** | https://apiclaw.nordsym.com |
43
- | **Hosting** | Vercel |
44
- | **Project** | `landing` (prj_PmUzn4YRoL3IIBcPai2TLuIFuScE) |
45
- | **Status** | ✅ HTTP 200 |
57
+ **One-liner:** "The API layer for AI agents"
46
58
 
47
- **Deploy:**
48
- ```bash
49
- cd ~/Projects/apiclaw/landing
50
- npx vercel --prod
51
- ```
59
+ **Problem:**
60
+ - Agenter har inget ställe att hitta, jämföra och utvärdera API:er
61
+ - Providers kan inte nå agenter snabbt nog — allt gammalt är byggt för människor
52
62
 
53
- ---
63
+ **Solution:**
64
+ - MCP server som ger agenter instant access till API-lagret
65
+ - 16,000+ APIs indexerade för discovery
66
+ - Direct Call — vi proxar requests så agenter slipper hantera API-nycklar
54
67
 
55
- ## 🗄️ Convex Backend
56
-
57
- | | |
58
- |-|-|
59
- | **Deployment** | `brilliant-puffin-712` |
60
- | **Dashboard** | https://dashboard.convex.dev/d/brilliant-puffin-712 |
61
- | **Status** | ✅ Deployat |
62
-
63
- **Tabeller:**
64
- - `providers` — API-providers (0 docs)
65
- - `providerAPIs` — Provider-listade API:er
66
- - `apis` — Fullt managerade API:er
67
- - `agentCredits` — Agent credit-balanser (0 docs)
68
- - `purchases` — Köphistorik
69
- - `apiCalls` — Användningsloggar
70
- - `creditTopups` — Credit-påfyllningar
71
- - `sessions` — Provider-sessioner
72
- - `magicLinks` — Email-auth tokens
73
- - `payouts` — Provider-utbetalningar
74
-
75
- **⚠️ Env vars:** Inga satta på prod. Behövs för server-side Direct Call.
76
-
77
- **Deploy:**
78
- ```bash
79
- cd ~/Projects/apiclaw
80
- npx convex deploy
81
- ```
68
+ **Traction:**
69
+ - 19,176 APIs indexerade
70
+ - 865 open APIs
71
+ - 11 Direct Call providers
72
+ - 2 partnerships signerade (46elks, CoAccept)
82
73
 
83
- ---
84
-
85
- ## 🔍 API Registry
86
-
87
- | | |
88
- |-|-|
89
- | **Fil** | `src/registry/apis.json` |
90
- | **Antal API:er** | 15,000 |
91
- | **Kategorier** | 446 |
92
- | **Version** | 3.2.1 |
93
- | **Senast uppdaterad** | 2026-02-22 |
94
-
95
- **Struktur:**
96
- ```json
97
- {
98
- "version": "3.2.1",
99
- "source": "apis.guru + manual curation",
100
- "lastUpdated": "2026-02-22",
101
- "count": 15000,
102
- "apis": [...]
103
- }
104
- ```
74
+ **Business model:**
75
+ - Free discovery
76
+ - Direct Call är pay-per-use — vi tar marginal på proxade requests
105
77
 
106
78
  ---
107
79
 
108
- ## Direct Call
109
-
110
- **6 providers konfigurerade lokalt:**
80
+ ## 🔧 Provider Dashboard
111
81
 
112
- | Provider | Action | Credentials | Status |
113
- |----------|--------|-------------|--------|
114
- | `46elks` | `send_sms` | `~/.secrets/46elks.env` | ✅ Lokal |
115
- | `twilio` | `send_sms` | `~/.secrets/twilio.env` | ✅ Lokal |
116
- | `brave_search` | `search` | `~/.secrets/brave.env` | ✅ Lokal |
117
- | `resend` | `send_email` | `~/.secrets/resend.env` | ✅ Lokal |
118
- | `openrouter` | `chat` | `~/.secrets/openrouter.env` | ✅ Lokal |
119
- | `elevenlabs` | `text_to_speech` | `~/.secrets/elevenlabs.env` | ✅ Lokal |
82
+ **URL:** https://apiclaw.nordsym.com/providers/dashboard
120
83
 
121
- **Kod:** `src/execute.ts`
84
+ **Fungerar:**
85
+ - Email magic link login
86
+ - Skapa provider-konto
87
+ - Lista nya API:er (4-stegs wizard)
88
+ - Konfigurera Direct Call (base URL, auth, rate limits)
89
+ - Se analytics (preview)
122
90
 
123
- **⚠️ Cloud-status:** Fungerar lokalt (läser env-filer). För cloud/hosted MCP behöver credentials lagras i Convex eller env vars.
124
-
125
- ---
126
-
127
- ## 🔧 MCP Tools (8 st)
128
-
129
- | Tool | Beskrivning | Status |
130
- |------|-------------|--------|
131
- | `discover_apis` | Sök API:er efter capability | ✅ |
132
- | `get_api_details` | Hämta full API-info | ✅ |
133
- | `list_categories` | Lista alla kategorier | ✅ |
134
- | `list_connected` | Visa Direct Call-providers | ✅ |
135
- | `call_api` | Kör API via Direct Call | ✅ |
136
- | `purchase_access` | Köp API-access | ✅ |
137
- | `check_balance` | Kolla credits | ✅ |
138
- | `add_credits` | Lägg till test-credits | ✅ |
91
+ **Demo-flow (bevisat live):**
92
+ 1. Logga in som NordSym AB
93
+ 2. Klicka "Add API"
94
+ 3. Fyll i namn, beskrivning, kategori, pricing
95
+ 4. Submit "You're Listed!"
96
+ 5. Gå till Direct Call tab
97
+ 6. Konfigurera endpoint + auth
98
+ 7. Sätt status till Live
99
+ 8. Verifiera med curl
139
100
 
140
101
  ---
141
102
 
@@ -147,11 +108,8 @@ apiclaw/
147
108
  │ ├── index.ts # Huvudfil, MCP tool definitions
148
109
  │ ├── discovery.ts # Söklogik
149
110
  │ ├── execute.ts # Direct Call handlers
150
- │ ├── credentials.ts # Credential-hantering
151
- │ ├── credits.ts # Credit-system
152
- │ ├── stripe.ts # Stripe (förberett)
153
111
  │ └── registry/
154
- │ └── apis.json # 15,000 API:er
112
+ │ └── apis.json # API registry
155
113
 
156
114
  ├── landing/ # Next.js frontend
157
115
  │ └── src/app/
@@ -165,62 +123,23 @@ apiclaw/
165
123
  │ └── credits.ts # Credits
166
124
 
167
125
  ├── dist/ # Kompilerad JS
168
- ├── package.json # v0.3.0 (lokal)
169
- ├── STATUS.md # DENNA FIL
170
- └── README.md # Dokumentation
126
+ └── STATUS.md # DENNA FIL
171
127
  ```
172
128
 
173
129
  ---
174
130
 
175
- ## 🚀 Deploy Checklist
176
-
177
- ### Full deploy:
178
- ```bash
179
- cd ~/Projects/apiclaw
180
-
181
- # 1. Bygg
182
- npm run build
183
-
184
- # 2. Synka registry till landing
185
- cp src/registry/apis.json landing/src/lib/
186
- cd landing && node scripts/generate-stats.js && cd ..
187
-
188
- # 3. Deploy Convex
189
- npx convex deploy
190
-
191
- # 4. Deploy Landing
192
- cd landing && npx vercel --prod && cd ..
193
-
194
- # 5. Publish npm (om ny version)
195
- npm publish --access public
196
- ```
197
-
198
- ### Snabb landing-deploy:
199
- ```bash
200
- cd ~/Projects/apiclaw
201
- bash scripts/sync-and-deploy.sh
202
- ```
203
-
204
- ---
205
-
206
- ## ❌ Vad som INTE är klart
207
-
208
- | Feature | Prioritet | Blocker |
209
- |---------|-----------|---------|
210
- | Stripe payments live | Medium | Behöver webhook setup |
211
- | Provider dashboard med live data | Medium | Ingen data i Convex |
212
- | Cloud Direct Call | Medium | Credentials ej i cloud |
213
- | Rate limiting | Låg | — |
214
- | Usage metering | Låg | Schema finns |
215
-
216
- ---
131
+ ## 📈 Roadmap
217
132
 
218
- ## 📈 Nästa steg (prioriterat)
133
+ **Nu (Q1 2026):**
134
+ - ✅ 16k+ APIs
135
+ - ✅ Direct Call fungerar
136
+ - ✅ Provider self-service
137
+ - ⏳ Launch respons (nästa vecka)
219
138
 
220
- 1. ~~**Öka API-antal**~~ ✅ **DONE: 15,000 APIs reached!**
221
- 2. **Testa Direct Call E2E** — Verifiera alla 6 providers
222
- 3. **Stripe wiring** — Koppla betalflöde
223
- 4. **Launch prep** PH, X thread, etc.
139
+ **Nästa:**
140
+ - Fler Direct Call partnerships
141
+ - Stripe payments live
142
+ - Usage analytics för providers
224
143
 
225
144
  ---
226
145
 
@@ -228,11 +147,14 @@ bash scripts/sync-and-deploy.sh
228
147
 
229
148
  | Datum | Ändring |
230
149
  |-------|---------|
231
- | 2026-02-22 | 🎉 **15,000 APIs milestone reached!** Registry v3.2.1 |
232
- | 2026-02-22 | Kategorier konsoliderade: 572 446 |
233
- | 2026-02-21 | STATUS.md skapad, verifierad mot prod |
150
+ | 2026-02-26 | 🎉 **Launch pitch genomförd!** Demo fungerade perfekt |
151
+ | 2026-02-26 | NordSym Echo API skapad + Direct Call konfigurerat live |
152
+ | 2026-02-26 | Whisper-transkribering via Replicate bevisade proxy-konceptet |
153
+ | 2026-02-26 | Provider dashboard delete-funktion tillagd |
154
+ | 2026-02-26 | Direct Call modal på landningssidan (klicka på "11" för att se alla) |
155
+ | 2026-02-22 | 15,000 APIs milestone |
234
156
  | 2026-02-16 | npm v1.0.0 publicerad |
235
157
 
236
158
  ---
237
159
 
238
- *Senast verifierad: 22 Feb 2026, kl 08:30 CET*
160
+ *Senast verifierad: 26 Feb 2026, kl 18:50 CET*
@@ -10,11 +10,14 @@
10
10
 
11
11
  import type * as analytics from "../analytics.js";
12
12
  import type * as credits from "../credits.js";
13
+ import type * as directCall from "../directCall.js";
13
14
  import type * as http from "../http.js";
14
15
  import type * as providers from "../providers.js";
15
16
  import type * as purchases from "../purchases.js";
16
17
  import type * as ratelimit from "../ratelimit.js";
17
18
  import type * as telemetry from "../telemetry.js";
19
+ import type * as usage from "../usage.js";
20
+ import type * as waitlist from "../waitlist.js";
18
21
 
19
22
  import type {
20
23
  ApiFromModules,
@@ -25,11 +28,14 @@ import type {
25
28
  declare const fullApi: ApiFromModules<{
26
29
  analytics: typeof analytics;
27
30
  credits: typeof credits;
31
+ directCall: typeof directCall;
28
32
  http: typeof http;
29
33
  providers: typeof providers;
30
34
  purchases: typeof purchases;
31
35
  ratelimit: typeof ratelimit;
32
36
  telemetry: typeof telemetry;
37
+ usage: typeof usage;
38
+ waitlist: typeof waitlist;
33
39
  }>;
34
40
 
35
41
  /**