# Forest Gas Station – Bounded Static Documentation Discovery

> Forest Gas Station – Bounded Static Documentation Discovery is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Performs a bounded static crawl of a public URL to discover machine-usable developer documentation including llms.txt, Markdown alternates, OpenAPI/Swagger specs, and MCP candidates, returning only verified results within 10 HTTP requests.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/docs/discover?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-gas-station-bounded-static-documentation-discovery-c076c49b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7sRIksyy3LaPrkD37O7cv

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 forest-gas-station-bounded-static-documentation-discovery-c076c49b -d '<json body>'
```

Example prompt: Can you scan https://api.example.com for any machine-readable docs — like an llms.txt, OpenAPI spec, or Markdown developer docs — and return only the verified links? Use the 'api' intent filter.

## When to prefer this

Choose this endpoint when you need to programmatically discover whether a public URL exposes machine-readable API documentation (llms.txt, OpenAPI, MCP, Markdown) without executing JavaScript or authenticated requests. Ideal for pre-integration audits, building agent tool registries, or validating that a service is AI-agent-friendly. Prefer this over general web scrapers when you specifically need verified developer/API doc artifacts rather than raw HTML content, and when a bounded, lightweight crawl (≤10 requests) is sufficient.

## Known failure modes

- URL unreachable or returns non-2xx status — no candidates returned
- Target site requires JavaScript rendering — JS-dependent docs not discoverable
- Documentation hosted behind authentication — authenticated content not crawled
- 10-request budget exhausted before full discovery — partial results returned
- No machine-usable documentation found — empty candidate list returned
- Invalid URL format — request rejected by schema validation

## How this service works

Perform a bounded static discovery pass for machine-usable documentation: llms.txt, Markdown alternates, developer/API/auth docs, OpenAPI/Swagger and MCP candidates. Candidates are returned only after bounded verification. Maximum 10 HTTP requests, no JavaScript, recursive crawl or authenticated content. Base mainnet USDC

## Output

A structured list of verified candidate URLs for machine-usable documentation artifacts found at the target URL, including llms.txt, Markdown alternates, OpenAPI/Swagger specs, MCP candidates, and developer/API/auth documentation pages — each confirmed reachable within the bounded 10-request static crawl budget.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?://",
   "maxLength": 2048,
   "minLength": 1,
   "description": "Public HTTP(S) URL to inspect, resolve, or compare."
  },
  "intent": {
   "enum": [
    "any",
    "api",
    "agent",
    "developer"
   ],
   "description": "Buyer goal used to prioritize documentation candidates."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-gas-station-bounded-static-documentation-discovery-c076c49b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
