{"slug":"x402-agent-tools-nerolabs-workers-dev-web-search-6037f2","title":"Searches the live web for each query (text, or a list of up to 25) and returns a","host":"x402-agent-tools.nerolabs.workers.dev","method":"POST","resource":"https://x402-agent-tools.nerolabs.workers.dev/web-search","category":"search","description":"Searches the live web for each query (text, or a list of up to 25) and returns a written answer with numbered sources: url, title, domain, position, and the cited domains. For grounding an agent or LLM in fresh facts, research and news. Official Perplexity Sonar API, $0.015 per query. Optional count","price_listed":0.015,"price_asked":0.015,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":50,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"query":"latest x402 payment protocol news"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"country":{"description":"Optional two-letter country code to localise results, for example US or GB.","type":"string"},"domains":{"description":"Optional: your own domains, to report whether each answer cites them.","items":{"type":"string"},"type":"array"},"query":{"description":"What to search the web for. One query as text; a list of up to 25 queries is also accepted. $0.015 each.","type":"string"},"searchRecency":{"description":"Optional: only use pages from this recent period.","enum":["day","week","month","year"],"type":"string"}},"required":["query"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"count":{"type":"integer"},"rows":{"items":{"properties":{"answer":{"type":"string"},"answeredAt":{"type":"string"},"brandMentioned":{"type":"boolean"},"brandPosition":{"type":"integer"},"brandsMentioned":{"items":{"type":"string"},"type":"array"},"changes":{"items":{},"type":"array"},"citationCount":{"type":"integer"},"citations":{"items":{"properties":{"domain":{"type":"string"},"position":{"type":"integer"},"title":{"type":"string"},"url":{"type":"string"}},"type":"object"},"type":"array"},"citedDomains":{"items":{"type":"string"},"type":"array"},"competitorDomainsCited":{"items":{},"type":"array"},"competitorsMentioned":{"items":{},"type":"array"},"country":{},"droppedCitations":{"items":{},"type":"array"},"duplicateOf":{},"mentionOrder":{"items":{"properties":{"mentions":{"type":"integer"},"name":{"type":"string"},"position":{"type":"integer"},"type":{"type":"string"}},"type":"object"},"type":"array"},"model":{"type":"string"},"modelCostUsd":{"type":"number"},"monitorStatus":{},"newCitations":{"items":{},"type":"array"},"ownDomainCited":{"type":"boolean"},"ownDomainsCited":{"items":{},"type":"array"},"previousCheckedAt":{},"question":{"type":"string"},"rowNumber":{"type":"integer"},"searchRecency":{"type":"string"},"seconds":{"type":"number"},"status":{"type":"string"},"statusDetail":{}},"type":"object"},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":564,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":41,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":49,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":55,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":38,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":50,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":59,"error":null}],"description_full":"Searches the live web for each query (text, or a list of up to 25) and returns a written answer with numbered sources: url, title, domain, position, and the cited domains. For grounding an agent or LLM in fresh facts, research and news. Official Perplexity Sonar API, $0.015 per query. Optional country, searchRecency, domains. Not charged if no answer comes back.","last_updated":"2026-11-20T12:29:39.833Z","schemes":["exact"]}