# Forest Gas Station – Page Downloads Link Extractor

> Forest Gas Station – Page Downloads Link Extractor is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-03).

Fetches a static public HTML page and extracts all PDF, CSV, XLS, XLSX, ZIP, JSON, and XML download links, resolving relative URLs and deduplicating results.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/page/downloads?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-gas-station-page-downloads-link-extractor-7594478c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IxtYEMiA0dmcyUGMzlvIx

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-page-downloads-link-extractor-7594478c -d '<json body>'
```

Example prompt: Can you pull all the downloadable files — PDFs, CSVs, spreadsheets, ZIPs — linked on this public page: https://data.cityofnewyork.us/browse?limitTo=datasets

## When to prefer this

Use this endpoint when you need to discover and collect downloadable file links (PDF, CSV, XLS, XLSX, ZIP, JSON, XML) from a known static public HTML page without rendering JavaScript. It is ideal for harvesting open-data portals, government report pages, documentation sites, or any public webpage where files are listed as plain HTML anchor tags. Prefer this over general-purpose web scrapers when you specifically need download-ready file URLs resolved and deduplicated, and you know the page renders its links statically.

## Known failure modes

- Invalid or non-HTTP/HTTPS URL returns an error without charge
- Private/reserved IP or DNS target is rejected
- Page requires JavaScript to render links — links will not be found
- Page exceeds 2 MiB response size — request may fail or truncate
- More than 5 redirects encountered — request is aborted
- Response takes longer than 8 seconds — timeout error
- Discovered links cap at 500 — additional links silently omitted

## How this service works

Extract PDF/CSV/XLS/XLSX/ZIP/JSON/XML links from static public HTML by suffix or download filename. Resolve relative/base links and deduplicate. Limits: 500 links, 8s, 5 redirects, 2 MiB. No JavaScript or file downloads; existence, MIME, size and file safety are unverified. Empty results are valid. Base mainnet USDC

## Output

A deduplicated list of up to 500 absolute URLs pointing to PDF, CSV, XLS, XLSX, ZIP, JSON, or XML files found as links on the target HTML page. Relative links are resolved against the page base URL. File existence, MIME type, size, and safety are not verified. An empty list is a valid result if no matching links are found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?://",
   "maxLength": 2048,
   "minLength": 1,
   "description": "Absolute public HTTP(S) URL on port 80/443. No credentials. Private/reserved DNS/IPs and HTTPS downgrades rejected."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-gas-station-page-downloads-link-extractor-7594478c/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)
