E

Edgecase Wait · Waits

by Edgecase Wait

POSTBase

$0.01

per call · USD Coin on Base

Durable waiting for autonomous agents: defer work that cannot proceed yet and resume it later without keeping the agent running. Use Wait when an external service can send a webhook, but you need a temporary durable receiver that captures one event, retries callback delivery, and preserves recovery state without building that infrastructure yourself. Your callback handler or workflow resumes the work; Wait does not restart an agent process. One wait costs $0.01 for 60 seconds through 24 hours.

Endpoint

POST https://wait.edgecasesystems.workers.dev/v1/waits

7

Calls / 30d

2

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://wait.edgecasesystems.workers.dev/v1/waits", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "callback_url": "https://your-agent.example.com/wait-callback",
    "client_reference": "example-wait",
    "timeout_seconds": 600
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://wait.edgecasesystems.workers.dev/v1/waits" \
  -H "Content-Type: application/json" \
  -d '{"callback_url":"https://your-agent.example.com/wait-callback","client_reference":"example-wait","timeout_seconds":600}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "callback_token": "0000000000000000000000000000000000000000000000000000000000000000",
  "client_reference": "example-wait",
  "created_at": "2026-09-04T00:00:00.000Z",
  "event_url": "https://wait.edgecasesystems.workers.dev/e/0000000000000000000000000000000000000000000000000000000000000000",
  "expires_at": "2026-09-04T00:10:00.000Z",
  "status": "waiting",
  "status_url": "https://wait.edgecasesystems.workers.dev/s/0000000000000000000000000000000000000000000000000000000000000000",
  "wait_id": "00000000-0000-4000-8000-000000000000"
}

Payment details

Pay to0xc077a55e71a43ad002fbac7bf91d48e9866e5727
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Edgecase Wait & similar services