82trust / 100
Proxy Ip Lookup
by IP Geolocation Lookup in Weather & location
x402 APIPassing, checked 52 min ago
IP lookup and geolocation: resolve any public IPv4 or IPv6 address to location and network data from a local database (no third-party call, answers in milliseconds): country, country_code, region, city, lat/lon, IANA timezone, continent, is_eu, ASN with organization (isp, org, asn). Use for fraud and bot checks, geo-routing, analytics, or tagging traffic. Invalid, private and reserved addresses are rejected for free. Params: ip (defaults to the caller's IP).
POST https://agentsvc.io/api/v1/proxy/ip-lookup
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 93 ms typical, 93 ms slowest 5%
- Last check
- 52 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/ip-lookup" \
-H "content-type: application/json" \
-d '{"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%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fip-lookup
const res = await pay("https://agentsvc.io/api/v1/proxy/ip-lookup", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"ip":"8.8.8.8"}),
});
console.log(await res.json());Example input
{
"ip": "8.8.8.8"
}Example output
{
"data": {
"asn": "AS15169",
"city": "Ashburn",
"country": "United States",
"country_code": "US",
"ip": "8.8.8.8",
"isp": "Google LLC",
"lat": 39.0438,
"lon": -77.4874,
"org": "Google Public DNS",
"postal": "20149",
"region": "Virginia",
"timezone": "America/New_York"
},
"success": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 52 min ago | Passed | 402 | 93 ms | $0.0055 |
| 4 h ago | Passed | 402 | 185 ms | $0.0055 |
| 9 h ago | Passed | 402 | 65 ms | $0.0055 |