safe-weekly-spend-api-production.nickjcrouse.workers.dev

Deploy serverless functions globally in seconds. No cold starts, 330+ cities, infinite concurrency, and pay only for CPU time. Support for JavaScript, TypeScript, Python, and Rust.

OtherLiveeip155:8453Exactvia cdp
Calls · 30d
1
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 3 snapshots so far.
$0.11
Verified settled volume
2 settlements proven x402 by their on-chain EIP-3009 marker.
$0.010
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-10-16 15:21Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xb238E4447BF953B5eec16c7D7E3E9C6e747B1CF3

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "docs": {
    "name": "Safe Weekly Spend",
    "price": "$0.01",
    "example": {
      "request": {
        "bills": [
          {
            "name": "Rent",
            "amount": 1100,
            "frequency": "Monthly"
          },
          {
            "name": "Phone",
            "amount": 70,
            "frequency": "Monthly"
          },
          {
            "name": "Groceries",
            "amount": 100,
            "frequency": "Weekly"
          },
          {
            "name": "Car registration",
            "amount": 240,
            "frequency": "Annual"
          }
        ],
        "payouts": [
          {
            "date": "2026-07-10",
            "amount": 1200,
            "platform": "DoorDash"
          },
          {
            "date": "2026-07-24",
            "amount": 1500,
            "platform": "Uber"
          },
          {
            "date": "2026-08-07",
            "amount": 900,
            "platform": "DoorDash"
          },
          {
            "date": "2026-08-21",
            "amount": 1100,
            "platform": "Instacart"
          },
          {
            "date": "2026-09-04",
            "amount": 2000,
            "platform": "Uber"
          },
          {
            "date": "2026-09-18",
            "amount": 1800
          }
        ]
      },
      "response": {
        "breakdown": {
          "monthly": [
            {
              "extra": 0,
              "month": "2026-07",
              "income": 2700,
              "savings": 270,
              "surplus": 131.67,
              "available": 1755,
              "to_buffer": 131.67,
              "buffer_end": 131.67,
              "from_buffer": 0,
              "unfunded_gap": 0,
              "steady_salary": 1623.33,
              "tax_set_aside": 675
            },
            {
              "extra": 0,
              "month": "2026-08",
              "income": 2000,
              "savings": 200,
              "surplus": -323.33,
              "available": 1300,
              "to_buffer": 0,
              "buffer_end": 0,
              "from_buffer": 131.67,
              "unfunded_gap": 191.67,
              "steady_salary": 1623.33,
              "tax_set_aside": 500
            },
            {
              "extra": 0,
              "month": "2026-09",
              "income": 3800,
              "savings": 380,
              "surplus": 846.67,
              "available": 2470,
              "to_buffer": 846.67,
              "buffer_end": 846.67,
              "from_buffer": 0,
              "unfunded_gap": 0,
              "steady_salary": 1623.33,
              "tax_set_aside": 950
            }
          ],
          "savings_pct": 0.1,
          "buffer_target": 4870,
          "buffer_balance": 846.67,
          "avg_monthly_income": 2833.33,
          "months_with_income": 3,
          "safe_monthly_spend": 218.33,
          "avg_monthly_savings": 283.33,
          "fixed_bills_monthly": 1623.33,
          "avg_monthly_available": 1841.67,
          "buffer_months_covered": 0.52,
          "steady_salary_monthly": 1623.33,
          "avg_monthly_tax_set_aside": 708.33
        },
        "buffer_days": 15,
        "safe_weekly_spend": 50.38,
        "tax_set_aside_pct": 0.25
      }
    },
    "network": "eip155:8453",
    "schemas": {
      "request": {
        "$id": "https://example.com/safe-weekly-spend/request.schema.json",
        "type": "object",
        "title": "SafeWeeklySpendRequest",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "payouts",
          "bills"
        ],
        "properties": {
          "bills": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "amount",
                "frequency"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "amount": {
                  "type": "number",
                  "minimum": 0
                },
                "frequency": {
                  "enum": [
                    "Weekly",
                    "Monthly",
                    "Quarterly",
                    "Semi-annual",
                    "Annual"
                  ]
                }
              },
              "additionalProperties": false
            },
            "maxItems": 200,
            "description": "Fixed bills / bare-bones essentials."
          },
          "payouts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "amount",
                "date"
              ],
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "description": "YYYY-MM-DD"
                },
                "amount": {
                  "type": "number",
                  "minimum": 0
                },
                "platform": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "maxItems": 1000,
            "minItems": 1,
            "description": "Recent gig payouts (gross + tips). Ideally 2-6 months."
          },
          "settings": {
            "type": "object",
            "properties": {
              "savings_pct": {
                "type": "number",
                "default": 0.1,
                "maximum": 1,
                "minimum": 0
              },
              "salary_override": {
                "type": "number",
                "minimum": 0
              },
              "starting_buffer": {
                "type": "number",
                "default": 0,
                "minimum": 0
              },
              "tax_set_aside_pct": {
                "type": "number",
                "default": 0.25,
                "maximum": 1,
                "minimum": 0
              },
              "buffer_target_months": {
                "type": "number",
                "default": 3,
                "minimum": 0
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "response": {
        "$id": "https://example.com/safe-weekly-spend/response.schema.json",
        "type": "object",
        "title": "SafeWeeklySpendResponse",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "safe_weekly_spend",
          "tax_set_aside_pct",
          "buffer_days",
          "breakdown"
        ],
        "properties": {
          "breakdown": {
            "type": "object",
            "required": [
              "months_with_income",
              "avg_monthly_income",
              "avg_monthly_available",
              "fixed_bills_monthly",
              "steady_salary_monthly",
              "safe_monthly_spend",
              "buffer_balance",
              "buffer_target",
              "monthly"
            ],
            "properties": {
              "monthly": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "extra": {
                      "type": "number"
                    },
                    "month": {
                      "type": "string"
                    },
                    "income": {
                      "type": "number"
                    },
                    "savings": {
                      "type": "number"
                    },
                    "surplus": {
                      "type": "number"
                    },
                    "available": {
                      "type": "number"
                    },
                    "to_buffer": {
                      "type": "number"
                    },
                    "buffer_end": {
                      "type": "number"
                    },
                    "from_buffer": {
                      "type": "number"
                    },
                    "unfunded_gap": {
                      "type": "number"
                    },
                    "steady_salary": {
                      "type": "number"
                    },
                    "tax_set_aside": {
                      "type": "number"
                    }
                  }
                }
              },
              "savings_pct": {
                "type": "number"
              },
              "buffer_target": {
                "type": "number"
              },
              "buffer_balance": {
                "type": "number"
              },
              "avg_monthly_income": {
                "type": "number"
              },
              "months_with_income": {
                "type": "integer"
              },
              "safe_monthly_spend": {
                "type": "number"
              },
              "avg_monthly_savings": {
                "type": "number"
              },
              "fixed_bills_monthly": {
                "type": "number"
              },
              "avg_monthly_available": {
                "type": "number"
              },
              "buffer_months_covered": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "steady_salary_monthly": {
                "type": "number"
              },
              "avg_monthly_tax_set_aside": {
                "type": "number"
              }
            }
          },
          "buffer_days": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Days of fixed bills the simulated buffer covers. null if no bills."
          },
          "safe_weekly_spend": {
            "type": "number",
            "description": "Discretionary $ per week after tax, savings and fixed bills, based on average month."
          },
          "tax_set_aside_pct": {
            "type": "number",
            "description": "Share of every payout to move to tax savings (0-1)."
          }
        }
      }
    },
    "endpoint": "POST /v1/safe-weekly-spend",
    "description": "Safe weekly spend for gig workers with irregular income: from recent payouts and fixed bills, returns discretionary $/week after tax set-aside, savings and bills, plus tax set-aside % and buffer days. Same math as the Gig Worker Irregular Income Budget spreadsheet."
  },
  "error": "Payment required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xb238E4447BF953B5eec16c7D7E3E9C6e747B1CF3",
      "amount": "10000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 300
    }
  ],
  "resource": {
    "url": "https://safe-weekly-spend-api-production.nickjcrouse.workers.dev/v1/safe-weekly-spend",
    "mimeType": "application/json",
    "description": "Safe weekly spend for gig workers with irregular income: from recent payouts and fixed bills, returns discretionary $/week after tax set-aside, savings and bills, plus tax set-aside % and buffer days. Same math as the Gig Worker Irregular Income Budget spreadsheet."
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "bills": [
              {
                "name": "Rent",
                "amount": 1100,
                "frequency": "Monthly"
              },
              {
                "name": "Phone",
                "amount": 70,
                "frequency": "Monthly"
              },
              {
                "name": "Groceries",
                "amount": 100,
                "frequency": "Weekly"
              },
              {
                "name": "Car registration",
                "amount": 240,
                "frequency": "Annual"
              }
            ],
            "payouts": [
              {
                "date": "2026-07-10",
                "amount": 1200,
                "platform": "DoorDash"
              },
              {
                "date": "2026-07-24",
                "amount": 1500,
                "platform": "Uber"
              },
              {
                "date": "2026-08-07",
                "amount": 900,
                "platform": "DoorDash"
              },
              {
                "date": "2026-08-21",
                "amount": 1100,
                "platform": "Instacart"
              },
              {
                "date": "2026-09-04",
                "amount": 2000,
                "platform": "Uber"
              },
              {
                "date": "2026-09-18",
                "amount": 1800
              }
            ]
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "breakdown": {
              "monthly": [
                {
                  "extra": 0,
                  "month": "2026-07",
                  "income": 2700,
                  "savings": 270,
                  "surplus": 131.67,
                  "available": 1755,
                  "to_buffer": 131.67,
                  "buffer_end": 131.67,
                  "from_buffer": 0,
                  "unfunded_gap": 0,
                  "steady_salary": 1623.33,
                  "tax_set_aside": 675
                },
                {
                  "extra": 0,
                  "month": "2026-08",
                  "income": 2000,
                  "savings": 200,
                  "surplus": -323.33,
                  "available": 1300,
                  "to_buffer": 0,
                  "buffer_end": 0,
                  "from_buffer": 131.67,
                  "unfunded_gap": 191.67,
                  "steady_salary": 1623.33,
                  "tax_set_aside": 500
                },
                {
                  "extra": 0,
                  "month": "2026-09",
                  "income": 3800,
                  "savings": 380,
                  "surplus": 846.67,
                  "available": 2470,
                  "to_buffer": 846.67,
                  "buffer_end": 846.67,
                  "from_buffer": 0,
                  "unfunded_gap": 0,
                  "steady_salary": 1623.33,
                  "tax_set_aside": 950
                }
              ],
              "savings_pct": 0.1,
              "buffer_target": 4870,
              "buffer_balance": 846.67,
              "avg_monthly_income": 2833.33,
              "months_with_income": 3,
              "safe_monthly_spend": 218.33,
              "avg_monthly_savings": 283.33,
              "fixed_bills_monthly": 1623.33,
              "avg_monthly_available": 1841.67,
              "buffer_months_covered": 0.52,
              "steady_salary_monthly": 1623.33,
              "avg_monthly_tax_set_aside": 708.33
            },
            "buffer_days": 15,
            "safe_weekly_spend": 50.38,
            "tax_set_aside_pct": 0.25
          }
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "properties": {
              "body": {
                "type": "object",
                "title": "SafeWeeklySpendRequest",
                "required": [
                  "payouts",
                  "bills"
                ],
                "properties": {
                  "bills": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "amount",
                        "frequency"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "frequency": {
                          "enum": [
                            "Weekly",
                            "Monthly",
                            "Quarterly",
                            "Semi-annual",
                            "Annual"
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 200,
                    "description": "Fixed bills / bare-bones essentials."
                  },
                  "payouts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "amount",
                        "date"
                      ],
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date",
                          "description": "YYYY-MM-DD"
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "platform": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 1000,
                    "minItems": 1,
                    "description": "Recent gig payouts (gross + tips). Ideally 2-6 months."
                  },
                  "settings": {
                    "type": "object",
                    "properties": {
                      "savings_pct": {
                        "type": "number",
                        "default": 0.1,
                        "maximum": 1,
                        "minimum": 0
                      },
                      "salary_override": {
                        "type": "number",
                        "minimum": 0
                      },
                      "starting_buffer": {
                        "type": "number",
                        "default": 0,
                        "minimum": 0
                      },
                      "tax_set_aside_pct": {
                        "type": "number",
                        "default": 0.25,
                        "maximum": 1,
                        "minimum": 0
                      },
                      "buffer_target_months": {
                        "type": "number",
                        "default": 3,
                        "minimum": 0
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object",
                "title": "SafeWeeklySpendResponse",
                "required": [
                  "safe_weekly_spend",
                  "tax_set_aside_pct",
                  "buffer_days",
                  "breakdown"
                ],
                "properties": {
                  "breakdown": {
                    "type": "object",
                    "required": [
                      "months_with_income",
                      "avg_monthly_income",
                      "avg_monthly_available",
                      "fixed_bills_monthly",
                      "steady_salary_monthly",
                      "safe_monthly_spend",
                      "buffer_balance",
                      "buffer_target",
                      "monthly"
                    ],
                    "properties": {
                      "monthly": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "extra": {
                              "type": "number"
                            },
                            "month": {
                              "type": "string"
                            },
                            "income": {
                              "type": "number"
                            },
                            "savings": {
                              "type": "number"
                            },
                            "surplus": {
                              "type": "number"
                            },
                            "available": {
                              "type": "number"
                            },
                            "to_buffer": {
                              "type": "number"
                            },
                            "buffer_end": {
                              "type": "number"
                            },
                            "from_buffer": {
                              "type": "number"
                            },
                            "unfunded_gap": {
                              "type": "number"
                            },
                            "steady_salary": {
                              "type": "number"
                            },
                            "tax_set_aside": {
                              "type": "number"
                            }
                          }
                        }
                      },
                      "savings_pct": {
                        "type": "number"
                      },
                      "buffer_target": {
                        "type": "number"
                      },
                      "buffer_balance": {
                        "type": "number"
                      },
                      "avg_monthly_income": {
                        "type": "number"
                      },
                      "months_with_income": {
                        "type": "integer"
                      },
                      "safe_monthly_spend": {
                        "type": "number"
                      },
                      "avg_monthly_savings": {
                        "type": "number"
                      },
                      "fixed_bills_monthly": {
                        "type": "number"
                      },
                      "avg_monthly_available": {
                        "type": "number"
                      },
                      "buffer_months_covered": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "steady_salary_monthly": {
                        "type": "number"
                      },
                      "avg_monthly_tax_set_aside": {
                        "type": "number"
                      }
                    }
                  },
                  "buffer_days": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "Days of fixed bills the simulated buffer covers. null if no bills."
                  },
                  "safe_weekly_spend": {
                    "type": "number",
                    "description": "Discretionary $ per week after tax, savings and fixed bills, based on average month."
                  },
                  "tax_set_aside_pct": {
                    "type": "number",
                    "description": "Share of every payout to move to tax savings (0-1)."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.01USDC≈ $0.01 USD
on Base · exact scheme

Pay 0.01 USDC on Base to 0xb238…B1CF3. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
10000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xb238E4447BF953B5eec16c7D7E3E9C6e747B1CF3",
    "amount": "10000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "bills": [
            {
              "name": "Rent",
              "amount": 1100,
              "frequency": "Monthly"
            },
            {
              "name": "Phone",
              "amount": 70,
              "frequency": "Monthly"
            },
            {
              "name": "Groceries",
              "amount": 100,
              "frequency": "Weekly"
            },
            {
              "name": "Car registration",
              "amount": 240,
              "frequency": "Annual"
            }
          ],
          "payouts": [
            {
              "date": "2026-07-10",
              "amount": 1200,
              "platform": "DoorDash"
            },
            {
              "date": "2026-07-24",
              "amount": 1500,
              "platform": "Uber"
            },
            {
              "date": "2026-08-07",
              "amount": 900,
              "platform": "DoorDash"
            },
            {
              "date": "2026-08-21",
              "amount": 1100,
              "platform": "Instacart"
            },
            {
              "date": "2026-09-04",
              "amount": 2000,
              "platform": "Uber"
            },
            {
              "date": "2026-09-18",
              "amount": 1800
            }
          ]
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "breakdown": {
            "monthly": [
              {
                "extra": 0,
                "month": "2026-07",
                "income": 2700,
                "savings": 270,
                "surplus": 131.67,
                "available": 1755,
                "to_buffer": 131.67,
                "buffer_end": 131.67,
                "from_buffer": 0,
                "unfunded_gap": 0,
                "steady_salary": 1623.33,
                "tax_set_aside": 675
              },
              {
                "extra": 0,
                "month": "2026-08",
                "income": 2000,
                "savings": 200,
                "surplus": -323.33,
                "available": 1300,
                "to_buffer": 0,
                "buffer_end": 0,
                "from_buffer": 131.67,
                "unfunded_gap": 191.67,
                "steady_salary": 1623.33,
                "tax_set_aside": 500
              },
              {
                "extra": 0,
                "month": "2026-09",
                "income": 3800,
                "savings": 380,
                "surplus": 846.67,
                "available": 2470,
                "to_buffer": 846.67,
                "buffer_end": 846.67,
                "from_buffer": 0,
                "unfunded_gap": 0,
                "steady_salary": 1623.33,
                "tax_set_aside": 950
              }
            ],
            "savings_pct": 0.1,
            "buffer_target": 4870,
            "buffer_balance": 846.67,
            "avg_monthly_income": 2833.33,
            "months_with_income": 3,
            "safe_monthly_spend": 218.33,
            "avg_monthly_savings": 283.33,
            "fixed_bills_monthly": 1623.33,
            "avg_monthly_available": 1841.67,
            "buffer_months_covered": 0.52,
            "steady_salary_monthly": 1623.33,
            "avg_monthly_tax_set_aside": 708.33
          },
          "buffer_days": 15,
          "safe_weekly_spend": 50.38,
          "tax_set_aside_pct": 0.25
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "properties": {
            "body": {
              "type": "object",
              "title": "SafeWeeklySpendRequest",
              "required": [
                "payouts",
                "bills"
              ],
              "properties": {
                "bills": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "name",
                      "amount",
                      "frequency"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1
                      },
                      "amount": {
                        "type": "number",
                        "minimum": 0
                      },
                      "frequency": {
                        "enum": [
                          "Weekly",
                          "Monthly",
                          "Quarterly",
                          "Semi-annual",
                          "Annual"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "maxItems": 200,
                  "description": "Fixed bills / bare-bones essentials."
                },
                "payouts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "amount",
                      "date"
                    ],
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date",
                        "description": "YYYY-MM-DD"
                      },
                      "amount": {
                        "type": "number",
                        "minimum": 0
                      },
                      "platform": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "maxItems": 1000,
                  "minItems": 1,
                  "description": "Recent gig payouts (gross + tips). Ideally 2-6 months."
                },
                "settings": {
                  "type": "object",
                  "properties": {
                    "savings_pct": {
                      "type": "number",
                      "default": 0.1,
                      "maximum": 1,
                      "minimum": 0
                    },
                    "salary_override": {
                      "type": "number",
                      "minimum": 0
                    },
                    "starting_buffer": {
                      "type": "number",
                      "default": 0,
                      "minimum": 0
                    },
                    "tax_set_aside_pct": {
                      "type": "number",
                      "default": 0.25,
                      "maximum": 1,
                      "minimum": 0
                    },
                    "buffer_target_months": {
                      "type": "number",
                      "default": 3,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object",
              "title": "SafeWeeklySpendResponse",
              "required": [
                "safe_weekly_spend",
                "tax_set_aside_pct",
                "buffer_days",
                "breakdown"
              ],
              "properties": {
                "breakdown": {
                  "type": "object",
                  "required": [
                    "months_with_income",
                    "avg_monthly_income",
                    "avg_monthly_available",
                    "fixed_bills_monthly",
                    "steady_salary_monthly",
                    "safe_monthly_spend",
                    "buffer_balance",
                    "buffer_target",
                    "monthly"
                  ],
                  "properties": {
                    "monthly": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "extra": {
                            "type": "number"
                          },
                          "month": {
                            "type": "string"
                          },
                          "income": {
                            "type": "number"
                          },
                          "savings": {
                            "type": "number"
                          },
                          "surplus": {
                            "type": "number"
                          },
                          "available": {
                            "type": "number"
                          },
                          "to_buffer": {
                            "type": "number"
                          },
                          "buffer_end": {
                            "type": "number"
                          },
                          "from_buffer": {
                            "type": "number"
                          },
                          "unfunded_gap": {
                            "type": "number"
                          },
                          "steady_salary": {
                            "type": "number"
                          },
                          "tax_set_aside": {
                            "type": "number"
                          }
                        }
                      }
                    },
                    "savings_pct": {
                      "type": "number"
                    },
                    "buffer_target": {
                      "type": "number"
                    },
                    "buffer_balance": {
                      "type": "number"
                    },
                    "avg_monthly_income": {
                      "type": "number"
                    },
                    "months_with_income": {
                      "type": "integer"
                    },
                    "safe_monthly_spend": {
                      "type": "number"
                    },
                    "avg_monthly_savings": {
                      "type": "number"
                    },
                    "fixed_bills_monthly": {
                      "type": "number"
                    },
                    "avg_monthly_available": {
                      "type": "number"
                    },
                    "buffer_months_covered": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "steady_salary_monthly": {
                      "type": "number"
                    },
                    "avg_monthly_tax_set_aside": {
                      "type": "number"
                    }
                  }
                },
                "buffer_days": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Days of fixed bills the simulated buffer covers. null if no bills."
                },
                "safe_weekly_spend": {
                  "type": "number",
                  "description": "Discretionary $ per week after tax, savings and fixed bills, based on average month."
                },
                "tax_set_aside_pct": {
                  "type": "number",
                  "description": "Share of every payout to move to tax savings (0-1)."
                }
              }
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-10-16 15:21Z
Last indexed by Roundhouse
2026-10-17 14:30Z
Last enriched (probe, favicon, geo)
2026-10-16 22:45Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 3 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service safe-weekly-spend-api-production.nickjcrouse.workers.dev and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=safe-weekly-spend-api-production.nickjcrouse.workers.dev'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://safe-weekly-spend-api-production.nickjcrouse.workers.dev/v1/safe-weekly-spend, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.