denk.halowerk.com/v1/bm25-search
Keyword search over supplied documents with Okapi BM25 (k1 and b adjustable), optional German CISTEM stemming, matched terms, IDF table and snippets. Builds an in-memory BM25 index over up to 5000 supplied documents (title and text) and ranks them for the query.
POST
https://denk.halowerk.com/v1/bm25-searchUptime100% of 4 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://denk.halowerk.com/v1/bm25-search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"documents":[{"id":"a","text":"Die Kündigungsfrist für den Mietvertrag beträgt drei Monate."},{"id":"b","text":"Der Kaufvertrag wird schriftlich geschlossen."}],"query":"Kündigung Mietvertrag Frist","stemming":"german"}),
});
console.log(await res.json());Example input
{
"documents": [
{
"id": "a",
"text": "Die Kündigungsfrist für den Mietvertrag beträgt drei Monate."
},
{
"id": "b",
"text": "Der Kaufvertrag wird schriftlich geschlossen."
}
],
"query": "Kündigung Mietvertrag Frist",
"stemming": "german"
}