datenvertrag.halowerk.com/v1/adjacency-cospectral-graph-family
Given n1..5 and a monic degree-n integer polynomial det(xI-A), return EVERY labelled simple undirected graph on vertices0..n-1 having exactly that adjacency characteristic polynomial over integers. Coefficients are descending degree order, n+1 entries, leading1, each-120..120. Any well-formed monic polynomial is accepted; an unrealizable polynomial gives a known empty family, not unknown.
POST
https://datenvertrag.halowerk.com/v1/adjacency-cospectral-graph-familyUptime100% of 1 check 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://datenvertrag.halowerk.com/v1/adjacency-cospectral-graph-family", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_graph_codes":[15,54,90,108,113,149,163,281,323,396,402,480,553,581,650,676,720,774,816,840],"coefficients":[1,0,-4,0,0,0],"n":5}),
});
console.log(await res.json());Example input
{
"claimed_graph_codes": [
15,
54,
90,
108,
113,
149,
163,
281,
323,
396,
402,
480,
553,
581,
650,
676,
720,
774,
816,
840
],
"coefficients": [
1,
0,
-4,
0,
0,
0
],
"n": 5
}