WebActive

Web Search

Search for factual information via DuckDuckGo + Wikipedia. Returns heading, abstract (plain-language summary), abstract_url, and results (list of relevant links). Best for: people, places, concepts, history, science. NOT for breaking news — use news-search instead.

Endpointx402 Payment Required

POST

https://agentsvc.io/api/v1/proxy/web-search

Price

$0.003 USDC

Latency P99

~600ms

Provider

agentsvc.io

Input Schema

{ "type": "object", "required": [ "query" ], "properties": { "query": { "type": "string", "description": "Search query string (e.g. 'current Bitcoin price', 'capital of France', 'Next.js 15 release date')" } } }

Output Schema

{ "type": "object", "required": [ "query", "heading", "abstract", "results" ], "properties": { "query": { "type": "string", "description": "The original search query" }, "heading": { "type": "string", "description": "Topic heading from the search engine" }, "abstract": { "type": "string", "description": "Concise abstract/summary about the topic (from Wikipedia or similar source)" }, "abstract_url": { "type": "string", "description": "Source URL for the abstract" }, "abstract_source": { "type": "string", "description": "Name of the abstract source (e.g. 'Wikipedia')" }, "results": { "type": "array", "description": "Related search results with URLs", "items": { "type": "object", "properties": { "text": { "type": "string", "description": "Result description or snippet" }, "url": { "type": "string", "description": "Result URL" } } } }, "answer": { "type": "string", "description": "Direct answer for calculation or fact queries (e.g. '42' for math, '23°C' for temperatures)" } }, "example": { "query": "capital of France", "heading": "Paris", "abstract": "Paris is the capital and most populous city of France. With an official estimated population of 2,102,650 residents as of 1 January 2023 in an area of more than 105 km²...", "abstract_url": "https://en.wikipedia.org/wiki/Paris", "abstract_source": "Wikipedia", "results": [ { "text": "Paris — Wikipedia", "url": "https://en.wikipedia.org/wiki/Paris" }, { "text": "Visit Paris — Official Tourism Site", "url": "https://www.parisinfo.com/" } ], "answer": "" } }

Code Examples

# Step 1: Call without payment → receive 402 with requirements
curl -X POST "https://agentsvc.io/api/v1/proxy/web-search" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "your_query"
}'

# Step 2: Sign payment using x402 SDK, then retry
curl -X POST "https://agentsvc.io/api/v1/proxy/web-search" \
  -H "Content-Type: application/json" \
  -H "X-Payment: x402 usdc base <your-signed-payment>" \
  -d '{
  "query": "your_query"
}'

Tags

#search#web#duckduckgo#research#query#information

Service Info

Service IDsvc_websearch_09
Categoryweb
StatusActive
ChainBase (USDC)
Protocolx402
Read API Documentation →