80trust / 100

Sms

by Agent Dispatch in Email & messaging

x402 APIPassing, checked 2 h ago

Send one SMS to a mobile number, paid per message in USDC with x402. Use it when an agent must notify a person by text. The 402 quotes the exact price for the destination and message length. No account and no API key: any wallet that pays sends in one call. An opt-out link is appended to the message, and numbers that opted out are refused. Returns an order; poll GET /v1/orders/{id} for delivery status.

POST https://agent-dispatch-production-4e75.up.railway.app/v1/sms

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
215 ms typical, 232 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent-dispatch-production-4e75.up.railway.app/v1/sms" \
  -H "content-type: application/json" \
  -d '{"body":"Your parcel arrives today between 14:00 and 16:00.","normalize":"gsm","to":"+40700000000"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent-dispatch-production-4e75.up.railway.app%2Fv1%2Fsms
const res = await pay("https://agent-dispatch-production-4e75.up.railway.app/v1/sms", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":"Your parcel arrives today between 14:00 and 16:00.","normalize":"gsm","to":"+40700000000"}),
});
console.log(await res.json());

Example input

{
  "body": "Your parcel arrives today between 14:00 and 16:00.",
  "normalize": "gsm",
  "to": "+40700000000"
}

Example output

{
  "amount_atomic": "50000",
  "failure_reason": null,
  "messages": [
    {
      "failure_reason": null,
      "index": 0,
      "message_id": "00000000-0000-4000-8000-000000000003",
      "state": "queued"
    }
  ],
  "network": "eip155:8453",
  "order_id": "00000000-0000-4000-8000-000000000001",
  "payment_response": {
    "network": "eip155:8453",
    "payer": "0x0000000000000000000000000000000000000001",
    "success": true,
    "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "quote_id": "00000000-0000-4000-8000-000000000002",
  "state": "paid"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402232 ms$0.056
5 h agoPassed402204 ms$0.056
9 h agoPassed402329 ms$0.056
13 h agoPassed402219 ms$0.056
16 h agoPassed402215 ms$0.056
21 h agoPassed402203 ms$0.056

History

11 Oct 2026Price changed from $0.055 to $0.056