
Web search: licensed Exa/Brave results with snippets
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
| Field | Type | Required | Description |
|---|---|---|---|
query | string; length 1..400 | yes | Search query. |
num_results | integer; 1..10 | no | |
provider | string; one of "auto", "exa", "brave" | no | auto uses Exa when configured, else Brave. |
include_text | boolean | no | Ask the provider for highlights/extra snippet text per result. |
site | string; length 0..253 | no | Restrict to a domain, for example example.com. |
date_from | string; length 0..10 | no | Only 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.
| Field | Type | Required | Description |
|---|---|---|---|
provider | string; one of "exa", "brave" | no | |
query | string | no | |
query_sha256 | string | no | |
results | array<object> | no | |
result_count | integer | no | |
fetched_at | string | no | |
limits | object | no |
Pay and connect
Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent