Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Proxy /exchange/analytics
Developers Digesta1e02367159f
diff --git a/apps/api/src/routes/exchange.ts b/apps/api/src/routes/exchange.tsindex ac42335b1..8c71957ae 100644--- a/apps/api/src/routes/exchange.ts+++ b/apps/api/src/routes/exchange.ts@@ -8,6 +8,7 @@ import { authMiddleware, wrap } from "./shared";const DISCOVER_TIMEOUT_MS = 10_000;const RETRIEVE_TIMEOUT_MS = 50_000;+const ANALYTICS_TIMEOUT_MS = 20_000;const FORWARDED_REQUEST_HEADERS = ["accept", "x-request-id"];const FORWARDED_RESPONSE_HEADERS = ["content-type", "x-request-id"];@@ -116,3 +117,9 @@ exchangeRouter.post(authMiddleware(RateLimiterMode.Labs),wrap(exchangeProxy(RETRIEVE_TIMEOUT_MS)),);++exchangeRouter.get(+ "/analytics{/*path}",+ authMiddleware(RateLimiterMode.Labs),+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS)),+);