{"uid":"cap_ZSWHxZL9YUZ86gNobYaWs","slug":"swift-bot-labs-ip-info-e99f8415","name":"Swift Bot Labs IP Info","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/ip/info?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["ip"],"properties":{"ip":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"ip-info","result":{"input":"::ffff:192.168.1.10","scope":"ipv4-mapped","global":false,"version":6,"canonical":"::ffff:c0a8:10a","embeddedIPv4":"192.168.1.10","embeddedScope":"private"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AhKGVXP-o1UnmTjgg7lbp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns detailed metadata for a given IP address including scope, version, canonicalization, and embedded IPv4 for IPv4-mapped IPv6 addresses","exampleAgentPrompt":"What are the details for IP address 192.168.1.10 — is it public or private, what version is it, and what's its canonical form?","exampleUseCases":[{"title":"Detect private vs public IP","prompt":"I have the IP address 10.0.0.1 — can you tell me if it's a private or globally routable IP, and what scope it falls under?"},{"title":"Decode IPv4-mapped IPv6 address","prompt":"I've got this IPv6 address ::ffff:203.0.113.5 — can you decode it, tell me what version it is, and extract the embedded IPv4 address?"},{"title":"Classify IP before allowing access","prompt":"Before I let this IP 172.16.5.20 connect to my service, can you check whether it's a private, loopback, or public IP and give me its canonical representation?"}],"resultDescription":"Returns a JSON object with fields: ok (boolean), tool ('ip-info'), and result containing input (original string), scope (e.g. 'private', 'loopback', 'global'), global (boolean), version (4 or 6), canonical (canonical IP string), and for IPv4-mapped IPv6: embeddedIPv4 and embeddedScope fields.","failureModes":["Missing or invalid 'ip' query parameter returns an error response","Malformed IP strings may return an error or unexpected scope classification","Non-IP strings passed as the ip parameter will likely fail validation","Payment failure or x402 rejection blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, pay-per-call IP metadata without provisioning an API key or account. Ideal for one-off lookups, agent pipelines, or when you need to classify IP scope (private/public/loopback), decode IPv4-mapped IPv6, or canonicalize IP representations. Prefer over heavier geolocation services when you don't need country/city data, just IP math and scope classification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:33.618Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-ip-info-e99f8415"}