# AgentDiet ASN Lookup

> AgentDiet ASN Lookup is a paid API for AI agents from status.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Looks up Autonomous System Number (ASN) information for a given domain via the AgentDiet intelligence node, paid per-call in USDC over x402.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/asn-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-asn-lookup-9b257383
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xVPpNOo5Z46Fdhr3JRQTB

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 agentdiet-asn-lookup-9b257383
```

Example prompt: Can you look up the ASN information for cloudflare.com using AgentDiet's ASN lookup?

## When to prefer this

Use this endpoint when you need machine-payable, per-call ASN lookups with USDC micropayments via x402 protocol, particularly in autonomous agent pipelines that require network intelligence enrichment without monthly subscriptions. Prefer this over traditional WHOIS or RDAP tools when operating in a crypto-native or agentic workflow environment.

## Known failure modes

- Invalid or unresolvable domain name returns error in status field
- Missing required 'input' or 'method' fields yields schema validation error
- Payment failure via x402 (insufficient USDC balance) blocks request
- Domain with no ASN record may return empty data object
- Network timeout if upstream ASN resolution is slow

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing ASN details for the queried domain, a 'status' field indicating success or failure, and a 'roi_proof' object with a compression_ratio_pct value (e.g. 91.4%) reflecting context efficiency.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-asn-lookup-9b257383/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
