Find best x402 service
x402_find_best_serviceCall this when you have a need in words and want one service to call rather than a list to read: it is the free ranking step between searching and paying. Pass the need as q, plus any category, network, price cap or verification requirement, and get up to 20 ranked recommendations with the basis each one placed on. Ranking is mostly per-service reliability (live status, verification, uptime, response time), x402 compliance, and price in USD, with a small (about 10%) weight on measured on-chain settlement traction that can never dominate those three. The response carries ranking_version (currently 3), need_blind_ranking (true when no q was given, so the order is global quality rather than your need), and a units map holding every scoring caveat in full: the compliance cap, the pro-quota rule for shared payout addresses, renormalization, the $10 volume floor, and the single-buyer discount. Read units before comparing scores across generations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text need description to match against name/description. | |
| limit | No | How many ranked recommendations to return. | |
| prefer | No | Tie-breaking emphasis for the ranking weights. | balanced |
| network | No | Required network name or abbreviation, e.g. 'Base' or 'BSE'; any network code returned by /api/v1/networks is accepted. | |
| category | No | Desired service category. | |
| max_price_usd | No | Cap on min_price_usd in US dollars; cheaper or equal passes. | |
| require_verified | No | If true, only verified services are eligible. | |
| include_facilitator_context | No | If true, also return top facilitators by 7d settlement volume as separate ecosystem context (NOT per-service). |