# extract-inline-code-as-csv

> extract-inline-code-as-csv is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Fetches a web page URL and extracts all inline code elements, returning them as CSV rows with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/inline-code/csv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-inline-code-as-csv-809f60af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mkpspjLYOcV5OZVvNLlw5

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 extract-inline-code-as-csv-809f60af
```

Example prompt: Can you extract all the inline code elements from https://example.com/docs/api and give me the results as a CSV?

## When to prefer this

Choose this endpoint when you need to extract specifically inline code elements (HTML <code> tags) from a single web page and want results in CSV format for easy downstream processing. It is ideal for pipelines, audits, or agents that need structured, tabular output without spinning up a browser. Prefer over generic scrapers when you want focused, one-element-type extraction at low cost ($0.01/page).

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no inline code elements — returns empty CSV with a zero count
- URL points to a non-HTML resource (PDF, image) — may return empty or error
- Payment not included or invalid — x402 payment required error returned
- Malformed URL input — request fails with a validation error

## How this service works

Extract the page's inline code as csv: fetches the URL, pulls every inline code element and returns them as CSV rows, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A CSV-formatted response where each row represents one inline code element found on the page, along with a total count of elements extracted. No browser rendering is required; results are structured for easy ingestion by agents or data pipelines.

## 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/extract-inline-code-as-csv-809f60af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
