JavaScript & TypeScript
Add web search to your app with the typed client. Node.js 18+.
npm install @purili/web-searchpuri.li/api
A straightforward public API for Purili's independent web index. Search for pages, retrieve their stored content, and ship without keys, quotas, or billing.
Building an independent web index
example.org/research
How modern search crawlers work
docs.example.net/crawling
Open infrastructure for the web
web.example.com/index
source: purili-index · liveFetch: false
Start building
No Purili account or API key required. Use an official package, connect an agent, or call the API directly.
Add web search to your app with the typed client. Node.js 18+.
npm install @purili/web-searchGive your agent search and indexed context tools. Bring your own model provider.
npm install @purili/ai-sdk aiConnect a client that supports remote Streamable HTTP to the hosted server.
https://puri.li/mcpInstall the native plugin to make Purili search tools available to your agent.
openclaw plugins install npm:@purili/openclawThe basic workflow
Search returns ranked pages and clean snippets. Context turns a selected result into stored, machine-readable text.
GET /api/search?q=...Query Purili's crawler-built index using normal terms or advanced operators.
GET /api/context?url=...Get extracted text, passages, structured metadata, and an explicit coverage label.
Available now
/api/searchRanked results from our web index.
/api/contextStored text for an indexed URL.
/api/suggestClean autocomplete suggestions.
/api/correctQuery spelling and spacing corrections.
/api/infocardEntities, facts, and instant answers.
/api/imagesWikimedia-powered image results.
/api/newsCached news feed results.
/api/crawler-statsLive public index statistics.
Core search results come from Purili's own crawler and index—not a repackaged search provider.
Use the official TypeScript SDK, an agent integration, or any HTTP client. No account or API key required.
Plain JSON, explicit provenance, coverage labels, CORS support, and documented failure modes.
Parameters, schemas, examples, errors, CORS, usage policy, and all public endpoints.
Explore working examples and choose how to connect your app.