{"slug":"www-brainiac-software-api-v1-public-infrastructure-ip-to-asn-9ebc95","title":"Longest-prefix match against a vendored RouteViews BGP snapshot, with IANA speci","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup","category":"other","description":"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","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":332,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"ip":"8.8.8.8"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"ip":{"description":"ip supplied by the caller for this operation.","example":"8.8.8.8","maxLength":64,"minLength":3,"type":"string"},"prefix":{"description":"prefix supplied by the caller for this operation.","maxLength":64,"minLength":3,"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"attribution":{"description":"attribution returned by this operation.","type":"string"},"covering":{"description":"covering returned by this operation.","items":{"additionalProperties":true,"properties":{"origins":{"description":"origins returned by this operation.","type":"array"},"prefix":{"description":"prefix returned by this operation.","type":"string"}},"type":"object"},"type":"array"},"limitations":{"description":"Product caveats. Absence of a signal is not a safety approval.","type":"array"},"matched":{"additionalProperties":true,"description":"matched returned by this operation.","properties":{"moas":{"description":"moas returned by this operation.","type":"boolean"},"origins":{"description":"origins returned by this operation.","type":"array"},"prefix":{"description":"prefix returned by this operation.","type":"string"}},"type":"object"},"query":{"description":"query returned by this operation.","type":"string"},"snapshot":{"additionalProperties":true,"description":"snapshot returned by this operation.","properties":{"collector":{"description":"collector returned by this operation.","type":"string"},"ribTime":{"description":"rib Time returned by this operation.","type":"string"}},"type":"object"},"sources":{"description":"Provenance only — upstream name, url, and retrievedAt when available.","items":{"additionalProperties":true,"properties":{"retrievedAt":{"description":"ISO-8601 timestamp when upstream data was retrieved.","type":"string"},"source":{"description":"Named upstream source for this delayed reference series.","type":"string"},"status":{"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.","type":"string"},"url":{"description":"Requested public URL.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":334,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":309,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":313,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":375,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":332,"error":null}],"description_full":"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","last_updated":"2026-11-24T14:48:55.907Z","schemes":["exact"]}