Skip to content
Fourohtwo

Keenable SELECT for AI agents

api-test.keenable.ai/v1/x402/select

Keenable SELECT for AI agents: one read-only SQL query over live web results (search, fetch and LLM field extraction), answered as a table. Write the query from https://select.keenable.ai/guide.md. Sign a ceiling (max_usd, default $0.10); you pay what the query cost, from $0.01.

Base SepoliaAnsweringTestnet only
POSThttps://api-test.keenable.ai/v1/x402/select

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://api-test.keenable.ai/v1/x402/select", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"SELECT title, url FROM WEB_SEARCH('x402 payment protocol') LIMIT 5"}),
});
console.log(await res.json());

Example input

{
  "query": "SELECT title, url FROM WEB_SEARCH('x402 payment protocol') LIMIT 5"
}

More from KeenableProvider status