Pay URL
AI-generatedSummary
Fetches the configured URL and automatically handles an HTTP 402 payment challenge, paying when needed before retrying the request. Optional spend caps limit each payment and cumulative spending across all input items in the execution.
Inputs
- URL (required) — URL to fetch; if it responds with HTTP 402, the node attempts to pay and retry the request.
- Spend Caps — Optional hard limits enforced before an on-chain send. Max Per Payment sets the ceiling for one payment in human units; Max Total sets the cumulative ceiling per network and asset across this execution.
Output shape
A list of n8n items containing the fetched response data.
The source pack does not expose the exact response fields or item mapping. The cumulative Max Total cap is shared across items in the execution.
Examples
Example 1: Call a paid API endpoint
Provide the endpoint URL and optionally configure per-payment and cumulative spend limits.