Mosaic API

Cross-platform search

Cross-platform search as a pipeline: query intent detection, per-source entity resolution (handles are verified before account legs run), fan-out to live sources only, cross-source deduplication, relevance scoring with a floor, and per-source receipts (latency, cost, kept/dropped). A search with nothing relevant returns NO_USEFUL_SIGNAL and charges 0; partial source failures prorate the price. Set estimate=true for a free plan + max-cost preview.

Endpoint

GET/v1/search/alllive · proven10 credits
Try in Playground

Parameters

Query parameters

NameRequiredDescriptionExample
queryyesWhat to search. Plain topics, "quoted phrases", @handles, owner/repo, domains and URLs are each understood.model context protocol
estimatenotrue returns the execution plan and maximum cost without running anything. Free.true
sourcesnoComma list restricting the fan-out. Default sources (github, hackernews, reddit, bluesky, youtube) run unless excluded; metered sources (tiktok, instagram, linkedin, threads, pinterest, x) run ONLY when named here; free niche lanes (polymarket, google_news) also run only when named. A leg that cannot serve the query kind is skipped with the reason in the receipts. Unknown names are ignored with a warning; 'twitter' is accepted for x.github,reddit,tiktok
excludenoComma list of sources to leave out.bluesky
commentsnotrue fetches the top comments for the top results, cited per item under top_comments — only from sources with a live comment endpoint (reddit, hackernews, youtube; tiktok/instagram when opted in via sources=). Enrichment receipts land in the enrichment section; failures degrade per item.true
lookback_daysnoOnly results from the last N days, where the source supports it.7
timeframenohour | day | week | month | year | all — coarse alternative to lookback_days.week
from_datenoISO date lower bound, where the source supports it.2026-01-01
to_datenoISO date upper bound, where the source supports it.2026-03-01
streamno1 answers text/event-stream: plan, source-started, source-completed, cost and enrichment progress events as legs actually run, then one final result event carrying the exact envelope a plain call returns — same billing, same receipts.1

Examples

Make the request

curl
curl "https://www.monocrawl.com/v1/search/all?query=model%20context%20protocol" \
  -H "x-api-key: mn_your_key_here"
TypeScript
typescript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
  "https://www.monocrawl.com/v1/search/all?query=model%20context%20protocol",
  { headers: { "x-api-key": key } },
);
const body = await res.json();

if (!body.success) {
  // one error shape for every endpoint — see /docs/errors
  throw new Error(`${body.error.type}: ${body.error.message}`);
}

console.log(body.data, "credits left:", body.credits_remaining);
Python
python
import os
import requests

res = requests.get(
    "https://www.monocrawl.com/v1/search/all?query=model%20context%20protocol",
    headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
    timeout=60,
)
body = res.json()

if not body["success"]:
    # one error shape for every endpoint — see /docs/errors
    raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")

print(body["data"], "credits left:", body["credits_remaining"])

Response

One envelope across every endpoint

This illustrative envelope is not a live response or a payload schema. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.

200 · application/json
{
  "success": true,
  "platform": "search",
  "endpoint": "/v1/search/all",
  "data": { "…": "platform-specific fields" },
  "credits_used": 10,
  "credits_remaining": 99,
  "request_id": "req_…",
  "cached": false
}

Failures return the shared typed error envelope and cost nothing. Response contract · Error reference

First call in under a minute

1,000 monthly free credits and a ready-made key the moment you sign up. No card.