# 1gateway Site Profile

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

Returns a comprehensive profile of a website including HTTP status, HTTPS/redirect behavior, security headers, DNS, mail provider, SPF/DMARC, RDAP registrar info, robots.txt, and page metadata in a single call.

## Facts

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

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-site-profile-e1e5ce63
```

Example prompt: Can you pull a full site profile for stripe.com — I want to see if it has HTTPS, what security headers it sets, who the registrar is, how old the domain is, and whether it has an llms.txt or robots.txt?

## When to prefer this

Choose this endpoint when you need a single-call, comprehensive vetting of a website covering security, DNS, email authentication, domain provenance, and page metadata simultaneously — particularly for lead research, vendor due diligence, or security audits. Prefer it over separate DNS or WHOIS tools when breadth matters and you want everything in one response.

## Known failure modes

- Private or internal IP targets return HTTP 400 and are not charged
- Invalid or unreachable domains may return DNS resolution errors
- Sites with aggressive bot blocking may return incomplete page metadata
- Domains without RDAP records will have null registrar/age/expiry fields
- Timeout on slow-responding servers may yield partial results

## How this service works

Use when an agent must vet or research a website in one call (lead research, security or SEO check, is this site legit). Input: url or bare domain. Output: JSON page metadata, HTTP status, HTTPS and HTTP-to-HTTPS redirect, server and hosting hints, 7 security headers, robots.txt (sitemaps, AI-crawler rules), llms.txt presence, plus domain DNS, mail provider, SPF/DMARC and RDAP registrar, age and expiry. Example: ?url=stripe.com

## Output

A JSON object containing: final URL after redirects, HTTP status code, HTTPS availability flag, HTTP-to-HTTPS redirect flag, server and tech hints, 7 security headers (CSP, HSTS, X-Frame-Options, etc.), robots.txt content including sitemap URLs and AI-crawler directives, llms.txt presence, page metadata (title, description, OG tags, JSON-LD types, favicon, hreflang alternates), DNS details, mail provider, SPF and DMARC records, RDAP registrar name, domain registration age, and domain expiry date.

## 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",
      "https",
      "httpRedirectsToHttps",
      "server",
      "techHints",
      "securityHeaders",
      "page",
      "robotsTxt",
      "llmsTxt",
      "domain",
      "cache",
      "sources",
      "notes"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "page": {
       "type": "object",
       "properties": {
        "url": {
         "type": "string"
        },
        "lang": {
         "type": "string"
        },
        "type": {
         "type": "string"
        },
        "feeds": {
         "type": "array",
         "items": {}
        },
        "icons": {
         "type": "array",
         "items": {
          "type": "object",
          "properties": {
           "rel": {
            "type": "string"
           },
           "href": {
            "type": "string"
           },
           "sizes": {
            "type": [
             "string",
             "null"
            ]
           }
          }
         }
        },
        "image": {
         "type": "string"
        },
        "title": {
         "type": "string"
        },
        "author": {
         "type": "null"
        },
        "robots": {
         "type": "null"
        },
        "status": {
         "type": "integer"
        },
        "favicon": {
         "type": "string"
        },
        "twitter": {
         "type": "object",
         "additionalProperties": {
          "type": "string"
         }
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1gateway-site-profile-e1e5ce63/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)
