{"openapi":"3.1.0","info":{"title":"x402-recommend","version":"0.1.0","description":"Ranks x402 endpoints for a plain-language need, such as \"web search\" or \"token price on base\". Score = BM25 keyword relevance x paid-usage factor (discounts one-call sweeper wallets) x trust boost. Returns name, url, origin, priceUsd, category, calls30d, payers30d, trust and a why string per result, plus the index date. Filter by category and maxPriceUsd.","x-guidance":"x402 Recommend answers \"which x402 API should I call for this need\". `recommend_api` ranks x402 endpoints by keyword relevance (BM25 on name and description) multiplied by paid usage and the x402 Supply trust score. Usage is discounted when most payers called once (sweeper wallets), so repeat-use endpoints rank higher. Optional filters: category and maxPriceUsd. x402supply.com tools get no boost. Deterministic, no LLM. Every response carries the index date.","contact":{"email":"contact@gratefuldevai.com"}},"servers":[{"url":"https://recommend.x402supply.com"}],"paths":{"/mcp":{"post":{"operationId":"x402-recommend_call","summary":"Call x402-recommend via MCP tools/call","tags":["x402-recommend"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{"type":["string","number"]},"method":{"const":"tools/call"},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"const":"recommend_api"},"arguments":{"type":"object","properties":{"need":{"type":"string","minLength":2,"maxLength":300,"description":"What your agent needs to do, in plain words, e.g. \"web search\" or \"token price on base\""},"category":{"type":"string","minLength":1,"maxLength":40,"description":"Only return endpoints in this category, e.g. search, finance, crypto, data, scrape, media, identity, compute, email, other. Case-insensitive"},"maxPriceUsd":{"type":"number","minimum":0,"maximum":50,"description":"Only return endpoints priced at or below this many USD per call. Endpoints with no listed price are excluded when set"},"limit":{"type":"integer","minimum":1,"maximum":20,"description":"Maximum endpoints to return, 1-20","default":5}},"required":["need"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}}}}}}},"responses":{"200":{"description":"Tool result","content":{"application/json":{"schema":{"type":"object","description":"JSON-RPC 2.0 response envelope. `result.content[0].text` is a JSON-encoded string matching the schema in `x-mcp-result-schema`.","properties":{"jsonrpc":{"const":"2.0"},"id":{"type":["string","number"]},"result":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object","properties":{"type":{"const":"text"},"text":{"type":"string"}}}}}}},"x-mcp-result-schema":{"type":"object","required":["need","count","totalMatched","results","index"],"properties":{"need":{"type":"string"},"count":{"type":"integer"},"totalMatched":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["name","url","origin","priceUsd","category","calls30d","payers30d","trust","why"],"properties":{"name":{"type":"string"},"url":{"type":"string"},"origin":{"type":"string"},"priceUsd":{"type":["number","null"]},"category":{"type":"string"},"calls30d":{"type":"integer"},"payers30d":{"type":"integer"},"trust":{"type":["integer","null"]},"why":{"type":"string"}}}},"index":{"type":"object","required":["date","size"],"properties":{"date":{"type":"string"},"trustDate":{"type":["string","null"]},"size":{"type":"integer"}}}}}}}}},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"error":{"type":"string"},"accepts":{"type":"array"}}}}}}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]}}},"/tools/recommend_api":{"post":{"operationId":"x402-recommend_recommend_api_http","summary":"Ranks x402 endpoints for a plain-language need, such as \"web search\" or \"token price on base\". Score = BM25 keyword relevance x paid-usage factor (discounts one-call sweeper wallets) x trust boost. Returns name, url, origin, priceUsd, category, calls30d, payers30d, trust and a why string per result, plus the index date. Filter by category and maxPriceUsd.","tags":["x402-recommend"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"need":{"type":"string","minLength":2,"maxLength":300,"description":"What your agent needs to do, in plain words, e.g. \"web search\" or \"token price on base\""},"category":{"type":"string","minLength":1,"maxLength":40,"description":"Only return endpoints in this category, e.g. search, finance, crypto, data, scrape, media, identity, compute, email, other. Case-insensitive"},"maxPriceUsd":{"type":"number","minimum":0,"maximum":50,"description":"Only return endpoints priced at or below this many USD per call. Endpoints with no listed price are excluded when set"},"limit":{"type":"integer","minimum":1,"maximum":20,"description":"Maximum endpoints to return, 1-20","default":5}},"required":["need"],"additionalProperties":false},"example":{"need":"web search","maxPriceUsd":0.05,"limit":2}}}},"responses":{"200":{"description":"Tool result (plain JSON, not MCP-wrapped)","content":{"application/json":{"schema":{"type":"object","required":["need","count","totalMatched","results","index"],"properties":{"need":{"type":"string"},"count":{"type":"integer"},"totalMatched":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["name","url","origin","priceUsd","category","calls30d","payers30d","trust","why"],"properties":{"name":{"type":"string"},"url":{"type":"string"},"origin":{"type":"string"},"priceUsd":{"type":["number","null"]},"category":{"type":"string"},"calls30d":{"type":"integer"},"payers30d":{"type":"integer"},"trust":{"type":["integer","null"]},"why":{"type":"string"}}}},"index":{"type":"object","required":["date","size"],"properties":{"date":{"type":"string"},"trustDate":{"type":["string","null"]},"size":{"type":"integer"}}}}},"example":{"need":"web search","count":2,"totalMatched":2729,"results":[{"name":"StableEnrich","url":"https://stableenrich.dev/api/exa/search","origin":"https://stableenrich.dev","priceUsd":0.01,"category":"search","calls30d":29724,"payers30d":140,"trust":null,"why":"matches search, web; 29724 calls from 140 payers in 30d (212.3 calls per payer)"},{"name":"Web Search & Data API — SERP, page reader & scrapers","url":"https://api.kadec0.xyz","origin":"https://api.kadec0.xyz","priceUsd":0.01,"category":"finance","calls30d":4336,"payers30d":39,"trust":null,"why":"matches search, web; 4336 calls from 39 payers in 30d (111.2 calls per payer)"}],"index":{"date":"2026-11-08","trustDate":"2026-11-07","size":17995}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}}}}},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer"},"error":{"type":"string"},"accepts":{"type":"array"}}}}}}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{}}]}}}}}