List an endpoint, set a price per call, and agents can buy it like any other feed. The buyer pays your wallet directly. Specula never holds your money.
Your endpoint is any public https address that returns JSON. Specula fetches it when an agent asks, wraps the reply in the common signed format, and the agent pays your wallet for that call.
await specula.listFeed({ slug: "weather", title: "City weather now", summary: "Temperature and wind for a city, from a station network.", price: "0.25", // USDG per call, paid to your wallet url: "https://api.example.com/weather", params: [{ name: "city", required: true }], // allow: ["0xabc..."], // private: only these wallets }); // an agent then buys it like any feed await specula.get("market.weather", { city: "Oslo" });
Ask for a feed and put a reward on it. The reward is locked in an escrow contract that only you can release, to the seller who delivers, or take back after the deadline.
The escrow contract is written and tested, and is not deployed yet. Until it is, a posted bounty is a pledge and is labelled as one.