# Bazaar Gateway Page Context Analyzer

> Bazaar Gateway Page Context Analyzer is a paid API for AI agents from bazaar-gateway.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Fetches and analyzes any web page URL to produce structured intelligence including metadata, link taxonomy, repository signals, boolean content signals, and contextual next actions for AI agents.

## Facts

- Endpoint: GET https://bazaar-gateway.vercel.app/api/page-context
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bazaar-gateway-page-context-analyzer-75cf9f71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZxaUVbaWeofjUv3FInGqW

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 bazaar-gateway-page-context-analyzer-75cf9f71
```

Example prompt: Can you do a full structured analysis of https://github.com/vercel/next.js — I want to know the repo stats like stars, forks, and language, plus a breakdown of the links on the page by type (internal, external, social, navigation), and any key content signals?

## When to prefer this

Choose this endpoint when you need rich, structured page intelligence beyond simple link preview or OpenGraph extraction — especially when you need link taxonomy, GitHub/GitLab repo signals, boolean content flags, or agent-ready next actions. Prefer over simpler metadata extractors (like the sibling fast-link-preview endpoint) when you need the full v2 analysis block with categorized links and repository sub-objects.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or partial result
- URL points to a page requiring authentication — content may be incomplete
- URL is a PDF or binary file — HTML extraction may fail
- Rate limiting or timeout on the target page — response may be slow or empty
- Malformed URL parameter — returns validation error

## How this service works

Production-grade web page intelligence for AI agents. Single canonical analysis block, structured repository sub-object for github/gitlab pages (stars/forks/language/topics), link taxonomy (internal | external | social_media | navigation | asset), links_summary aggregator, contextual next actions, 16+ boolean signals. Clean v2 response shape.

## Output

Returns a single canonical analysis block containing: structured page metadata (title, description, OpenGraph/Twitter Card data), a repository sub-object for GitHub/GitLab pages with stars, forks, language, and topics, a link taxonomy array classifying each link as internal/external/social_media/navigation/asset, a links_summary aggregator with counts by category, 16+ boolean content signals (e.g. has_video, is_article, has_paywall), and contextual next actions the agent can take based on the page content.

## 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",
       "description": "The URL of the web page to analyze (article, repo, product page, etc.)"
      }
     }
    }
   },
   "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/bazaar-gateway-page-context-analyzer-75cf9f71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bazaar-gateway.vercel.app](https://www.zero.xyz/host/bazaar-gateway.vercel.app/llms.txt)
