# SiteCheck Web Intel – ASN BGP Peers & Upstreams

> SiteCheck Web Intel – ASN BGP Peers & Upstreams is a paid API for AI agents from api.webintel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns the upstream (transit) and downstream BGP neighbour counts for an autonomous system, plus top upstreams ranked by power with IPv4/IPv6 peer counts and top downstreams, as observed by RIPE RIS route collectors.

## Facts

- Endpoint: GET https://api.webintel-api.workers.dev/api/security/asn-peers-upstream?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-web-intel-asn-bgp-peers-upstreams-e2af4216
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eJLUGpjH7HACBy2M9uwbR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-web-intel-asn-bgp-peers-upstreams-e2af4216
```

Example prompt: Can you look up the BGP upstream and downstream neighbours for AS13335 — I want to see how many transit providers it has and which upstreams are ranked highest by power?

## When to prefer this

Use this endpoint when you need observed BGP peering and transit topology for an autonomous system sourced from RIPE RIS route collectors, particularly when you want upstream power rankings or IPv4/IPv6 peer breakdowns. Prefer this over WHOIS lookups when you need actual observed routing relationships rather than contractual or registry data. Best suited for network intelligence, ISP research, security investigations, and internet topology analysis.

## Known failure modes

- Missing or invalid ASN parameter returns a validation error
- ASN not observed in RIPE RIS data returns empty or null results
- Malformed ASN string (e.g. non-numeric after 'AS' prefix) may return an error
- RIPEstat upstream API downtime causes service unavailability
- Very new or low-traffic ASNs may have sparse or no BGP observations

## How this service works

For an autonomous system (e.g. AS13335): how many upstream (transit) and downstream neighbours RIPEstat sees in BGP, the top upstreams ranked by 'power' with their IPv4 and IPv6 peer counts, and the top downstreams. Built from RIS route collector paths, so it is an observed view, not the contract.

## Output

Returns the total count of upstream (transit) and downstream BGP neighbours observed by RIPE RIS route collectors for the given ASN, a ranked list of top upstream providers by 'power' (each with IPv4 and IPv6 peer counts), and a ranked list of top downstream neighbours — all derived from observed RIS route collector paths.

## Request schema (JSON Schema)

```json
{
 "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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asn"
     ],
     "properties": {
      "asn": {
       "type": "string",
       "description": "AS number such as AS13335 or 13335 (required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-web-intel-asn-bgp-peers-upstreams-e2af4216/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webintel-api.workers.dev](https://www.zero.xyz/host/api.webintel-api.workers.dev/llms.txt)
