One API to scrape, index, and search any website, GitHub repo, or YouTube channel. Sub-100ms. Bypass anti-bot protection. No vector ops. No infra.
GET FREE API KEY →Everything runs on three core operations. Mix and match to build exactly what you need.
Point at any URL and we crawl every page — JS rendering, pagination, anti-bot protection. All handled.
Ask questions in plain English. Our hybrid semantic + keyword engine returns the exact answer in under 100ms.
Subscribe to knowledge updates. When content changes, we send a webhook with clean markdown and structured data.
One SDK call to extract, search, and index any website. Fits right into your stack with SDKs, CLI, and MCP.
1import KnowledgeSDK from '@knowledgesdk/node';2 3const knowledge = new KnowledgeSDK('sk_ks_xxxxxxxxxx');4 5const result = await knowledge.extract({6 url: 'https://docs.stripe.com',7 refresh: 'DAILY', // 'HOURLY' | 'DAILY' | 'WEEKLY'8 maxPages: 500,9});10 11// Now search with AI semantic search12const searchResult = await knowledge.search({13 term: "How do i setup stripe in my node.js project?"14});15 16// Optional: Setup webhooks to receive content changes17const webhook = await knowledge.webhooks.create({18 events: ['EXTRACTION_COMPLETED', "PAGE_UPDATED"],19 url: 'https://webhook.site/handle-webhook',20});21 Everything runs on three core operations. Mix and match to build exactly what you need.
Point at any URL and we crawl every page — JS rendering, pagination, anti-bot protection. All handled.
Ask questions in plain English. Our hybrid semantic + keyword engine returns the exact answer in under 100ms.
Found in stripe.com/docs → 429 Too Many Requests → Retry-After header → Exponential backoff
Subscribe to knowledge updates. When content changes, we send a webhook with clean markdown and structured data.
POST /your-endpoint
{
"event": "knowledge.updated",
"url": "stripe.com/docs",
"markdown": "...",
"data": { ... }
}Plug the API, schedule a refresh—hourly, daily, weekly, or monthly—and get instant AI semantic search. We handle the scraping, chunking, embeddings, and re-indexing. You handle the fun stuff.
import KnowledgeSDK from '@knowledgesdk/node'; const knowledge = new KnowledgeSDK('sk_ks_...'); // Extract + schedule automatic refreshawait knowledge.extract({ url: 'https://docs.stripe.com', schedule: 'daily', // hourly | daily | weekly | monthly}); // Instant AI semantic searchconst result = await knowledge.search({ term: "How do I setup Stripe payments?"});Sample results from an indexed YouTube channel
Demo modeIn this video, MrBeast and his team bought every chocolate bar from every store within a 5 mile radius. They collected over 10,000 chocolate bars and gave them all away to random strangers at a park.
https://youtube.com/@MrBeast
MrBeast spent 50 hours buried alive in a custom underground chamber. The challenge tested his physical and mental limits. He emerged after the full duration and donated $10,000 to charity.
https://youtube.com/@MrBeast
MrBeast recreated the popular Netflix show Squid Game with 456 real contestants competing for a $456,000 prize. The production spanned multiple days and cost millions to produce.
https://youtube.com/@MrBeast
Walked up to random strangers and handed out a total of $1,000,000. Each person received between $1 and $100,000. The reactions ranged from disbelief to tears of joy.
https://youtube.com/@MrBeast
Index any public GitHub repo — README, releases, issues — and make it searchable in seconds.
Learn more →Extract transcripts from entire YouTube channels and build a searchable video knowledge base.
Learn more →Give your AI agent real-time access to any website's content through our search API.
Get started →Use publishable keys (pk_ks_*) to call the public search endpoint directly from your frontend. No server required. Zero CORS issues.
// Frontend search — no server needed
const res = await fetch(
'https://api.knowledgesdk.com/v1/projects/my-project/search/public?
q=react+hooks&
pk=pk_ks_...',
);
const data = await res.json();
// { results: [...], total: 12, ms: 42 }| METHOD | ENDPOINT | DESCRIPTION |
|---|---|---|
| POST | /v1/extract | Full knowledge extraction (~1-3min) |
| POST | /v1/extract/async | Async extraction, returns jobId |
| POST | /v1/scrape | URL → clean markdown (~5s) |
| POST | /v1/screenshot | URL → base64 PNG (~3s) |
| POST | /v1/classify | AI business classification (~10s) |
| POST | /v1/sitemap | Discover all URLs on a domain |
| POST | /v1/search | Semantic search over your knowledge |
| POST | /v1/projects/{id}/index | Index a URL, GitHub repo, or YouTube channel |
| GET | /v1/projects/{id}/search/public | Public search with publishable key |
| GET | /v1/jobs/{jobId} | Poll async job status |
Drop KnowledgeSDK into any MCP-compatible AI tool. Your knowledge base becomes a searchable AI tool instantly.
// ~/.claude/claude_desktop_config.json
{
"mcpServers": {
"knowledgesdk": {
"command": "npx",
"args": ["@knowledgesdk/mcp"],
"env": {
"KNOWLEDGESDK_API_KEY": "sk_ks_..."
}
}
}
}npm install @knowledgesdk/nodepip install knowledgesdknpx @knowledgesdk/mcpnpx @knowledgesdk/cli