# Page to JSON (free to run)

Give it a URL and a JSON Schema; it returns typed JSON from that page, each value with its source text, each missing one null with why.

Runs free, on Nemotron 3.5 Super VL through OpenRouter. Requires web fetch. Can use Firecrawl, through its own MCP server (optional).

## Install

Put an OPENROUTER\_API\_KEY in your server's environment. Free models allow 50 requests a day per OpenRouter account (1,000 after buying $10 of credits); a run takes about 4 of them. Add Firecrawl's preset (Settings → MCP servers) for pages drawn by JavaScript; it sees each URL. NVIDIA, which serves the model, may use what you send to improve its AI models: use public pages only.

```sh
npx @parcha/agentrun template install github:Parcha-ai/agentrun-templates/templates/page-to-json@9ed9ff98e3130d3dce065743e8c60bb13e84f646 --trust
```

Or open `<your AgentRun address>/#/templates/install?src=github%3AParcha-ai%2Fagentrun-templates%2Ftemplates%2Fpage-to-json%409ed9ff98e3130d3dce065743e8c60bb13e84f646`. Pinned to commit 9ed9ff98e3130d3dce065743e8c60bb13e84f646.

### Install with your agent

Copy this prompt into your coding agent:

```text
Help me install the Page to JSON (free to run) template on my existing AgentRun.

Pinned template source: github:Parcha-ai/agentrun-templates/templates/page-to-json@9ed9ff98e3130d3dce065743e8c60bb13e84f646
Read the template and its instructions: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/page-to-json

Ask for my AgentRun address or local installation directory if you do not already know it. Confirm which instance to use before making changes.
Read https://agentrun.ai/SKILL.md and inspect the installed version's template install help. Use the installation workflow that version supports.
Review this template's setup, instructions and requested tools with me, then install the pinned version on that instance with the settings and permissions I approve. Do not start a second instance or redeploy my existing one.
If this version cannot install templates, explain what is missing and the supported next step. Verify the result and tell me how to run the installed agent.
```

## What it does

Give it a web page's URL and a JSON Schema, and get back JSON that meets the schema, filled only from that page. Each value comes with the words on the page it was copied from, and a field the page does not give is null with the reason, never a guess. It runs for $0 on a free OpenRouter model, reading the page with the built-in fetch or, for a page drawn by JavaScript, Firecrawl's keyless scraper. Public pages only.


## What starts it

- By hand, any time: from the console, the API or the CLI.

## Inputs

| Name | Type | Required | What it is |
| --- | --- | --- | --- |
| `url` | string, uri | yes | The one public page to read. Firecrawl, when you added it, sees this URL. Example: `https://nodejs.org/en/about/previous-releases`. |
| `schema` | string, 2 to 8000 characters | yes | The JSON Schema the data must meet, as JSON text, with at most 40 fields (every property at any depth); a larger one is refused before the page is read. Each property's description is read as what to copy into it. Example: `{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number","description":"the price shown, without the currency sign"}},"required":["name","price"]}`. |
| `notes` | string, 0 to 600 characters | no | Which table or section, which currency or unit, what to do with ranges. Blank: the schema alone. Example: `Take prices from the 'Annual' column.`. |

## What it needs

- Harness: pi
- Model: fast tier, prefers openrouter/nvidia/nemotron-3.5-super-vl:free, medium effort
- Tools: web_fetch
- Firecrawl MCP server tools (optional): firecrawl_scrape. Reads a page the built-in fetch can't: one drawn by JavaScript, or one that refuses plain fetches. The URL goes to Firecrawl (mcp.firecrawl.dev), keyless, under a daily limit Firecrawl does not publish.
- Computer: Wherever your AgentRun puts a new agent
- Keys: A model key for the fast tier; the preferred model runs with a key for OpenRouter
- Learning: off

## Sample output

No sample output ships with this template yet.

## Tested

Passes 9 of 9 eval cases on pi. On the live web, 1 of 1 on pi.

10 eval cases: evidence-overflow, field-below-capped-list, injection-in-page, js-page-firecrawl, live-node-releases, long-list-past-first-read, missing-is-null, schema-too-big, search-failed, typed-extraction.

## Source

- Package: https://github.com/Parcha-ai/agentrun-templates/tree/9ed9ff98e3130d3dce065743e8c60bb13e84f646/templates/page-to-json
- Publisher: Parcha-ai
- Author: Parcha Labs
- Version: 0.1.0
- License: Apache-2.0
- Category: Engineering
- Page: https://marketplace.agentrun.ai/templates/page-to-json/
