Fetch Data
fetch-with-paymentFetch data from websites or APIs that require payment. Handles HTTP 402 payment status automatically using Solana, with payment tracking and spending limit controls.
Instructions
Fetch data from a website or API. Automatically handles payment if required (402 status).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "fetch-with-payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch data from | |
| method | No | HTTP method (default: GET) | |
| body | No | Request body for POST requests (JSON string) |