Skip to content
Fourohtwo

Search U.S

api.macaroonnetwork.com/execute/federal-register-search-v1

Search U.S. federal regulatory documents -- final rules, proposed rules, notices, and presidential documents -- by keyword, document type, issuing agency, and publication date range. The only source used is the Federal Register's own public API (federalregister.gov), published by the National Archives and Records Administration's Office of the Federal Register.

BaseAnswering
POSThttps://api.macaroonnetwork.com/execute/federal-register-search-v1

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.macaroonnetwork.com/execute/federal-register-search-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"filters":{"document_type":"NOTICE","limit":5},"query":"recent EPA rules about emissions"},"predicate":{"conditions":[{"field":"$.results","type":"count_gte","value":1}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "filters": {
      "document_type": "NOTICE",
      "limit": 5
    },
    "query": "recent EPA rules about emissions"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.results",
        "type": "count_gte",
        "value": 1
      }
    ],
    "type": "all"
  }
}

More from Macaroon NetworkProvider status