PeumeAPI

Search & SEO

Web Search

Search the web and optionally scrape each result to Markdown in one call.

$0.003 per credit

Call it

curl https://api.peume.com/v1/call/web-search \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: web-search.

Parameters

queryRequiredstring

Search query. Accepts natural language as well as Google-style operators: site:, -site:, inurl:, intitle:, quoted phrases, OR. Ask about ONE entity or case per call, in a few words — long multi-keyword or multi-entity queries drift off topic. site: keeps the results on one domain; quoted phrases and a name, employer or handle in plain words do not restrict them.

numResultsinteger

Number of results to request and return (1-100, default 10). This is also what sizes the admission hold — one credit per 10 results, plus one per result when Markdown is enabled.

includeDomainsarray

Allowlist — only return results from these domains. The reliable way to keep results on a known official site (a company's own domain, a docs host).

excludeDomainsarray

Blocklist — drop results from these domains.

freshnessstring

Restrict results to content published within this window.

last_24_hours · last_week · last_month · last_year

countrystring

Two-letter ISO 3166-1 alpha-2 country code (e.g. 'us', 'gb', 'de'). Must be one of supported countries.

languagesstring

Only return results in these languages — BCP 47 codes such as ['en', 'de'] — or 'all' (default).

descriptionMaxCharactersinteger

Truncate each result's description to this many characters.

queryFanoutboolean

Accepted for compatibility; currently ignores it, so it does not change the results.

markdownOptionsobject

Inline Markdown scraping for each result. Set enabled: true to activate.

timeoutMSinteger

Upstream deadline in milliseconds (1000-110000). stops the call when it passes; the cap leaves the run time to return the answer within the endpoint's budget.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.