80trust / 100

Net Ip Resolve

by 2s in Weather & location

x402 APIPassing, checked 3 h ago

Resolve a single IPv4/IPv6 address to its full network identity in one call: the Autonomous System number, the authoritative AS holder/operator (RIPEstat), the ISP + organization, whether the AS is currently announced, the RIR/IANA allocation block the AS sits in, and country/region/city + coordinates + timezone. One join that turns an IP into "who runs this network and where" -- the lookup network-forensics, abuse triage, and fraud agents otherwise stitch together from a geo API plus a separate BGP source. Composes geo IP data + RIPEstat (RIPE NCC, CC BY 4.0); the routing/holder block degrades independently, with per-source status returned. Distinct from net.asn (AS-number first) and geo.ip (geo only): this is IP-first and joins both.

GET https://2s.io/api/net/ip-resolve

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://2s.io/api/net/ip-resolve?ip=8.8.8.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%2F2s.io%2Fapi%2Fnet%2Fip-resolve
const res = await pay("https://2s.io/api/net/ip-resolve?ip=8.8.8.8");
console.log(await res.json());

Example input

{
  "ip": "8.8.8.8"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402157 ms$0.009
6 h agoPassed402264 ms$0.009
10 h agoPassed402185 ms$0.009
14 h agoPassed402189 ms$0.009
17 h agoPassed402159 ms$0.009
21 h agoPassed402164 ms$0.009
25 h agoPassed402169 ms$0.009
27 h agoPassed402177 ms$0.009
33 h agoPassed402293 ms$0.009