# extract-inline-code-as-json-bulk

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

Bulk-fetches up to 20 URLs concurrently and extracts all inline code elements from each page, returning results as JSON with per-item error fields and a failure count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/bulk/page/inline-code/json?utm_source=zero.xyz
- Price: $0.1/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-json-bulk-9f0d603a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ioiYj2p_leK3WOoCBNaqG

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-json-bulk-9f0d603a
```

Example prompt: Extract all inline code snippets from these 15 documentation pages at once and give me the results as JSON — I need them processed concurrently with any failures flagged per item.

## When to prefer this

Use this endpoint when you have a list of 2–20 URLs and need inline code extracted from all of them in a single call. It processes all URLs concurrently and returns results in input order with per-item error handling, making it far more efficient than calling the single-URL endpoint repeatedly. Ideal for agents orchestrating batch enrichment pipelines over sets of web pages.

## Known failure modes

- URL is unreachable or returns non-200 status — per-item error field populated, item skipped in results
- Page has no inline code elements — returns empty array for that item
- More than 20 URLs submitted — likely rejected or truncated
- Network timeout on one or more URLs — those items receive error fields
- Malformed URL in input list — per-item error returned for that entry

## How this service works

Bulk extract inline code as json: up to 20 urls in one call, processed concurrently, results in input order with a per-item error field and a failure count. Same answer per item as the single endpoint. Batch enrichment for agents that hold a list. $0.10 per batch.

## Output

A JSON array with one entry per input URL, preserving input order. Each entry contains the extracted inline code elements as JSON (matching the single-URL endpoint output), plus a per-item error field describing any fetch or parse failure. A top-level failure count summarizes how many items errored.

## 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-json-bulk-9f0d603a/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)
