# page-contains-check

> page-contains-check is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a web page and searches its readable text (case-insensitively) for a given phrase, returning whether it was found, the match count, and a surrounding context snippet.

## Facts

- Endpoint: GET https://intel.rallylive.ca/site/contains
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-contains-check-54ff9000
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JPmGwH6wYfihhlhW4zKxF

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 page-contains-check-54ff9000
```

Example prompt: Check if the product page at https://shop.example.com/widgets/blue-gadget contains the phrase 'sold out' and tell me how many times it appears along with the surrounding context.

## When to prefer this

Use this endpoint when you need a quick, low-cost single-call check to determine whether a specific phrase appears anywhere on a publicly accessible web page — ideal for stock/price monitoring, compliance spot-checks, or content verification. Prefer this over full page scrapers when you only need presence/absence of a phrase rather than structured data extraction.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — endpoint may return an error or empty result
- Page uses heavy JavaScript rendering and text is not in raw HTML — phrase may not be found even if visible in browser
- Phrase is present only in images or PDFs embedded on the page — not detected since only readable text is searched
- Malformed or missing URL parameter — returns a validation error
- Rate limiting or bot-blocking on the target site — fetch may fail

## How this service works

Does a page contain a phrase? Fetches the page and searches its readable text (case-insensitive) for the phrase you give, returning found/not found with a snippet of context and the match count. Stock alerts, price wording, 'sold out' checks and content verification. $0.01 per check.

## Output

Returns a boolean found/not-found status, the number of times the phrase appears on the page, and a short snippet of surrounding text providing context for where the match occurred.

## 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",
     "properties": {}
    }
   },
   "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/page-contains-check-54ff9000/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
