Everything between query and answer.
Search, fetch, extract and research. Clean markdown out, over REST or MCP.
Already built in
One API for the whole web.
REST or MCP, one key, clean markdown out. Choose what your agent needs and see the request and what comes back.
Search
POST /v1/search 1 to 2 credits, +2 with answerSearch the web and get page content, not just snippets. Choose a search depth to balance speed and detail, and add an AI answer when you want one.
search_depthmax_resultsinclude_answerinclude_domainstopicfreshness
All parameters in the docs
Fetch
POST /v1/fetch 1 credit per URLFetch URLs and get clean markdown. Web pages, PDF, DOCX, XLSX, PPTX, EPUB and other document formats.
urlsinclude_raw_html
All parameters in the docs
Extract
POST /v1/extract 10 creditsFetch a page and ask AI about it. Pricing, contact info, specs. Describe what you need and get a written answer.
urlprompt
All parameters in the docs
Research
POST /v1/research 50 creditsDeep research on any topic. Breaks your question into sub-queries, searches up to 30 sources, then synthesizes a report.
max_sourcestopicfreshness
All parameters in the docs
curl https://sofya.co/v1/search \
-H "Authorization: Bearer sofya_live_..." \
-H "Content-Type: application/json" \
-d '{
"query": "why is the sky blue",
"search_depth": "basic",
"max_results": 5
}'
{
"query": "why is the sky blue",
"results": [{
"title": "Why Is the Sky Blue? | NASA Space Place",
"url": "https://spaceplace.nasa.gov/blue-sky/en/",
"content": "# Why Is the Sky Blue?\n\n...",
"fetched": true
}],
"search_depth": "basic",
"topic": "general",
"credits_used": 2,
"credits_remaining": 1998
}
curl https://sofya.co/v1/fetch \
-H "Authorization: Bearer sofya_live_..." \
-H "Content-Type: application/json" \
-d '{
"urls": [
"https://example.com/report.pdf"
]
}'
{
"results": [{
"title": "report.pdf",
"url": "https://example.com/report.pdf",
"content": "# Annual report\n\n...",
"success": true
}],
"credits_used": 1,
"credits_remaining": 1999
}
curl https://sofya.co/v1/extract \
-H "Authorization: Bearer sofya_live_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/pricing",
"prompt": "list all pricing tiers with features"
}'
{
"content": "Starter: ...\nPro: ...",
"url": "https://example.com/pricing",
"credits_used": 10,
"credits_remaining": 1990,
"usage": {
"input_tokens": 3120,
"output_tokens": 240,
"content_chars": 9870,
"low_content": false
}
}
curl https://sofya.co/v1/research \
-H "Authorization: Bearer sofya_live_..." \
-H "Content-Type: application/json" \
-d '{
"query": "how do MCP servers handle auth?",
"max_sources": 20
}'
{
"query": "how do MCP servers handle auth?",
"report": "## Summary\n\n...",
"sources": [{ "title": "...", "url": "...", "fetched": true }],
"sub_queries": ["...", "..."],
"credits_used": 50,
"credits_remaining": 1950,
"usage": { "input_tokens": 41200, "output_tokens": 2310 }
}
Pay only for what you call.
$0.0025 a credit, no subscription. Top up from $10 (4,000 credits). Purchased credits never expire.
We are building our own index.
We crawl the web ourselves and rank results ourselves, so Sofya can stand on its own instead of reselling another engine.
- CrawlOur crawler, SofyaBot, visits pages across the web. It reads robots.txt and obeys it.
- IndexWe index what it finds in our own search index.
- RankOur own ranking picks the best pages for each query.
Sofya Search
100% our own indexsearch.sofya.co runs only on our index. Every result is a page SofyaBot crawled, ranked by us. Same account and credits as the API.
The API
Hybrid, for nowToday the API combines our index with other web search sources and ranks the merged results itself. In our tests that mix beats our index alone, and the API's quality comes first.
We are moving the API to our own index step by step, until it is fully independent.
Works with your tools.
A 30-second setup in any MCP client that supports remote HTTP servers. Sign in from claude.ai, Claude Desktop or ChatGPT, or send your key as a header; the model never sees it.
sofya_live_. claude.ai and ChatGPT skip this: they sign in instead.
Get a key
Name: Sofya URL: https://mcp.sofya.co/mcp Then sign in with your Sofya account. No key to paste.
claude mcp add --transport http sofya \ https://mcp.sofya.co/mcp \ --header "Authorization: Bearer sofya_live_..."
{
"mcpServers": {
"sofya": {
"url": "https://mcp.sofya.co/mcp",
"headers": { "Authorization": "Bearer sofya_live_..." }
}
}
}
[mcp_servers.sofya]
url = "https://mcp.sofya.co/mcp"
http_headers = { "Authorization" = "Bearer sofya_live_..." }
{
"mcpServers": {
"sofya": {
"serverUrl": "https://mcp.sofya.co/mcp",
"headers": { "Authorization": "Bearer sofya_live_..." }
}
}
}
{
"servers": {
"sofya": {
"type": "http",
"url": "https://mcp.sofya.co/mcp",
"headers": { "Authorization": "Bearer sofya_live_..." }
}
}
}
2,000 free credits every 30 days
When you sign up with a GitHub account at least a year old. Email sign-ups start with 0 credits. All tools included.