access_l402_api
Pay for and access L402-protected APIs using automatic Lightning payments. Choose from data, market, AI, or API credits endpoints.
Instructions
Access an L402-protected API endpoint with automatic Lightning payment
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": {
"endpoint": "<endpoint>"
},
"name": "access_l402_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Market symbol (for market endpoint) | BTC |
| endpoint | Yes | L402 endpoint to access |