# Macaroon Network Polymathica Archive Search

> Macaroon Network Polymathica Archive Search is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Searches a privacy-safe metadata index of 23,370 deduplicated records derived from 77,053 archived census rows, returning readiness, quarantine, domain, file type, field names, and provenance hashes without redistributing raw content.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/polymathica-archive-search-v1
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-polymathica-archive-search-b12f3d4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c5r4R1cnrAdP-HwKpOmwx

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 macaroon-network-polymathica-archive-search-b12f3d4b -d '<json body>'
```

Example prompt: Search the Polymathica archive metadata index for records in the 'physics' domain that are marked as ready and return their content hashes and field names.

## When to prefer this

Choose this endpoint when you need to search across the full breadth of the Polymathica archive census (77,053 rows, deduplicated to 23,370 unique hashes) using flexible query parameters, rather than fetching a single record by asset ID. Prefer this over the single-record retrieval endpoint when you don't know the exact asset ID, or when you need to filter by domain, readiness, quarantine status, or file type across many records simultaneously.

## Known failure modes

- Missing required 'input' body field returns 400 validation error
- Invalid method enum value (not POST/PUT/PATCH) causes schema rejection
- Malformed bodyType outside allowed enum returns validation failure
- No matching records found returns empty result set
- Payment not completed via x402 protocol results in 402 Payment Required
- Overly broad queries may return large result sets requiring filtering

## How this service works

Search a privacy-safe metadata index derived from 77,053 archived census rows and deduplicated to 23,370 unique content hashes. Includes readiness, quarantine, domain, file type, field names and provenance hashes; does not redistribute raw fields, media or third-party content.

## Output

Returns structured metadata records from the deduplicated archive index including content hash, readiness state, quarantine flag, domain classification, file type, field names, and provenance hash — without exposing any raw fields, media, or third-party content.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "payload": {
   "records": [],
   "provenance": {},
   "total_returned": 0
  },
  "settled": true,
  "predicate_passed": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-polymathica-archive-search-b12f3d4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
