AC
Agent Service · x402 · active demand

Paid webhook/API execution for autonomous agents

Paid webhook/API execution for autonomous agents. Executes one public HTTPS action after x402 payment, applies retries and idempotency, then returns a signed receipt with request hash, response hash, target, status, and attempt count.

by action402.vercel.app · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls22
30d payers10
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Paid webhook/API execution for autonomous agents. Executes one public HTTPS action after x402 payment, applies retries and idempotency, then returns a signed receipt with request hash, response hash, target, status, and attempt count.

Tags: bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "body": {
    "event": "agent.test",
    "message": "hello from an x402 buyer"
  },
  "headers": {
    "content-type": "application/json"
  },
  "idempotencyKey": "agent-test-001",
  "method": "POST",
  "retry": {
    "attempts": 2,
    "backoffMs": 300
  },
  "timeoutMs": 10000,
  "url": "https://httpbin.org/anything"
}
Output example
{
  "idempotentReplay": false,
  "job": {
    "attempts": 1,
    "id": "job_...",
    "status": "succeeded"
  },
  "links": {
    "job": "/api/jobs/job_...",
    "receipt": "/api/receipts/rcpt_..."
  },
  "mode": "x402",
  "receipt": {
    "id": "rcpt_...",
    "signature": "hmac-sha256:..."
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/40813.json for the price and payment options.
  3. Pay. Call GET https://action402.vercel.app/api/execute/webhook. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.003 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
22 calls · 10 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0030x75113dcF8Ce34f0338440D40270e420f8C1762b8300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x75113dcF8Ce34f0338440D40270e420f8C1762b8",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "idempotentReplay": {
          "type": "boolean"
        },
        "job": {
          "properties": {
            "attempts": {
              "type": "integer"
            },
            "id": {
              "type": "string"
            },
            "status": {
              "enum": [
                "succeeded",
                "failed"
              ],
              "type": "string"
            }
          },
          "required": [
            "id",
            "status",
            "attempts"
          ],
          "type": "object"
        },
        "links": {
          "properties": {
            "job": {
              "type": "string"
            },
            "receipt": {
              "type": "string"
            }
          },
          "required": [
            "job",
            "receipt"
          ],
          "type": "object"
        },
        "mode": {
          "enum": [
            "demo",
            "x402"
          ],
          "type": "string"
        },
        "receipt": {
          "properties": {
            "id": {
              "type": "string"
            },
            "replay": {
              "type": "boolean"
            },
            "signature": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "mode",
        "idempotentReplay",
        "job",
        "receipt",
        "links"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "idempotentReplay": true,
    "job": {
      "attempts": 0,
      "id": "string",
      "status": "succeeded"
    },
    "links": {
      "job": "string",
      "receipt": "string"
    },
    "mode": "demo",
    "receipt": {
      "id": "string",
      "replay": true,
      "signature": "string"
    }
  },
  "type": "string"
}

Examples

curl
curl -X POST 'https://action402.vercel.app/api/execute/webhook' -H 'Content-Type: application/json' --data '{"body":{"event":"agent.test","message":"hello from an x402 buyer"},"headers":{"content-type":"application/json"},"idempotencyKey":"agent-test-001","method":"POST","retry":{"attempts":2,"backoffMs":300},"timeoutMs":10000,"url":"https://httpbin.org/anything"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://action402.vercel.app/api/execute/webhook", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"body\":{\"event\":\"agent.test\",\"message\":\"hello from an x402 buyer\"},\"headers\":{\"content-type\":\"application/json\"},\"idempotencyKey\":\"agent-test-001\",\"method\":\"POST\",\"retry\":{\"attempts\":2,\"backoffMs\":300},\"timeoutMs\":10000,\"url\":\"https://httpbin.org/anything\"}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://action402.vercel.app/api/execute/webhook", json=json.loads("{\"body\":{\"event\":\"agent.test\",\"message\":\"hello from an x402 buyer\"},\"headers\":{\"content-type\":\"application/json\"},\"idempotencyKey\":\"agent-test-001\",\"method\":\"POST\",\"retry\":{\"attempts\":2,\"backoffMs\":300},\"timeoutMs\":10000,\"url\":\"https://httpbin.org/anything\"}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
action402.vercel.app
Endpoint
https://action402.vercel.app/api/execute/webhook
Machine-readable
/resources/40813.json