# Macaroon Network Open Science Graph

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

Returns a graph view (nodes and edges) of public scientific assets and their source relationships from a locally harvested metadata-only index.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/polymathica-open-science-graph-v1
- Price: $0.005/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-open-science-graph-817636c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-kGsAuM2rorTnseRaz6M8

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-open-science-graph-817636c0 -d '<json body>'
```

Example prompt: Can you pull up the graph view of publicly available scientific assets from the Polymathica open science index — I want to see how the assets link to their sources as nodes and edges.

## When to prefer this

Choose this endpoint when you need a structured graph (nodes/edges) representation of open scientific asset relationships and provenance, rather than a flat list of search results. Prefer this over the metadata-search listing endpoint when the relationships and links between assets and their sources are important, such as for provenance tracing, network analysis, or visualization. Not suitable if you need the actual underlying datasets, model weights, or paper content.

## Known failure modes

- Empty graph if no matching assets found for the query
- Malformed request body returns validation error
- Payment failure if USDC balance is insufficient for the $0.005 per-call fee
- Timeout if the graph query spans an unusually large subgraph
- Metadata index may not reflect real-time changes in upstream sources

## How this service works

Returns a graph view (nodes/edges) over the same locally harvested metadata-only index of public scientific assets as the metadata-search listing, linking assets to their sources. Metadata pointers only -- no underlying datasets, papers, or model weights are downloaded or resold.

## Output

A graph structure with nodes representing public scientific assets (papers, datasets, models) and edges representing their relationships to source origins, based on locally harvested metadata pointers only. No underlying data, weights, or documents are returned.

## 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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-open-science-graph-817636c0/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)
