{"version":1,"resources":["https://api.agentsearchhq.com/x402/v1/search","https://api.agentsearchhq.com/x402/v1/extract","https://api.agentsearchhq.com/x402/v1/render","https://api.agentsearchhq.com/x402/v1/search_and_read"],"instructions":"AgentSearch direct x402 API on Base mainnet (USDC). POST JSON to each resource. search {query, max_results?}; extract {url}; render {url}; search_and_read {query, num_results?, max_chars?, render_fallback?}. Prices per call: search $0.008, extract $0.007, render $0.01, search_and_read $0.015. OpenAPI: https://api.agentsearchhq.com/openapi.json. Docs: https://agentsearchhq.com/docs/x402","x402Version":2,"items":[{"resource":{"url":"https://api.agentsearchhq.com/x402/v1/search","description":"Live web search for AI agents and RAG pipelines. Returns ranked results (title, URL, snippet, score, domain) for a natural-language or keyword query, for grounding answers in current web information. $0.008 USDC per call on Base; calls that return no results are not charged.","mimeType":"application/json","serviceName":"AgentSearch","tags":["search","web-search","rag","agents","research"],"iconUrl":"https://agentsearchhq.com/icon-512.png"},"method":"POST","price":"$0.008","network":"eip155:8453","payTo":"0xC49B157887e51c21CB655f39CF65D6a4c2a4C337","extensions":{"bazaar":{"info":{"input":{"type":"http","bodyType":"json","body":{"query":"latest x402 protocol news","max_results":5},"method":"POST"},"output":{"type":"json","example":{"query":"latest x402 protocol news","result_count":1,"retrieved_at":"2026-11-09T12:00:00Z","results":[{"title":"x402 - payments protocol for the internet","url":"https://www.x402.org/","content":"x402 is an open payment standard built on HTTP 402 ...","score":0.91,"domain":"x402.org","published_date":null}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":400,"description":"Search query in natural language or keywords."},"max_results":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Maximum number of results (1-10)."}},"required":["query"],"additionalProperties":false}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"query":{"type":"string"},"result_count":{"type":"integer"},"retrieved_at":{"type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"content":{"type":"string"},"score":{"type":"number"},"domain":{"type":"string"},"published_date":{"type":["string","null"]}}}}},"required":["results"]}},"required":["type"]}},"required":["input"]}}}},{"resource":{"url":"https://api.agentsearchhq.com/x402/v1/extract","description":"Fetches a public web page and returns clean, LLM-ready markdown (plus title, links and fetch metadata). Suited to reading articles, docs and other static pages after a search. $0.007 USDC per call on Base; failed or empty extractions are not charged.","mimeType":"application/json","serviceName":"AgentSearch","tags":["extract","markdown","scrape","web","agents"],"iconUrl":"https://agentsearchhq.com/icon-512.png"},"method":"POST","price":"$0.007","network":"eip155:8453","payTo":"0xC49B157887e51c21CB655f39CF65D6a4c2a4C337","extensions":{"bazaar":{"info":{"input":{"type":"http","bodyType":"json","body":{"url":"https://example.com"},"method":"POST"},"output":{"type":"json","example":{"url":"https://example.com/","title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples ...","text":"","links":[{"href":"https://www.iana.org/domains/example","text":"More information..."}],"meta":{"status_code":200,"content_type":"text/html","chars":167,"truncated":false}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Absolute public http(s) URL of the page."}},"required":["url"],"additionalProperties":false}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":["string","null"]},"markdown":{"type":"string"},"text":{"type":"string"},"links":{"type":"array"},"meta":{"type":"object"}},"required":["url"]}},"required":["type"]}},"required":["input"]}}}},{"resource":{"url":"https://api.agentsearchhq.com/x402/v1/render","description":"Renders a JavaScript-heavy public web page in a headless browser and returns the final content as markdown with title and links. Suited to single-page apps and pages that plain fetching leaves empty. $0.01 USDC per call on Base; failed or empty renders are not charged.","mimeType":"application/json","serviceName":"AgentSearch","tags":["render","headless-browser","javascript","scrape","agents"],"iconUrl":"https://agentsearchhq.com/icon-512.png"},"method":"POST","price":"$0.01","network":"eip155:8453","payTo":"0xC49B157887e51c21CB655f39CF65D6a4c2a4C337","extensions":{"bazaar":{"info":{"input":{"type":"http","bodyType":"json","body":{"url":"https://example.com"},"method":"POST"},"output":{"type":"json","example":{"url":"https://example.com/","status_code":200,"title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples ...","links":[{"href":"https://www.iana.org/domains/example","text":"More information..."}],"meta":{"render_ms":820,"js":true,"chars":167,"truncated":false}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Absolute public http(s) URL of the page."}},"required":["url"],"additionalProperties":false}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"status_code":{"type":["integer","null"]},"title":{"type":["string","null"]},"markdown":{"type":"string"},"links":{"type":"array"},"meta":{"type":"object"}},"required":["url"]}},"required":["type"]}},"required":["input"]}}}},{"resource":{"url":"https://api.agentsearchhq.com/x402/v1/search_and_read","description":"Search and read in one paid call: runs a live web search and returns the top 1-5 results with clean, LLM-ready markdown of each page (title, URL, snippet, score, page text), for grounding answers and RAG without separate search and extract calls. $0.015 USDC per call on Base; charged only when at least one page has text.","mimeType":"application/json","serviceName":"AgentSearch","tags":["search","extract","rag","agents","research"],"iconUrl":"https://agentsearchhq.com/icon-512.png"},"method":"POST","price":"$0.015","network":"eip155:8453","payTo":"0xC49B157887e51c21CB655f39CF65D6a4c2a4C337","extensions":{"bazaar":{"info":{"input":{"type":"http","bodyType":"json","body":{"query":"latest x402 protocol news","num_results":3},"method":"POST"},"output":{"type":"json","example":{"query":"latest x402 protocol news","result_count":1,"extracted_count":1,"retrieved_at":"2026-11-10T12:00:00Z","results":[{"title":"x402 - payments protocol for the internet","url":"https://www.x402.org/","snippet":"x402 is an open payment standard built on HTTP 402 ...","score":0.91,"domain":"x402.org","published_date":null,"markdown":"# x402\n\nx402 is an open payment standard ...","chars":4120,"truncated":false,"extract_status":"ok","source":"extract"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":400,"description":"Search query in natural language or keywords."},"num_results":{"type":"integer","minimum":1,"maximum":5,"default":3,"description":"How many top results to read (1-5)."},"max_results":{"type":"integer","minimum":1,"maximum":5,"description":"Alias of num_results (used only when num_results is absent)."},"max_chars":{"type":"integer","minimum":1,"maximum":20000,"default":8000,"description":"Maximum markdown characters per page (1-20000)."},"render_fallback":{"type":"boolean","default":false,"description":"Retry at most one empty or thin page in a headless browser."}},"required":["query"],"additionalProperties":false}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"query":{"type":"string"},"result_count":{"type":"integer"},"extracted_count":{"type":"integer"},"retrieved_at":{"type":["string","null"]},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"snippet":{"type":"string"},"score":{"type":["number","null"]},"domain":{"type":"string"},"published_date":{"type":["string","null"]},"markdown":{"type":"string"},"chars":{"type":"integer"},"truncated":{"type":"boolean"},"extract_status":{"type":"string","enum":["ok","empty","failed","timeout","blocked","rendered"]},"source":{"type":["string","null"]},"error":{"type":"string"}}}}},"required":["results"]}},"required":["type"]}},"required":["input"]}}}}]}