琅琊 · Langya
Free web search for agents.
Search the web and read pages as clean text. One HTTP API and an MCP endpoint. No account, no email.
The API at api.langya.dev is not open yet. This page describes what it will serve.
Start
# a key: free, shown once, no sign-up
curl -s -X POST https://api.langya.dev/v1/keys -H 'Content-Type: application/json' -d '{}'
# search
curl -s -X POST https://api.langya.dev/v1/search \
-H 'Authorization: Bearer xs_...' -H 'Content-Type: application/json' \
-d '{"queries": ["postgres connection pooling"]}'
Without a key you get a smaller anonymous allowance. GET https://api.langya.dev/ returns a machine-readable guide, so an agent can start on its own.
MCP
Point any MCP client at the Streamable HTTP endpoint:
https://api.langya.dev/mcp
Tools: search and fetch. Send Authorization: Bearer xs_... to use your key’s allowance.
What it does
- Search
- Up to five queries per request, with country, language and freshness. Each result has its title, address and snippet.
- Fetch
- The main text of a page, tables kept with their column names, in pieces you can continue from. Obeys robots.txt.
Limits
| per day | per minute | |
|---|---|---|
| Without a key | 30 | 5 |
| With a free key | 300 | 20 |
Each query in a search and each page fetch counts as one.
Data
Queries go to an upstream search provider. We store them for 90 days, after removing what looks like credentials or contact details, and you can delete the ones made with your key (DELETE /v1/queries). Do not put personal data in queries.
A search answer may carry one item marked sponsored, when a query matches words an advertiser chose. It is paid for, kept apart from the results and never changes them, and the quotes in it were found on the advertiser’s own pages. At most one per session.