# 1gateway Web Audit

> 1gateway Web Audit is a paid API for AI agents from 1gateway.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Grades a website 0-100 (A-F) with per-category scores and actionable fix recommendations across security, HTTPS, SEO, mail, and AI readiness

## Facts

- Endpoint: GET https://1gateway.dev/v1/web/audit?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/1gateway-web-audit-30b76397
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zmHaxEA_wOYpAe7Z__dzW

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 1gateway-web-audit-30b76397
```

Example prompt: Can you audit stripe.com and give me a full grade — security headers, HTTPS setup, SEO, mail config, the works — plus tell me the top things they should fix?

## When to prefer this

Choose this endpoint when you need a fast, structured, rule-based website grade covering multiple dimensions (security headers, HTTPS, SEO, mail, AI readiness) in a single call. It returns actionable per-finding fix instructions — ideal for automated audits, client reports, or pre-launch checklists. Prefer it over generic scraping endpoints when you specifically need a scored, categorized health report rather than raw page content. Use the companion /v1/web/site-profile endpoint when you want the raw underlying data instead of scored findings.

## Known failure modes

- Private or internal IP targets return 400 (not charged)
- Unreachable domains or DNS failures return error with no score
- Malformed or non-URL input returns 400
- Very slow-loading sites may time out before full analysis
- Sites blocking crawlers may return incomplete findings

## How this service works

Use when an agent must grade a website and say what to fix. Input: url or bare domain. Output: JSON score 0-100, grade A-F, per-category scores (security, https, seo, mail, ai), findings [{id, severity, category, title, fix}] and top fixes. Rule-based from one live fetch plus DNS; raw data: /v1/web/site-profile. Example: ?url=stripe.com

## Output

Returns a JSON object with: numeric score (0-100), letter grade (A-F), per-category integer scores for security/https/seo/mail/ai, finding counts by severity (low/medium/high/info), an array of findings each with id/severity/category/title/fix fields, a topFixes array of prioritized recommendations, cache status, final resolved URL, and a list of data sources used.

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "examples": [
        "stripe.com"
       ],
       "maxLength": 2048,
       "description": "Site URL or bare domain (https:// assumed); private/internal targets → 400 (not charged)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "finalUrl",
      "status",
      "score",
      "grade",
      "scores",
      "counts",
      "findings",
      "topFixes",
      "checked",
      "cache",
      "sources",
      "notes"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "cache": {
       "type": "string"
      },
      "grade": {
       "type": "string"
      },
      "notes": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "score": {
       "type": "integer"
      },
      "counts": {
       "type": "object",
       "properties": {
        "low": {
         "type": "integer"
        },
        "high": {
         "type": "integer"
        },
        "info": {
         "type": "integer"
        },
        "medium": {
         "type": "integer"
        }
       }
      },
      "scores": {
       "type": "object",
       "properties": {
        "ai": {
         "type": "integer"
        },
        "seo": {
         "type": "integer"
        },
        "mail": {
         "type": "integer"
        },
        "https": {
         "type": "integer"
        },
        "security": {
         "type": "integer"
        }
       }
      },
      "status": {
       "type": "integer"
      },
      "checked": {
       "type": "object",
       "properties": {
        "https": {
         "type": "boolean"
        },
        "llmsTxt": {
         "type": "boolean"
        },
        "robotsTxt": {
         "type": "boolean"
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1gateway-web-audit-30b76397/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1gateway.dev](https://www.zero.xyz/host/1gateway.dev/llms.txt)
