Public Infrastructure · Ip To Asn Lookup
Longest-prefix match against a vendored RouteViews BGP snapshot, with IANA special-purpose flags. Docs: https://www.brainiac.software/api/public-infrastructure/ip-to-asn-lookup
POST https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup
0.02 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"ip": "8.8.8.8"
}{
"attribution": "RouteViews, University of Oregon (CC BY 4.0)",
"covering": [
{
"origins": [
{
"asn": 3356,
"peers": 16
}
],
"prefix": "8.0.0.0/12"
}
],
"limitations": [
"One collector's view at ribTime."
],
"matched": {
"moas": false,
"origins": [
{
"asn": 15169,
"peers": 17
}
],
"prefix": "8.8.8.0/24"
},
"query": "8.8.8.8",
"snapshot": {
"collector": "route-views2",
"ribTime": "2026-11-14T00:00:00Z"
},
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "RouteViews RIB snapshot (CC BY 4.0)",
"status": "ok",
"url": "https://www.routeviews.org/routeviews/"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"ip": {
"type": "string",
"minLength": 3,
"maxLength": 64,
"description": "ip supplied by the caller for this operation.",
"example": "8.8.8.8"
},
"prefix": {
"type": "string",
"minLength": 3,
"maxLength": 64,
"description": "prefix supplied by the caller for this operation."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"query": {
"type": "string",
"description": "query returned by this operation."
},
"matched": {
"type": "object",
"description": "matched returned by this operation.",
"properties": {
"prefix": {
"type": "string",
"description": "prefix returned by this operation."
},
"origins": {
"type": "array",
"description": "origins returned by this operation."
},
"moas": {
"type": "boolean",
"description": "moas returned by this operation."
}
},
"additionalProperties": true
},
"covering": {
"type": "array",
"description": "covering returned by this operation.",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"prefix": {
"type": "string",
"description": "prefix returned by this operation."
},
"origins": {
"type": "array",
"description": "origins returned by this operation."
}
}
}
},
"snapshot": {
"type": "object",
"description": "snapshot returned by this operation.",
"properties": {
"collector": {
"type": "string",
"description": "collector returned by this operation."
},
"ribTime": {
"type": "string",
"description": "rib Time returned by this operation."
}
},
"additionalProperties": true
},
"attribution": {
"type": "string",
"description": "attribution returned by this operation."
},
"sources": {
"type": "array",
"description": "Provenance only — upstream name, url, and retrievedAt when available.",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"source": {
"type": "string",
"description": "Named upstream source for this delayed reference series."
},
"url": {
"type": "string",
"description": "Requested public URL."
},
"retrievedAt": {
"type": "string",
"description": "ISO-8601 timestamp when upstream data was retrieved."
},
"status": {
"type": "string",
"description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged."
}
}
}
},
"limitations": {
"type": "array",
"description": "Product caveats. Absence of a signal is not a safety approval."
}
}
}curl -i -X POST 'https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup' \
-H 'content-type: application/json' -d '{"ip":"8.8.8.8"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs