Disposable Phone Checker API in Ruby

Call the Disposable Phone Checker API from Ruby with a single request — here's the whole thing, key included.

Fetch disposable phone checker api data.

require "net/http"

uri = URI("https://api.apiverve.com/v1/disposablephone")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"

res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.body

Swap YOUR_API_KEY for the key on your dashboard. See the reference for the exact parameters this endpoint accepts.

The response.

phone"+12085813945"
isDisposabletrue
firstSeen"2024-01-30"

Run it in Ruby. One key, the Disposable Phone Checker API, live in minutes.

Scaling up?

Volume pricing, custom SLAs, and dedicated support for high-traffic teams.

Contact sales