Web, pages and documents logo

Web search: licensed Exa/Brave results with snippets

$0.01 USDC per call · Developer and security · POST /api/v1/web-search · Id web-search

Runs a web search through a licensed search API (Exa or Brave) and returns up to 10 ranked results with title, URL, snippet, highlights and published date, for agents that need current links. Does not scrape search engines, does not fetch or summarize the result pages (use page-contents for that), and does not use a model.

What you get

Current web results from a licensed index in one call, without a search-API account or key.

Call it

Send the JSON body below to https://agents.writerslogic.com/api/v1/web-search. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.

curl -i -X POST https://agents.writerslogic.com/api/v1/web-search \
  -H 'content-type: application/json' \
  -d '{"query":"x402 payment protocol HTTP 402","num_results":5,"include_text":true}'

Input

FieldTypeRequiredDescription
querystring; length 1..400yesSearch query.
num_resultsinteger; 1..10no
providerstring; one of "auto", "exa", "brave"noauto uses Exa when configured, else Brave.
include_textbooleannoAsk the provider for highlights/extra snippet text per result.
sitestring; length 0..253noRestrict to a domain, for example example.com.
date_fromstring; length 0..10noOnly results published on or after this date, YYYY-MM-DD.

Example request body

{
  "query": "x402 payment protocol HTTP 402",
  "num_results": 5,
  "include_text": true
}

Result

The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.

FieldTypeRequiredDescription
providerstring; one of "exa", "brave"no
querystringno
query_sha256stringno
resultsarray<object>no
result_countintegerno
fetched_atstringno
limitsobjectno

Pay and connect

Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.

Machine-readable