82trust / 100

Execute Polymathica Feed Meta V1

by Macaroon Network in Markets & finance

x402 APIPassing, checked 3 h ago

Metadata about the GPU/LLM pricing feed's tracked targets: source URL, last-fetch time, content hash, and parse status per provider. No pricing values themselves -- use the pricing listing for that. No outbound network on purchase; read from the local feed database.

POST https://api.macaroonnetwork.com/execute/polymathica-feed-meta-v1

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
255 ms typical, 349 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-feed-meta-v1" \
  -H "content-type: application/json" \
  -d '{"input":{},"predicate":{"conditions":[{"field":"$.targets","type":"count_gte","value":1},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.no_outbound_network_on_purchase","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-feed-meta-v1
const res = await pay("https://api.macaroonnetwork.com/execute/polymathica-feed-meta-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{},"predicate":{"conditions":[{"field":"$.targets","type":"count_gte","value":1},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.no_outbound_network_on_purchase","operator":"eq","type":"field_changed","value":true}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {},
  "predicate": {
    "conditions": [
      {
        "field": "$.targets",
        "type": "count_gte",
        "value": 1
      },
      {
        "field": "$.provenance.metadata_only",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      },
      {
        "field": "$.provenance.no_outbound_network_on_purchase",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      }
    ],
    "type": "all"
  }
}

Example output

{
  "payload": {
    "provenance": {
      "content_hash": "",
      "metadata_only": false,
      "no_outbound_network_on_purchase": false,
      "source": ""
    },
    "targets": [],
    "total": 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 agoPassed402274 ms$0.002
6 h agoPassed402243 ms$0.002
10 h agoPassed402222 ms$0.002
13 h agoPassed402113 ms$0.002
17 h agoPassed402244 ms$0.002
21 h agoPassed402110 ms$0.002
24 h agoPassed402255 ms$0.002
29 h agoPassed402349 ms$0.002
32 h agoPassed402272 ms$0.002
35 h agoPassed402337 ms$0.002
40 h agoPassed402636 ms$0.002