Stateless full-text search over supplied podcast transcripts
ton.halowerk.com/v1/feed-fulltext-search
Stateless full-text search over supplied podcast transcripts: BM25-ranked hits with episode, timestamp, speaker and highlighted snippet; all, any or phrase queries. Indexes up to 300 supplied transcripts (WebVTT, SRT, Podcast Namespace JSON or HTML, plain text) per call and searches them; nothing is stored between calls and no feed is crawled. Passages are cues (word-level JSON merged into sentenc
POST
https://ton.halowerk.com/v1/feed-fulltext-searchUptime100% of 2 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://ton.halowerk.com/v1/feed-fulltext-search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query":"podcast trailer","transcripts":[{"content":"WEBVTT\n\n00:00:01.000 --> 00:00:04.000\n<v Sarah>Do we need a podcast trailer?","id":"ep-12","title":"Trailer basics"}]}),
});
console.log(await res.json());Example input
{
"query": "podcast trailer",
"transcripts": [
{
"content": "WEBVTT\n\n00:00:01.000 --> 00:00:04.000\n<v Sarah>Do we need a podcast trailer?",
"id": "ep-12",
"title": "Trailer basics"
}
]
}