# Macaroon Network Scientific ML Model Search

> Macaroon Network Scientific ML Model 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).

Search an indexed corpus of open-science repositories for scientific machine-learning model records by topic, returning metadata and provenance pointers without downloading weights.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/polymathica-scientific-model-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-scientific-ml-model-search-f8b1e91b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_viW0Xzi2xjRSMkscmwJRl

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-scientific-ml-model-search-f8b1e91b -d '<json body>'
```

Example prompt: Can you search for scientific machine learning models related to climate modeling and give me their metadata and source links, including any licence information that's available?

## When to prefer this

Use this endpoint when an agent needs to discover scientific ML models by topic, obtain their provenance and source links, or audit model origins within the open-science ecosystem. Prefer this over general web search when structured, source-linked metadata is needed. Not suitable for downloading model weights or executing models — use the GPU job submission sibling endpoint for that.

## Known failure modes

- No records found for highly niche or non-standard topic queries
- Licence information may be absent or unknown for many models
- Results are bounded to the indexed snapshot and may not include very recent models
- Ambiguous or overly broad queries may return low-relevance results
- Malformed request body returns validation error

## How this service works

Find source-linked scientific machine-learning model records by topic. Returns metadata and provenance pointers only; model weights are not downloaded or resold, and missing licence evidence remains unknown.

## Output

Returns a list of scientific ML model records matching the topic query, each with metadata (model name, description, topic tags), provenance pointers (source repository URLs, paper links), and available licence information. Model weights are not included. Records with unknown licence evidence are flagged as such.

## 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": {
   "query": "",
   "total": 0,
   "records": [],
   "provenance": {
    "content_hash": null,
    "metadata_only": null,
    "no_outbound_network_on_purchase": null
   }
  },
  "settled": true,
  "predicate_passed": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-scientific-ml-model-search-f8b1e91b/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)
