x402_pay_for_request
Make HTTP requests to premium APIs that require crypto payment. Automatically handles x402 (HTTP 402) payment requirements, showing the payment amount before confirming.
Instructions
Make an HTTP request that automatically handles x402 (HTTP 402) payment requirements. Use this to access premium APIs that require cryptocurrency payment. Shows payment amount before confirming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to request | |
| body | No | Request body (for POST/PUT) | |
| method | No | HTTP method | GET |
| headers | No | Additional headers | |
| maxPayment | No | Maximum payment in USD (e.g. '0.50') | 1.00 |