Skip to content
Fourohtwo

Wikipedia summary of an article by its title

paket.halowerk.com/v1/wikipedia-topic-summary

Wikipedia summary of an article by its title: the plain-text lead paragraph (up to 600 characters), article URL and Wikidata ID for one topic in English, German, French, Spanish, Italian, Dutch, Portuguese or Polish, with CC BY-SA 4.0 attribution. Use it when an agent needs a Wikipedia article summary (person articles are excluded).

BaseAnswering
POSThttps://paket.halowerk.com/v1/wikipedia-topic-summary

Uptime100% 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://paket.halowerk.com/v1/wikipedia-topic-summary", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language":"en","query":"Berlin"}),
});
console.log(await res.json());

Example input

{
  "language": "en",
  "query": "Berlin"
}