78trust / 100

Ip In Range

by ip-in-cidr-check in Weather & location

x402 APIPassing, checked 2 h ago

Check whether an IPv4 address belongs to a CIDR block. Give '<ip> in <cidr>' (or comma separated). Firewall rule validation, allowlist checks and log filtering. $0.01 per check.

POST https://intel.rallylive.ca/ip/in-range

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
51 ms typical, 142 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://intel.rallylive.ca/ip/in-range" \
  -H "content-type: application/json" \
  -d '{"query":"10.1.2.3 in 10.0.0.0/8"}'
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%2Fintel.rallylive.ca%2Fip%2Fin-range
const res = await pay("https://intel.rallylive.ca/ip/in-range", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"10.1.2.3 in 10.0.0.0/8"}),
});
console.log(await res.json());

Example input

{
  "query": "10.1.2.3 in 10.0.0.0/8"
}

Example output

{
  "cidr": "10.0.0.0/8",
  "in_range": true,
  "ip": "10.1.2.3"
}

Security scan

  • Payment address changed recently in payment
    Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40250 ms$0.01
6 h agoPassed40249 ms$0.01
9 h agoPassed402142 ms$0.01
13 h agoPassed40248 ms$0.01
17 h agoPassed40281 ms$0.01
20 h agoPassed40264 ms$0.01
24 h agoPassed40269 ms$0.01
28 h agoPassed40245 ms$0.01
31 h agoPassed40253 ms$0.01
35 h agoPassed402402 ms$0.01
38 h agoPassed40236 ms$0.01
41 h agoPassed40241 ms$0.01
47 h agoPassed40251 ms$0.01

History

11 Oct 2026Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3