x402 pay-per-call

Detect a recent SIM swap or carrier port

Check whether a phone number has had a SIM swap or carrier port in the last 24 hours via real-time carrier lookup. A recent swap is a strong signal of an active account-takeover attempt targeting SMS-based 2FA. Call before trusting an SMS OTP from this number.

Billing. $0.25 in USDC per call over x402, on Base or Solana. No API key, no signup and no subscription. Send the request with no payment header, take the 402 challenge that comes back, pay it, and repeat the request. Only successful calls are charged.

post/v1/payg/sim-swap

Request

  • Base URL: https://api.relayshield.net
  • URL: https://api.relayshield.net/v1/payg/sim-swap
  • Auth: none required

Request body

phonestring required

Phone number in E.164 format

Response

Payment settled and the check ran. ok is true and data holds the result.

oktrue required
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.