82trust / 100

Sms Inbox

by api.x-402.online in Email & messaging

x402 APIPassing, checked 2 h ago

Read the messages received by a phone number rented through /v1/sms/number: sender, body, and reception time, returned as structured data so an agent can extract a verification code without human help. The number is a physical SIM in a handset we operate, so it receives from senders that refuse virtual lines.

GET https://api.x-402.online/v1/sms/inbox

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
151 ms typical, 151 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 GET "https://api.x-402.online/v1/sms/inbox?phone=%2B590690XXXXXX&since=2026-07-30T12%3A00%3A00Z"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.x-402.online%2Fv1%2Fsms%2Finbox
const res = await pay("https://api.x-402.online/v1/sms/inbox?phone=%2B590690XXXXXX&since=2026-07-30T12%3A00%3A00Z");
console.log(await res.json());

Example input

{
  "phone": "+590690XXXXXX",
  "since": "2026-07-30T12:00:00Z"
}

Example output

{
  "count": 1,
  "messages": [
    {
      "body": "G-483920 is your code",
      "sender": "Google"
    }
  ],
  "otp": "483920",
  "phone": "+590690XXXXXX"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402151 ms$0.005