web-agent-bridge 3.2.0 → 3.3.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/LICENSE +72 -72
- package/README.ar.md +1286 -1152
- package/README.md +1764 -1635
- package/bin/agent-runner.js +474 -474
- package/bin/cli.js +237 -138
- package/bin/wab.js +80 -80
- package/examples/bidi-agent.js +119 -119
- package/examples/cross-site-agent.js +91 -91
- package/examples/mcp-agent.js +94 -94
- package/examples/next-app-router/README.md +44 -44
- package/examples/puppeteer-agent.js +108 -108
- package/examples/saas-dashboard/README.md +55 -55
- package/examples/shopify-hydrogen/README.md +74 -74
- package/examples/vision-agent.js +171 -171
- package/examples/wordpress-elementor/README.md +77 -77
- package/package.json +16 -3
- package/public/.well-known/agent-tools.json +180 -180
- package/public/.well-known/ai-assets.json +59 -59
- package/public/.well-known/security.txt +8 -0
- package/public/agent-workspace.html +349 -349
- package/public/ai.html +198 -198
- package/public/api.html +413 -412
- package/public/browser.html +486 -486
- package/public/commander-dashboard.html +243 -243
- package/public/cookies.html +210 -210
- package/public/css/agent-workspace.css +1713 -1713
- package/public/css/premium.css +317 -317
- package/public/css/styles.css +1235 -1235
- package/public/dashboard.html +706 -706
- package/public/dns.html +507 -0
- package/public/docs.html +587 -587
- package/public/feed.xml +89 -89
- package/public/growth.html +463 -463
- package/public/index.html +1070 -982
- package/public/integrations.html +556 -0
- package/public/js/agent-workspace.js +1740 -1740
- package/public/js/auth-nav.js +31 -31
- package/public/js/auth-redirect.js +12 -12
- package/public/js/cookie-consent.js +56 -56
- package/public/js/wab-demo-page.js +721 -721
- package/public/js/ws-client.js +74 -74
- package/public/llms-full.txt +360 -360
- package/public/llms.txt +125 -125
- package/public/login.html +85 -85
- package/public/mesh-dashboard.html +328 -328
- package/public/openapi.json +580 -580
- package/public/phone-shield.html +281 -0
- package/public/premium-dashboard.html +2489 -2489
- package/public/premium.html +793 -793
- package/public/privacy.html +297 -297
- package/public/register.html +105 -105
- package/public/robots.txt +87 -87
- package/public/script/wab-consent.d.ts +36 -36
- package/public/script/wab-consent.js +104 -104
- package/public/script/wab-schema.js +131 -131
- package/public/script/wab.d.ts +108 -108
- package/public/script/wab.min.js +580 -580
- package/public/security.txt +8 -0
- package/public/terms.html +256 -256
- package/script/ai-agent-bridge.js +1754 -1754
- package/sdk/README.md +99 -99
- package/sdk/agent-mesh.js +449 -449
- package/sdk/commander.js +262 -262
- package/sdk/index.d.ts +464 -464
- package/sdk/index.js +12 -1
- package/sdk/multi-agent.js +318 -318
- package/sdk/package.json +1 -1
- package/sdk/safety-shield.js +219 -0
- package/sdk/schema-discovery.js +83 -83
- package/server/adapters/index.js +520 -520
- package/server/config/plans.js +367 -367
- package/server/config/secrets.js +102 -102
- package/server/control-plane/index.js +301 -301
- package/server/data-plane/index.js +354 -354
- package/server/index.js +531 -427
- package/server/llm/index.js +404 -404
- package/server/middleware/adminAuth.js +35 -35
- package/server/middleware/auth.js +50 -50
- package/server/middleware/featureGate.js +88 -88
- package/server/middleware/rateLimits.js +100 -100
- package/server/middleware/sensitiveAction.js +157 -0
- package/server/migrations/001_add_analytics_indexes.sql +7 -7
- package/server/migrations/002_premium_features.sql +418 -418
- package/server/migrations/003_ads_integer_cents.sql +33 -33
- package/server/migrations/004_agent_os.sql +158 -158
- package/server/migrations/005_marketplace_metering.sql +126 -126
- package/server/models/adapters/index.js +33 -33
- package/server/models/adapters/mysql.js +183 -183
- package/server/models/adapters/postgresql.js +172 -172
- package/server/models/adapters/sqlite.js +7 -7
- package/server/models/db.js +681 -681
- package/server/observability/failure-analysis.js +337 -337
- package/server/observability/index.js +394 -394
- package/server/protocol/capabilities.js +223 -223
- package/server/protocol/index.js +243 -243
- package/server/protocol/schema.js +584 -584
- package/server/registry/certification.js +271 -271
- package/server/registry/index.js +326 -326
- package/server/routes/admin-premium.js +671 -671
- package/server/routes/admin.js +261 -261
- package/server/routes/ads.js +130 -130
- package/server/routes/agent-workspace.js +540 -540
- package/server/routes/api.js +150 -150
- package/server/routes/auth.js +71 -71
- package/server/routes/billing.js +45 -45
- package/server/routes/commander.js +316 -316
- package/server/routes/demo-showcase.js +332 -332
- package/server/routes/demo-store.js +154 -0
- package/server/routes/discovery.js +417 -417
- package/server/routes/gateway.js +173 -157
- package/server/routes/license.js +251 -240
- package/server/routes/mesh.js +469 -469
- package/server/routes/noscript.js +543 -543
- package/server/routes/premium-v2.js +686 -686
- package/server/routes/premium.js +724 -724
- package/server/routes/runtime.js +2148 -2147
- package/server/routes/sovereign.js +465 -385
- package/server/routes/universal.js +200 -185
- package/server/routes/wab-api.js +850 -501
- package/server/runtime/container-worker.js +111 -111
- package/server/runtime/container.js +448 -448
- package/server/runtime/distributed-worker.js +362 -362
- package/server/runtime/event-bus.js +210 -210
- package/server/runtime/index.js +253 -253
- package/server/runtime/queue.js +599 -599
- package/server/runtime/replay.js +666 -666
- package/server/runtime/sandbox.js +266 -266
- package/server/runtime/scheduler.js +534 -534
- package/server/runtime/session-engine.js +293 -293
- package/server/runtime/state-manager.js +188 -188
- package/server/security/cross-site-redactor.js +196 -0
- package/server/security/dry-run.js +180 -0
- package/server/security/human-gate-rate-limit.js +147 -0
- package/server/security/human-gate-transports.js +178 -0
- package/server/security/human-gate.js +281 -0
- package/server/security/index.js +368 -368
- package/server/security/intent-engine.js +245 -0
- package/server/security/reward-guard.js +171 -0
- package/server/security/rollback-store.js +239 -0
- package/server/security/token-scope.js +404 -0
- package/server/security/url-policy.js +139 -0
- package/server/services/agent-chat.js +506 -506
- package/server/services/agent-learning.js +601 -575
- package/server/services/agent-memory.js +625 -625
- package/server/services/agent-mesh.js +555 -539
- package/server/services/agent-symphony.js +717 -717
- package/server/services/agent-tasks.js +1807 -1807
- package/server/services/api-key-engine.js +292 -261
- package/server/services/cluster.js +894 -894
- package/server/services/commander.js +738 -738
- package/server/services/edge-compute.js +440 -440
- package/server/services/email.js +204 -204
- package/server/services/hosted-runtime.js +205 -205
- package/server/services/lfd.js +635 -635
- package/server/services/local-ai.js +389 -389
- package/server/services/marketplace.js +270 -270
- package/server/services/metering.js +182 -182
- package/server/services/modules/affiliate-intelligence.js +93 -93
- package/server/services/modules/agent-firewall.js +90 -90
- package/server/services/modules/bounty.js +89 -89
- package/server/services/modules/collective-bargaining.js +92 -92
- package/server/services/modules/dark-pattern.js +66 -66
- package/server/services/modules/gov-intelligence.js +45 -45
- package/server/services/modules/neural.js +55 -55
- package/server/services/modules/notary.js +49 -49
- package/server/services/modules/price-time-machine.js +86 -86
- package/server/services/modules/protocol.js +104 -104
- package/server/services/negotiation.js +439 -439
- package/server/services/plugins.js +771 -771
- package/server/services/price-intelligence.js +566 -566
- package/server/services/price-shield.js +1137 -1137
- package/server/services/reputation.js +465 -465
- package/server/services/search-engine.js +357 -357
- package/server/services/security.js +513 -513
- package/server/services/self-healing.js +843 -843
- package/server/services/sovereign-shield.js +542 -0
- package/server/services/stripe.js +192 -192
- package/server/services/swarm.js +788 -788
- package/server/services/universal-scraper.js +662 -661
- package/server/services/verification.js +481 -481
- package/server/services/vision.js +1163 -1163
- package/server/utils/cache.js +125 -125
- package/server/utils/migrate.js +81 -81
- package/server/utils/safe-fetch.js +228 -0
- package/server/utils/secureFields.js +50 -50
- package/server/ws.js +161 -161
- package/templates/artisan-marketplace.yaml +104 -104
- package/templates/book-price-scout.yaml +98 -98
- package/templates/electronics-price-tracker.yaml +108 -108
- package/templates/flight-deal-hunter.yaml +113 -113
- package/templates/freelancer-direct.yaml +116 -116
- package/templates/grocery-price-compare.yaml +93 -93
- package/templates/hotel-direct-booking.yaml +113 -113
- package/templates/local-services.yaml +98 -98
- package/templates/olive-oil-tunisia.yaml +88 -88
- package/templates/organic-farm-fresh.yaml +101 -101
- package/templates/restaurant-direct.yaml +97 -97
- package/public/score.html +0 -263
- package/server/migrations/006_growth_suite.sql +0 -138
- package/server/routes/growth.js +0 -962
- package/server/services/fairness-engine.js +0 -409
- package/server/services/fairness.js +0 -420
package/public/api.html
CHANGED
|
@@ -1,412 +1,413 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" dir="ltr">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>WAB API — Web Agent Bridge Platform API</title>
|
|
7
|
-
<meta name="description" content="WAB API Gateway — 10 advanced modules for AI agent protection, price tracking, dark pattern detection, and more. RESTful API with API key authentication.">
|
|
8
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
-
<style>body{background:#0a0e1a;color:#f0f4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh}</style>
|
|
11
|
-
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
|
12
|
-
<noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"></noscript>
|
|
13
|
-
<link rel="stylesheet" href="/css/styles.css?v=3.0.1">
|
|
14
|
-
<style>
|
|
15
|
-
.api-hero{padding:120px 0 60px;text-align:center}
|
|
16
|
-
.api-hero h1{font-size:3rem;margin:0 0 16px}
|
|
17
|
-
.api-hero .subtitle{font-size:1.2rem;color:#94a3b8;max-width:700px;margin:0 auto 32px}
|
|
18
|
-
.lang-switch{display:flex;justify-content:center;gap:8px;margin-bottom:40px}
|
|
19
|
-
.lang-switch button{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#f0f4ff;padding:8px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;transition:.2s}
|
|
20
|
-
.lang-switch button.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:transparent}
|
|
21
|
-
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;padding:0 20px;max-width:1200px;margin:0 auto 60px}
|
|
22
|
-
.module-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px;transition:.3s}
|
|
23
|
-
.module-card:hover{border-color:rgba(99,102,241,.4);transform:translateY(-2px)}
|
|
24
|
-
.module-card .badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:12px}
|
|
25
|
-
.badge-free{background:rgba(34,197,94,.15);color:#4ade80}
|
|
26
|
-
.badge-pro{background:rgba(99,102,241,.15);color:#818cf8}
|
|
27
|
-
.badge-business{background:rgba(245,158,11,.15);color:#fbbf24}
|
|
28
|
-
.module-card h3{font-size:1.2rem;margin:0 0 8px}
|
|
29
|
-
.module-card p{color:#94a3b8;font-size:.9rem;line-height:1.6;margin:0 0 16px}
|
|
30
|
-
.endpoint{background:rgba(0,0,0,.3);border-radius:8px;padding:12px 16px;margin:6px 0;font-family:'JetBrains Mono',monospace;font-size:.8rem;color:#a5b4fc;display:flex;align-items:center;gap:8px}
|
|
31
|
-
.endpoint .method{color:#4ade80;font-weight:600;min-width:40px}
|
|
32
|
-
.section-title{text-align:center;font-size:2rem;margin:60px 0 32px;color:#f0f4ff}
|
|
33
|
-
.auth-section{max-width:800px;margin:0 auto 60px;padding:0 20px}
|
|
34
|
-
.auth-section .code-block{background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;font-family:'JetBrains Mono',monospace;font-size:.85rem;color:#a5b4fc;overflow-x:auto;line-height:1.7}
|
|
35
|
-
.plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;max-width:1100px;margin:0 auto 60px;padding:0 20px}
|
|
36
|
-
.plan-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px;text-align:center}
|
|
37
|
-
.plan-card h3{margin:0 0 8px}
|
|
38
|
-
.plan-card .price{font-size:2rem;font-weight:800;margin:12px 0}
|
|
39
|
-
.plan-card .price span{font-size:.9rem;font-weight:400;color:#94a3b8}
|
|
40
|
-
.plan-card ul{list-style:none;padding:0;text-align:left;margin:16px 0}
|
|
41
|
-
.plan-card li{padding:6px 0;color:#94a3b8;font-size:.9rem}
|
|
42
|
-
.plan-card li::before{content:'✓ ';color:#4ade80}
|
|
43
|
-
.plan-card li.no::before{content:'✗ ';color:#ef4444}
|
|
44
|
-
.plan-card.featured{border-color:rgba(99,102,241,.5);background:rgba(99,102,241,.06)}
|
|
45
|
-
.gateway-info{max-width:800px;margin:0 auto 60px;padding:0 20px}
|
|
46
|
-
.gateway-info .info-box{background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.2);border-radius:12px;padding:24px;margin:16px 0}
|
|
47
|
-
.gateway-info .info-box h4{margin:0 0 8px;color:#a5b4fc}
|
|
48
|
-
.gateway-info .info-box p{color:#94a3b8;margin:0;line-height:1.6}
|
|
49
|
-
[dir="rtl"] .endpoint{direction:ltr;text-align:left}
|
|
50
|
-
[dir="rtl"] .code-block{direction:ltr;text-align:left}
|
|
51
|
-
.status-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.7rem;font-weight:600}
|
|
52
|
-
.status-open{background:rgba(34,197,94,.15);color:#4ade80}
|
|
53
|
-
.status-closed{background:rgba(239,68,68,.15);color:#f87171}
|
|
54
|
-
.status-partial{background:rgba(245,158,11,.15);color:#fbbf24}
|
|
55
|
-
</style>
|
|
56
|
-
</head>
|
|
57
|
-
<body>
|
|
58
|
-
|
|
59
|
-
<!-- ═══════════ NAVBAR ═══════════ -->
|
|
60
|
-
<nav class="navbar" id="navbar">
|
|
61
|
-
<div class="container">
|
|
62
|
-
<a href="/" class="navbar-brand">
|
|
63
|
-
<div class="brand-icon">⚡</div>
|
|
64
|
-
<span>WAB</span>
|
|
65
|
-
</a>
|
|
66
|
-
<ul class="navbar-links">
|
|
67
|
-
<li><a href="/">Home</a></li>
|
|
68
|
-
<li><a href="/docs">Docs</a></li>
|
|
69
|
-
<li><a href="/api" class="active">API</a></li>
|
|
70
|
-
<li><a href="/
|
|
71
|
-
<li><a href="/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<a href="/
|
|
76
|
-
<a href="/
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<button onclick="switchLang('
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
|
|
93
|
-
<a href="#
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
<
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<span class="
|
|
117
|
-
<
|
|
118
|
-
<
|
|
119
|
-
<
|
|
120
|
-
<div class="endpoint"><span class="method">
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<span class="
|
|
127
|
-
<
|
|
128
|
-
<
|
|
129
|
-
<
|
|
130
|
-
<div class="endpoint"><span class="method">POST</span> /v1/notary/
|
|
131
|
-
<div class="endpoint"><span class="method">
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<span class="
|
|
138
|
-
<
|
|
139
|
-
<
|
|
140
|
-
<
|
|
141
|
-
<div class="endpoint"><span class="method">POST</span> /v1/dark-pattern/
|
|
142
|
-
<div class="endpoint"><span class="method">
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
<span class="
|
|
149
|
-
<
|
|
150
|
-
<
|
|
151
|
-
<
|
|
152
|
-
<div class="endpoint"><span class="method">
|
|
153
|
-
<div class="endpoint"><span class="method">GET</span> /v1/bargaining/
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<span class="
|
|
160
|
-
<
|
|
161
|
-
<
|
|
162
|
-
<
|
|
163
|
-
<div class="endpoint"><span class="method">GET</span> /v1/gov/
|
|
164
|
-
<div class="endpoint"><span class="method">
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
<span class="
|
|
171
|
-
<
|
|
172
|
-
<
|
|
173
|
-
<
|
|
174
|
-
<div class="endpoint"><span class="method">
|
|
175
|
-
<div class="endpoint"><span class="method">GET</span> /v1/price/
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
<span class="
|
|
182
|
-
<
|
|
183
|
-
<
|
|
184
|
-
<
|
|
185
|
-
<div class="endpoint"><span class="method">POST</span> /v1/neural/
|
|
186
|
-
<div class="endpoint"><span class="method">POST</span> /v1/neural/
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<span class="
|
|
193
|
-
<
|
|
194
|
-
<
|
|
195
|
-
<
|
|
196
|
-
<div class="endpoint"><span class="method">
|
|
197
|
-
<div class="endpoint"><span class="method">GET</span> /v1/protocol/
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
<span class="
|
|
204
|
-
<
|
|
205
|
-
<
|
|
206
|
-
<
|
|
207
|
-
<div class="endpoint"><span class="method">
|
|
208
|
-
<div class="endpoint"><span class="method">GET</span> /v1/bounty/
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<span class="
|
|
215
|
-
<
|
|
216
|
-
<
|
|
217
|
-
<
|
|
218
|
-
<div class="endpoint"><span class="method">POST</span> /v1/affiliate/scan-
|
|
219
|
-
<div class="endpoint"><span class="method">
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
<
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
-H "
|
|
234
|
-
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
<
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
<
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
<
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
<
|
|
257
|
-
|
|
258
|
-
POST /api/v1/keys/
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
POST /api/v1/keys/
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
<
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
<
|
|
271
|
-
<
|
|
272
|
-
|
|
273
|
-
<li data-en="
|
|
274
|
-
<li data-en="
|
|
275
|
-
<li data-en="
|
|
276
|
-
<li data-en="
|
|
277
|
-
<li data-en="
|
|
278
|
-
<li
|
|
279
|
-
<li class="no" data-en="
|
|
280
|
-
<li data-en="
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
<
|
|
286
|
-
<
|
|
287
|
-
|
|
288
|
-
<li data-en="
|
|
289
|
-
<li data-en="
|
|
290
|
-
<li data-en="
|
|
291
|
-
<li data-en="
|
|
292
|
-
<li data-en="
|
|
293
|
-
<li data-en="
|
|
294
|
-
<li data-en="
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
<
|
|
300
|
-
<
|
|
301
|
-
|
|
302
|
-
<li data-en="
|
|
303
|
-
<li data-en="
|
|
304
|
-
<li data-en="
|
|
305
|
-
<li data-en="
|
|
306
|
-
<li data-en="
|
|
307
|
-
<li data-en="
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
<
|
|
313
|
-
<
|
|
314
|
-
|
|
315
|
-
<li data-en="
|
|
316
|
-
<li data-en="
|
|
317
|
-
<li data-en="
|
|
318
|
-
<li data-en="
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
<
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
<
|
|
337
|
-
|
|
338
|
-
<li><a href="
|
|
339
|
-
<li><a href="/
|
|
340
|
-
<li><a href="/
|
|
341
|
-
<li><a href="/
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
<
|
|
347
|
-
|
|
348
|
-
<li><a href="/
|
|
349
|
-
<li><a href="
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
<
|
|
355
|
-
|
|
356
|
-
<li><a href="/
|
|
357
|
-
<li><a href="/
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
<script src="/js/
|
|
369
|
-
<script>
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
'hero-
|
|
375
|
-
'
|
|
376
|
-
'btn-
|
|
377
|
-
'
|
|
378
|
-
'baseurl-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
'hero-
|
|
383
|
-
'
|
|
384
|
-
'btn-
|
|
385
|
-
'
|
|
386
|
-
'baseurl-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
document.documentElement.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
document.querySelectorAll('.lang-switch button')
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
</
|
|
412
|
-
</
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" dir="ltr">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>WAB API — Web Agent Bridge Platform API</title>
|
|
7
|
+
<meta name="description" content="WAB API Gateway — 10 advanced modules for AI agent protection, price tracking, dark pattern detection, and more. RESTful API with API key authentication.">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<style>body{background:#0a0e1a;color:#f0f4ff;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0;min-height:100vh}</style>
|
|
11
|
+
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
|
12
|
+
<noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet"></noscript>
|
|
13
|
+
<link rel="stylesheet" href="/css/styles.css?v=3.0.1">
|
|
14
|
+
<style>
|
|
15
|
+
.api-hero{padding:120px 0 60px;text-align:center}
|
|
16
|
+
.api-hero h1{font-size:3rem;margin:0 0 16px}
|
|
17
|
+
.api-hero .subtitle{font-size:1.2rem;color:#94a3b8;max-width:700px;margin:0 auto 32px}
|
|
18
|
+
.lang-switch{display:flex;justify-content:center;gap:8px;margin-bottom:40px}
|
|
19
|
+
.lang-switch button{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#f0f4ff;padding:8px 20px;border-radius:8px;cursor:pointer;font-size:.9rem;transition:.2s}
|
|
20
|
+
.lang-switch button.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:transparent}
|
|
21
|
+
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;padding:0 20px;max-width:1200px;margin:0 auto 60px}
|
|
22
|
+
.module-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px;transition:.3s}
|
|
23
|
+
.module-card:hover{border-color:rgba(99,102,241,.4);transform:translateY(-2px)}
|
|
24
|
+
.module-card .badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:12px}
|
|
25
|
+
.badge-free{background:rgba(34,197,94,.15);color:#4ade80}
|
|
26
|
+
.badge-pro{background:rgba(99,102,241,.15);color:#818cf8}
|
|
27
|
+
.badge-business{background:rgba(245,158,11,.15);color:#fbbf24}
|
|
28
|
+
.module-card h3{font-size:1.2rem;margin:0 0 8px}
|
|
29
|
+
.module-card p{color:#94a3b8;font-size:.9rem;line-height:1.6;margin:0 0 16px}
|
|
30
|
+
.endpoint{background:rgba(0,0,0,.3);border-radius:8px;padding:12px 16px;margin:6px 0;font-family:'JetBrains Mono',monospace;font-size:.8rem;color:#a5b4fc;display:flex;align-items:center;gap:8px}
|
|
31
|
+
.endpoint .method{color:#4ade80;font-weight:600;min-width:40px}
|
|
32
|
+
.section-title{text-align:center;font-size:2rem;margin:60px 0 32px;color:#f0f4ff}
|
|
33
|
+
.auth-section{max-width:800px;margin:0 auto 60px;padding:0 20px}
|
|
34
|
+
.auth-section .code-block{background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;font-family:'JetBrains Mono',monospace;font-size:.85rem;color:#a5b4fc;overflow-x:auto;line-height:1.7}
|
|
35
|
+
.plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;max-width:1100px;margin:0 auto 60px;padding:0 20px}
|
|
36
|
+
.plan-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px;text-align:center}
|
|
37
|
+
.plan-card h3{margin:0 0 8px}
|
|
38
|
+
.plan-card .price{font-size:2rem;font-weight:800;margin:12px 0}
|
|
39
|
+
.plan-card .price span{font-size:.9rem;font-weight:400;color:#94a3b8}
|
|
40
|
+
.plan-card ul{list-style:none;padding:0;text-align:left;margin:16px 0}
|
|
41
|
+
.plan-card li{padding:6px 0;color:#94a3b8;font-size:.9rem}
|
|
42
|
+
.plan-card li::before{content:'✓ ';color:#4ade80}
|
|
43
|
+
.plan-card li.no::before{content:'✗ ';color:#ef4444}
|
|
44
|
+
.plan-card.featured{border-color:rgba(99,102,241,.5);background:rgba(99,102,241,.06)}
|
|
45
|
+
.gateway-info{max-width:800px;margin:0 auto 60px;padding:0 20px}
|
|
46
|
+
.gateway-info .info-box{background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.2);border-radius:12px;padding:24px;margin:16px 0}
|
|
47
|
+
.gateway-info .info-box h4{margin:0 0 8px;color:#a5b4fc}
|
|
48
|
+
.gateway-info .info-box p{color:#94a3b8;margin:0;line-height:1.6}
|
|
49
|
+
[dir="rtl"] .endpoint{direction:ltr;text-align:left}
|
|
50
|
+
[dir="rtl"] .code-block{direction:ltr;text-align:left}
|
|
51
|
+
.status-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.7rem;font-weight:600}
|
|
52
|
+
.status-open{background:rgba(34,197,94,.15);color:#4ade80}
|
|
53
|
+
.status-closed{background:rgba(239,68,68,.15);color:#f87171}
|
|
54
|
+
.status-partial{background:rgba(245,158,11,.15);color:#fbbf24}
|
|
55
|
+
</style>
|
|
56
|
+
</head>
|
|
57
|
+
<body>
|
|
58
|
+
|
|
59
|
+
<!-- ═══════════ NAVBAR ═══════════ -->
|
|
60
|
+
<nav class="navbar" id="navbar">
|
|
61
|
+
<div class="container">
|
|
62
|
+
<a href="/" class="navbar-brand">
|
|
63
|
+
<div class="brand-icon">⚡</div>
|
|
64
|
+
<span>WAB</span>
|
|
65
|
+
</a>
|
|
66
|
+
<ul class="navbar-links">
|
|
67
|
+
<li><a href="/">Home</a></li>
|
|
68
|
+
<li><a href="/docs">Docs</a></li>
|
|
69
|
+
<li><a href="/api" class="active">API</a></li>
|
|
70
|
+
<li><a href="/integrations">Integrations</a></li>
|
|
71
|
+
<li><a href="/workspace">Workspace</a></li>
|
|
72
|
+
<li><a href="/growth">Growth Suite</a></li>
|
|
73
|
+
</ul>
|
|
74
|
+
<div class="navbar-actions">
|
|
75
|
+
<a href="/login" class="btn btn-ghost" data-wab-auth="guest">Sign In</a>
|
|
76
|
+
<a href="/dashboard" class="btn btn-ghost" data-wab-auth="signed-in" style="display:none">Dashboard</a>
|
|
77
|
+
<a href="/register" class="btn btn-primary btn-sm" data-wab-auth="guest">Get Started</a>
|
|
78
|
+
</div>
|
|
79
|
+
<button class="mobile-menu-btn" onclick="document.querySelector('.navbar-links').classList.toggle('active')">☰</button>
|
|
80
|
+
</div>
|
|
81
|
+
</nav>
|
|
82
|
+
|
|
83
|
+
<!-- ═══════════ HERO ═══════════ -->
|
|
84
|
+
<section class="api-hero">
|
|
85
|
+
<div class="container">
|
|
86
|
+
<div class="lang-switch">
|
|
87
|
+
<button class="active" onclick="switchLang('en')">English</button>
|
|
88
|
+
<button onclick="switchLang('ar')">العربية</button>
|
|
89
|
+
</div>
|
|
90
|
+
<h1 id="hero-title">WAB API Gateway</h1>
|
|
91
|
+
<p class="subtitle" id="hero-subtitle">10 advanced modules for AI agent protection, consumer rights, price tracking, and regulatory compliance — all behind one authenticated API.</p>
|
|
92
|
+
<div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap">
|
|
93
|
+
<a href="#modules" class="btn btn-primary" id="btn-explore">Explore Modules</a>
|
|
94
|
+
<a href="#auth" class="btn btn-ghost" id="btn-getkey">Get API Key</a>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</section>
|
|
98
|
+
|
|
99
|
+
<!-- ═══════════ BASE URL ═══════════ -->
|
|
100
|
+
<div class="gateway-info">
|
|
101
|
+
<div class="info-box">
|
|
102
|
+
<h4 id="baseurl-title">Base URL</h4>
|
|
103
|
+
<div class="endpoint" style="font-size:1rem">
|
|
104
|
+
<span>https://www.webagentbridge.com/api/v1</span>
|
|
105
|
+
</div>
|
|
106
|
+
<p id="baseurl-desc" style="margin-top:12px">All module endpoints are accessed through this single gateway. Internal microservices are never exposed directly.</p>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<!-- ═══════════ MODULES ═══════════ -->
|
|
111
|
+
<h2 class="section-title" id="modules" data-en="API Modules" data-ar="وحدات الـ API">API Modules</h2>
|
|
112
|
+
<div class="module-grid">
|
|
113
|
+
|
|
114
|
+
<!-- 01: Agent Firewall -->
|
|
115
|
+
<div class="module-card">
|
|
116
|
+
<span class="badge badge-pro">PRO</span>
|
|
117
|
+
<span class="status-badge status-partial" data-en="API Open · Engine Closed" data-ar="API مفتوح · المحرك مغلق">API Open · Engine Closed</span>
|
|
118
|
+
<h3 data-en="Agent Firewall" data-ar="جدار حماية الوكلاء">Agent Firewall</h3>
|
|
119
|
+
<p data-en="Scans URLs and content for prompt injections, phishing attempts, and malicious domains. Protects AI agents from manipulation." data-ar="يفحص الروابط والمحتوى للكشف عن حقن الأوامر ومحاولات التصيد والنطاقات الخبيثة. يحمي وكلاء الذكاء الاصطناعي من التلاعب.">Scans URLs and content for prompt injections, phishing attempts, and malicious domains. Protects AI agents from manipulation.</p>
|
|
120
|
+
<div class="endpoint"><span class="method">POST</span> /v1/firewall/scan</div>
|
|
121
|
+
<div class="endpoint"><span class="method">GET</span> /v1/firewall/stats</div>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<!-- 02: Notary -->
|
|
125
|
+
<div class="module-card">
|
|
126
|
+
<span class="badge badge-business">BUSINESS</span>
|
|
127
|
+
<span class="status-badge status-closed" data-en="Fully Closed" data-ar="مغلق بالكامل">Fully Closed</span>
|
|
128
|
+
<h3 data-en="Cryptographic Notary" data-ar="كاتب العدل التشفيري">Cryptographic Notary</h3>
|
|
129
|
+
<p data-en="Issues legally admissible cryptographic certificates proving price discrimination and platform manipulation. Blockchain-anchored." data-ar="يصدر شهادات تشفيرية مقبولة قانونياً لإثبات التمييز السعري وتلاعب المنصات. مرتبطة بالبلوكتشين.">Issues legally admissible cryptographic certificates proving price discrimination and platform manipulation. Blockchain-anchored.</p>
|
|
130
|
+
<div class="endpoint"><span class="method">POST</span> /v1/notary/price</div>
|
|
131
|
+
<div class="endpoint"><span class="method">POST</span> /v1/notary/transaction</div>
|
|
132
|
+
<div class="endpoint"><span class="method">GET</span> /v1/notary/verify/:certId</div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<!-- 03: Dark Pattern Detector -->
|
|
136
|
+
<div class="module-card">
|
|
137
|
+
<span class="badge badge-free">FREE</span>
|
|
138
|
+
<span class="status-badge status-closed" data-en="Fully Closed" data-ar="مغلق بالكامل">Fully Closed</span>
|
|
139
|
+
<h3 data-en="Dark Pattern Detector" data-ar="كاشف الأنماط المظلمة">Dark Pattern Detector</h3>
|
|
140
|
+
<p data-en="Detects all 17 OECD-classified dark patterns. Generates EU DSA/DMA compliant audit reports with legal references." data-ar="يكشف جميع الأنماط المظلمة الـ 17 المصنفة من OECD. يولد تقارير تدقيق متوافقة مع قانون DSA/DMA الأوروبي.">Detects all 17 OECD-classified dark patterns. Generates EU DSA/DMA compliant audit reports with legal references.</p>
|
|
141
|
+
<div class="endpoint"><span class="method">POST</span> /v1/dark-pattern/audit</div>
|
|
142
|
+
<div class="endpoint"><span class="method">POST</span> /v1/dark-pattern/scan</div>
|
|
143
|
+
<div class="endpoint"><span class="method">GET</span> /v1/dark-pattern/patterns</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<!-- 04: Collective Bargaining -->
|
|
147
|
+
<div class="module-card">
|
|
148
|
+
<span class="badge badge-pro">PRO</span>
|
|
149
|
+
<span class="status-badge status-partial" data-en="Join Open · Engine Closed" data-ar="الانضمام مفتوح · المحرك مغلق">Join Open · Engine Closed</span>
|
|
150
|
+
<h3 data-en="Collective Bargaining" data-ar="التفاوض الجماعي">Collective Bargaining</h3>
|
|
151
|
+
<p data-en="Groups buyers anonymously to negotiate bulk discounts. Automatic demand pooling and negotiation triggering." data-ar="يجمع المشترين بشكل مجهول للتفاوض على خصومات جماعية. تجميع الطلب والتفاوض التلقائي.">Groups buyers anonymously to negotiate bulk discounts. Automatic demand pooling and negotiation triggering.</p>
|
|
152
|
+
<div class="endpoint"><span class="method">POST</span> /v1/bargaining/join</div>
|
|
153
|
+
<div class="endpoint"><span class="method">GET</span> /v1/bargaining/pools</div>
|
|
154
|
+
<div class="endpoint"><span class="method">GET</span> /v1/bargaining/pool/:id</div>
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<!-- 05: Gov Intelligence -->
|
|
158
|
+
<div class="module-card">
|
|
159
|
+
<span class="badge badge-business">BUSINESS</span>
|
|
160
|
+
<span class="status-badge status-closed" data-en="Fully Closed" data-ar="مغلق بالكامل">Fully Closed</span>
|
|
161
|
+
<h3 data-en="Gov Intelligence" data-ar="الاستخبارات الحكومية">Gov Intelligence</h3>
|
|
162
|
+
<p data-en="Regulatory compliance database and government intelligence. Checks domain compliance against international regulations." data-ar="قاعدة بيانات الامتثال التنظيمي والاستخبارات الحكومية. يفحص امتثال النطاقات للتشريعات الدولية.">Regulatory compliance database and government intelligence. Checks domain compliance against international regulations.</p>
|
|
163
|
+
<div class="endpoint"><span class="method">GET</span> /v1/gov/check/:domain</div>
|
|
164
|
+
<div class="endpoint"><span class="method">GET</span> /v1/gov/regulations</div>
|
|
165
|
+
<div class="endpoint"><span class="method">POST</span> /v1/gov/compliance-report</div>
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<!-- 06: Price Time Machine -->
|
|
169
|
+
<div class="module-card">
|
|
170
|
+
<span class="badge badge-free">FREE</span>
|
|
171
|
+
<span class="status-badge status-partial" data-en="API Open · DB Closed" data-ar="API مفتوح · قاعدة البيانات مغلقة">API Open · DB Closed</span>
|
|
172
|
+
<h3 data-en="Price Time Machine" data-ar="آلة الزمن السعرية">Price Time Machine</h3>
|
|
173
|
+
<p data-en="Historical price tracking and fake discount detection. Track prices across platforms and detect artificial price inflation before sales." data-ar="تتبع الأسعار التاريخية وكشف التخفيضات الوهمية. تتبع الأسعار عبر المنصات وكشف التضخم السعري المصطنع.">Historical price tracking and fake discount detection. Track prices across platforms and detect artificial price inflation before sales.</p>
|
|
174
|
+
<div class="endpoint"><span class="method">POST</span> /v1/price/track</div>
|
|
175
|
+
<div class="endpoint"><span class="method">GET</span> /v1/price/history/:platform/:productId</div>
|
|
176
|
+
<div class="endpoint"><span class="method">GET</span> /v1/price/compare?product_name=...</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<!-- 07: Neural Engine -->
|
|
180
|
+
<div class="module-card">
|
|
181
|
+
<span class="badge badge-pro">PRO</span>
|
|
182
|
+
<span class="status-badge status-closed" data-en="Fully Closed" data-ar="مغلق بالكامل">Fully Closed</span>
|
|
183
|
+
<h3 data-en="WAB Neural Engine" data-ar="المحرك العصبي">WAB Neural Engine</h3>
|
|
184
|
+
<p data-en="Local AI inference engine for URL analysis, content classification, and text embeddings. Runs entirely on WAB infrastructure." data-ar="محرك ذكاء اصطناعي محلي لتحليل الروابط وتصنيف المحتوى. يعمل بالكامل على بنية WAB التحتية.">Local AI inference engine for URL analysis, content classification, and text embeddings. Runs entirely on WAB infrastructure.</p>
|
|
185
|
+
<div class="endpoint"><span class="method">POST</span> /v1/neural/analyze-url</div>
|
|
186
|
+
<div class="endpoint"><span class="method">POST</span> /v1/neural/classify</div>
|
|
187
|
+
<div class="endpoint"><span class="method">POST</span> /v1/neural/embeddings</div>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<!-- 08: WAB Protocol -->
|
|
191
|
+
<div class="module-card">
|
|
192
|
+
<span class="badge badge-free">FREE</span>
|
|
193
|
+
<span class="status-badge status-open" data-en="Fully Open" data-ar="مفتوح بالكامل">Fully Open</span>
|
|
194
|
+
<h3 data-en="WAB Protocol" data-ar="بروتوكول WAB">WAB Protocol</h3>
|
|
195
|
+
<p data-en="Open wab.json trust protocol specification. Validate any website's WAB compliance. Designed to become a web standard." data-ar="مواصفة بروتوكول الثقة wab.json المفتوحة. تحقق من امتثال أي موقع. مصمم ليصبح معياراً للويب.">Open wab.json trust protocol specification. Validate any website's WAB compliance. Designed to become a web standard.</p>
|
|
196
|
+
<div class="endpoint"><span class="method">POST</span> /v1/protocol/validate</div>
|
|
197
|
+
<div class="endpoint"><span class="method">GET</span> /v1/protocol/check/:domain</div>
|
|
198
|
+
<div class="endpoint"><span class="method">GET</span> /v1/protocol/schema</div>
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
<!-- 09: Bounty Network -->
|
|
202
|
+
<div class="module-card">
|
|
203
|
+
<span class="badge badge-free">FREE</span>
|
|
204
|
+
<span class="status-badge status-partial" data-en="Report Open · Rules Closed" data-ar="الإبلاغ مفتوح · القواعد مغلقة">Report Open · Rules Closed</span>
|
|
205
|
+
<h3 data-en="Bounty Network" data-ar="شبكة المكافآت">Bounty Network</h3>
|
|
206
|
+
<p data-en="Community-powered threat reporting and bug bounty network. Report dark patterns, fake reviews, and manipulation for rewards." data-ar="شبكة مكافآت وبلاغات التهديدات المدعومة من المجتمع. بلّغ عن الأنماط المظلمة والتلاعب واحصل على مكافآت.">Community-powered threat reporting and bug bounty network. Report dark patterns, fake reviews, and manipulation for rewards.</p>
|
|
207
|
+
<div class="endpoint"><span class="method">POST</span> /v1/bounty/report</div>
|
|
208
|
+
<div class="endpoint"><span class="method">GET</span> /v1/bounty/report/:id</div>
|
|
209
|
+
<div class="endpoint"><span class="method">GET</span> /v1/bounty/leaderboard</div>
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
<!-- 10: Affiliate Intelligence -->
|
|
213
|
+
<div class="module-card">
|
|
214
|
+
<span class="badge badge-pro">PRO</span>
|
|
215
|
+
<span class="status-badge status-partial" data-en="API Open · DB Closed" data-ar="API مفتوح · قاعدة البيانات مغلقة">API Open · DB Closed</span>
|
|
216
|
+
<h3 data-en="Affiliate Intelligence" data-ar="استخبارات التسويق بالعمولة">Affiliate Intelligence</h3>
|
|
217
|
+
<p data-en="Detects affiliate link manipulation, cookie stuffing, and tracking pixel abuse. Protects creators and marketers from fraud." data-ar="يكشف التلاعب بروابط التسويق بالعمولة وحشو ملفات تعريف الارتباط. يحمي المسوقين من الاحتيال.">Detects affiliate link manipulation, cookie stuffing, and tracking pixel abuse. Protects creators and marketers from fraud.</p>
|
|
218
|
+
<div class="endpoint"><span class="method">POST</span> /v1/affiliate/scan-url</div>
|
|
219
|
+
<div class="endpoint"><span class="method">POST</span> /v1/affiliate/scan-html</div>
|
|
220
|
+
<div class="endpoint"><span class="method">GET</span> /v1/affiliate/stats</div>
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
<!-- ═══════════ AUTHENTICATION ═══════════ -->
|
|
226
|
+
<h2 class="section-title" id="auth" data-en="Authentication" data-ar="المصادقة">Authentication</h2>
|
|
227
|
+
<div class="auth-section">
|
|
228
|
+
<p data-en="All module endpoints require an API key. Get your key from the WAB Workspace, then include it in every request:" data-ar="جميع نقاط النهاية تتطلب مفتاح API. احصل على مفتاحك من مساحة عمل WAB، ثم أضفه في كل طلب:" style="color:#94a3b8;margin-bottom:20px">All module endpoints require an API key. Get your key from the WAB Workspace, then include it in every request:</p>
|
|
229
|
+
|
|
230
|
+
<h4 data-en="Option 1: Authorization Header (Recommended)" data-ar="الخيار 1: ترويسة التفويض (موصى بها)">Option 1: Authorization Header (Recommended)</h4>
|
|
231
|
+
<div class="code-block">
|
|
232
|
+
curl -X POST https://www.webagentbridge.com/api/v1/firewall/scan \
|
|
233
|
+
-H "Authorization: Bearer wab_live_pro_YOUR_KEY" \
|
|
234
|
+
-H "Content-Type: application/json" \
|
|
235
|
+
-d '{"url": "https://example.com", "content": "page content..."}'
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
<h4 style="margin-top:24px" data-en="Option 2: X-WAB-Key Header" data-ar="الخيار 2: ترويسة X-WAB-Key">Option 2: X-WAB-Key Header</h4>
|
|
239
|
+
<div class="code-block">
|
|
240
|
+
curl -H "X-WAB-Key: wab_live_pro_YOUR_KEY" \
|
|
241
|
+
https://www.webagentbridge.com/api/v1/protocol/check/example.com
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
<h4 style="margin-top:24px" data-en="Option 3: Query Parameter" data-ar="الخيار 3: معامل الاستعلام">Option 3: Query Parameter</h4>
|
|
245
|
+
<div class="code-block">
|
|
246
|
+
GET /api/v1/bounty/stats?api_key=wab_live_fre_YOUR_KEY
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
<h4 style="margin-top:32px" data-en="Generate API Key" data-ar="إنشاء مفتاح API">Generate API Key</h4>
|
|
250
|
+
<div class="code-block">
|
|
251
|
+
curl -X POST https://www.webagentbridge.com/api/v1/keys/generate \
|
|
252
|
+
-H "Content-Type: application/json" \
|
|
253
|
+
-d '{"plan": "FREE", "owner": "Your Name", "email": "you@example.com"}'
|
|
254
|
+
</div>
|
|
255
|
+
|
|
256
|
+
<h4 style="margin-top:32px" data-en="Key Management Endpoints" data-ar="نقاط إدارة المفاتيح">Key Management Endpoints</h4>
|
|
257
|
+
<div class="code-block" style="line-height:2">
|
|
258
|
+
POST /api/v1/keys/generate — <span data-en="Create a new API key" data-ar="إنشاء مفتاح جديد">Create a new API key</span>
|
|
259
|
+
POST /api/v1/keys/validate — <span data-en="Validate an existing key" data-ar="التحقق من صلاحية مفتاح">Validate an existing key</span>
|
|
260
|
+
GET /api/v1/keys/usage — <span data-en="Check usage and quotas" data-ar="التحقق من الاستخدام والحصص">Check usage and quotas</span>
|
|
261
|
+
POST /api/v1/keys/revoke — <span data-en="Revoke a key" data-ar="إلغاء مفتاح">Revoke a key</span>
|
|
262
|
+
POST /api/v1/keys/rotate — <span data-en="Rotate a key (revoke old, issue new)" data-ar="تدوير مفتاح (إلغاء القديم، إصدار جديد)">Rotate a key (revoke old, issue new)</span>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
<!-- ═══════════ PRICING PLANS ═══════════ -->
|
|
267
|
+
<h2 class="section-title" id="pricing" data-en="API Plans" data-ar="خطط الـ API">API Plans</h2>
|
|
268
|
+
<div class="plans-grid">
|
|
269
|
+
<div class="plan-card">
|
|
270
|
+
<h3>Free</h3>
|
|
271
|
+
<div class="price">$0<span>/mo</span></div>
|
|
272
|
+
<ul>
|
|
273
|
+
<li data-en="100 requests/day" data-ar="100 طلب/يوم">100 requests/day</li>
|
|
274
|
+
<li data-en="10 requests/min" data-ar="10 طلبات/دقيقة">10 requests/min</li>
|
|
275
|
+
<li data-en="Dark Pattern Detector" data-ar="كاشف الأنماط المظلمة">Dark Pattern Detector</li>
|
|
276
|
+
<li data-en="Price Time Machine" data-ar="آلة الزمن السعرية">Price Time Machine</li>
|
|
277
|
+
<li data-en="WAB Protocol" data-ar="بروتوكول WAB">WAB Protocol</li>
|
|
278
|
+
<li data-en="Bounty Network" data-ar="شبكة المكافآت">Bounty Network</li>
|
|
279
|
+
<li class="no" data-en="Agent Firewall" data-ar="جدار الحماية">Agent Firewall</li>
|
|
280
|
+
<li class="no" data-en="Neural Engine" data-ar="المحرك العصبي">Neural Engine</li>
|
|
281
|
+
<li data-en="Community support" data-ar="دعم مجتمعي">Community support</li>
|
|
282
|
+
</ul>
|
|
283
|
+
</div>
|
|
284
|
+
<div class="plan-card featured">
|
|
285
|
+
<h3>Pro</h3>
|
|
286
|
+
<div class="price">$29<span>/mo</span></div>
|
|
287
|
+
<ul>
|
|
288
|
+
<li data-en="10,000 requests/day" data-ar="10,000 طلب/يوم">10,000 requests/day</li>
|
|
289
|
+
<li data-en="100 requests/min" data-ar="100 طلب/دقيقة">100 requests/min</li>
|
|
290
|
+
<li data-en="All Free modules +" data-ar="جميع وحدات Free +">All Free modules +</li>
|
|
291
|
+
<li data-en="Agent Firewall" data-ar="جدار الحماية">Agent Firewall</li>
|
|
292
|
+
<li data-en="Neural Engine" data-ar="المحرك العصبي">Neural Engine</li>
|
|
293
|
+
<li data-en="Collective Bargaining" data-ar="التفاوض الجماعي">Collective Bargaining</li>
|
|
294
|
+
<li data-en="Affiliate Intelligence" data-ar="استخبارات التسويق">Affiliate Intelligence</li>
|
|
295
|
+
<li data-en="Email support" data-ar="دعم بريد إلكتروني">Email support</li>
|
|
296
|
+
</ul>
|
|
297
|
+
</div>
|
|
298
|
+
<div class="plan-card">
|
|
299
|
+
<h3>Business</h3>
|
|
300
|
+
<div class="price">$149<span>/mo</span></div>
|
|
301
|
+
<ul>
|
|
302
|
+
<li data-en="100,000 requests/day" data-ar="100,000 طلب/يوم">100,000 requests/day</li>
|
|
303
|
+
<li data-en="500 requests/min" data-ar="500 طلب/دقيقة">500 requests/min</li>
|
|
304
|
+
<li data-en="All 10 modules" data-ar="جميع الوحدات العشر">All 10 modules</li>
|
|
305
|
+
<li data-en="Cryptographic Notary" data-ar="كاتب العدل التشفيري">Cryptographic Notary</li>
|
|
306
|
+
<li data-en="Gov Intelligence" data-ar="الاستخبارات الحكومية">Gov Intelligence</li>
|
|
307
|
+
<li data-en="Priority support" data-ar="دعم أولوية">Priority support</li>
|
|
308
|
+
<li data-en="365-day data retention" data-ar="حفظ البيانات 365 يوم">365-day data retention</li>
|
|
309
|
+
</ul>
|
|
310
|
+
</div>
|
|
311
|
+
<div class="plan-card">
|
|
312
|
+
<h3>Enterprise</h3>
|
|
313
|
+
<div class="price" data-en="Custom" data-ar="مخصص">Custom</div>
|
|
314
|
+
<ul>
|
|
315
|
+
<li data-en="Unlimited requests" data-ar="طلبات غير محدودة">Unlimited requests</li>
|
|
316
|
+
<li data-en="All 10 modules" data-ar="جميع الوحدات العشر">All 10 modules</li>
|
|
317
|
+
<li data-en="Dedicated support" data-ar="دعم مخصص">Dedicated support</li>
|
|
318
|
+
<li data-en="Custom SLA" data-ar="اتفاقية SLA مخصصة">Custom SLA</li>
|
|
319
|
+
<li data-en="On-premise option" data-ar="خيار التشغيل المحلي">On-premise option</li>
|
|
320
|
+
</ul>
|
|
321
|
+
</div>
|
|
322
|
+
</div>
|
|
323
|
+
|
|
324
|
+
<!-- ═══════════ FOOTER ═══════════ -->
|
|
325
|
+
<footer class="footer">
|
|
326
|
+
<div class="container">
|
|
327
|
+
<div class="footer-grid">
|
|
328
|
+
<div class="footer-brand">
|
|
329
|
+
<a href="/" class="navbar-brand">
|
|
330
|
+
<div class="brand-icon">⚡</div>
|
|
331
|
+
<span>Web Agent Bridge</span>
|
|
332
|
+
</a>
|
|
333
|
+
<p data-en="Open-source middleware for AI agent and website interaction. Built for the future of intelligent automation." data-ar="وسيط مفتوح المصدر لتفاعل وكلاء الذكاء الاصطناعي مع المواقع. مبني لمستقبل الأتمتة الذكية.">Open-source middleware for AI agent and website interaction. Built for the future of intelligent automation.</p>
|
|
334
|
+
</div>
|
|
335
|
+
<div class="footer-col">
|
|
336
|
+
<h4 data-en="Product" data-ar="المنتج">Product</h4>
|
|
337
|
+
<ul>
|
|
338
|
+
<li><a href="/#features" data-en="Features" data-ar="الميزات">Features</a></li>
|
|
339
|
+
<li><a href="/docs" data-en="Documentation" data-ar="التوثيق">Documentation</a></li>
|
|
340
|
+
<li><a href="/api" data-en="API Reference" data-ar="مرجع الـ API">API Reference</a></li>
|
|
341
|
+
<li><a href="/workspace" data-en="Agent Workspace" data-ar="مساحة العمل">Agent Workspace</a></li>
|
|
342
|
+
<li><a href="/growth" data-en="Growth Suite" data-ar="مجموعة النمو">Growth Suite</a></li>
|
|
343
|
+
</ul>
|
|
344
|
+
</div>
|
|
345
|
+
<div class="footer-col">
|
|
346
|
+
<h4 data-en="Developers" data-ar="المطورون">Developers</h4>
|
|
347
|
+
<ul>
|
|
348
|
+
<li><a href="/docs#quick-start" data-en="Quick Start" data-ar="البدء السريع">Quick Start</a></li>
|
|
349
|
+
<li><a href="/api#auth" data-en="API Keys" data-ar="مفاتيح API">API Keys</a></li>
|
|
350
|
+
<li><a href="https://github.com/abokenan444/web-agent-bridge" target="_blank" rel="noopener">GitHub</a></li>
|
|
351
|
+
</ul>
|
|
352
|
+
</div>
|
|
353
|
+
<div class="footer-col">
|
|
354
|
+
<h4 data-en="Legal" data-ar="قانوني">Legal</h4>
|
|
355
|
+
<ul>
|
|
356
|
+
<li><a href="/privacy" data-en="Privacy Policy" data-ar="سياسة الخصوصية">Privacy Policy</a></li>
|
|
357
|
+
<li><a href="/terms" data-en="Terms of Service" data-ar="شروط الخدمة">Terms of Service</a></li>
|
|
358
|
+
<li><a href="/cookies" data-en="Cookie Policy" data-ar="سياسة ملفات تعريف الارتباط">Cookie Policy</a></li>
|
|
359
|
+
</ul>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
<div class="footer-bottom">
|
|
363
|
+
<span>© 2026 Web Agent Bridge. MIT License. Operated from the Netherlands.</span>
|
|
364
|
+
</div>
|
|
365
|
+
</div>
|
|
366
|
+
</footer>
|
|
367
|
+
|
|
368
|
+
<script src="/js/auth-nav.js?v=3.0.1"></script>
|
|
369
|
+
<script src="/js/cookie-consent.js?v=3.0.1"></script>
|
|
370
|
+
<script>
|
|
371
|
+
// ─── i18n ──────────────────────────────────────────────
|
|
372
|
+
const translations = {
|
|
373
|
+
en: {
|
|
374
|
+
'hero-title': 'WAB API Gateway',
|
|
375
|
+
'hero-subtitle': '10 advanced modules for AI agent protection, consumer rights, price tracking, and regulatory compliance — all behind one authenticated API.',
|
|
376
|
+
'btn-explore': 'Explore Modules',
|
|
377
|
+
'btn-getkey': 'Get API Key',
|
|
378
|
+
'baseurl-title': 'Base URL',
|
|
379
|
+
'baseurl-desc': 'All module endpoints are accessed through this single gateway. Internal microservices are never exposed directly.',
|
|
380
|
+
},
|
|
381
|
+
ar: {
|
|
382
|
+
'hero-title': 'بوابة WAB API',
|
|
383
|
+
'hero-subtitle': '10 وحدات متقدمة لحماية وكلاء الذكاء الاصطناعي وحقوق المستهلك وتتبع الأسعار والامتثال التنظيمي — كلها خلف API واحد مصادق عليه.',
|
|
384
|
+
'btn-explore': 'استكشف الوحدات',
|
|
385
|
+
'btn-getkey': 'احصل على مفتاح API',
|
|
386
|
+
'baseurl-title': 'عنوان URL الأساسي',
|
|
387
|
+
'baseurl-desc': 'يتم الوصول لجميع نقاط النهاية عبر هذه البوابة الواحدة. الخدمات الداخلية لا تُكشف مباشرة أبداً.',
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
function switchLang(lang) {
|
|
392
|
+
const isAr = lang === 'ar';
|
|
393
|
+
document.documentElement.lang = lang;
|
|
394
|
+
document.documentElement.dir = isAr ? 'rtl' : 'ltr';
|
|
395
|
+
|
|
396
|
+
document.querySelectorAll('.lang-switch button').forEach(b => b.classList.remove('active'));
|
|
397
|
+
document.querySelectorAll('.lang-switch button')[isAr ? 1 : 0].classList.add('active');
|
|
398
|
+
|
|
399
|
+
// Update static-id elements
|
|
400
|
+
const t = translations[lang];
|
|
401
|
+
for (const [id, text] of Object.entries(t)) {
|
|
402
|
+
const el = document.getElementById(id);
|
|
403
|
+
if (el) el.textContent = text;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
// Update data-en/data-ar elements
|
|
407
|
+
document.querySelectorAll('[data-' + lang + ']').forEach(el => {
|
|
408
|
+
el.textContent = el.getAttribute('data-' + lang);
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
</script>
|
|
412
|
+
</body>
|
|
413
|
+
</html>
|