81trust / 100

Execute Polymathica Archive Search V1

by Macaroon Network in Search & web

x402 APIPassing, checked 3 h ago

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.

POST https://api.macaroonnetwork.com/execute/polymathica-archive-search-v1

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
206 ms typical, 206 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.macaroonnetwork.com/execute/polymathica-archive-search-v1" \
  -H "content-type: application/json" \
  -d '{"input":{"query":"Navier Stokes NPZ"},"predicate":{"conditions":[{"field":"$.records","type":"count_gte","value":1},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.absolute_paths_removed","operator":"eq","type":"field_changed","value":true}],"type":"all"}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.macaroonnetwork.com%2Fexecute%2Fpolymathica-archive-search-v1
const res = await pay("https://api.macaroonnetwork.com/execute/polymathica-archive-search-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"query":"Navier Stokes NPZ"},"predicate":{"conditions":[{"field":"$.records","type":"count_gte","value":1},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.absolute_paths_removed","operator":"eq","type":"field_changed","value":true}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "query": "Navier Stokes NPZ"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.records",
        "type": "count_gte",
        "value": 1
      },
      {
        "field": "$.provenance.metadata_only",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      },
      {
        "field": "$.provenance.absolute_paths_removed",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      }
    ],
    "type": "all"
  }
}

Example output

{
  "payload": {
    "provenance": {},
    "records": [],
    "total_returned": 0
  },
  "predicate_passed": true,
  "settled": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402206 ms$0.002
6 h agoPassed40295 ms$0.002
11 h agoPassed402217 ms$0.002