Term Extract
by text.halowerk.com in Search & web
Extract glossary term candidates from German or English text: multi-word and single-word candidates with frequency, C-value, variants and an example sentence. Splits the text into sentences (Intl.Segmenter) and punctuation-free chunks, builds word n-grams up to max_ngram that neither start nor end with a function word (hand-compiled closed-class lists) and contain no function word inside.
https://text.halowerk.com/v1/term-extract- Price
- $0.004
- per call in USDC
- Uptime
- 92.3%
- last 30 days
- Response time
- 45 ms
- 136 ms slowest 5%
- Last check
- Passed
- 6 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://text.halowerk.com/v1/term-extract
Each call costs $0.004 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://text.halowerk.com/v1/term-extract
content-type: application/json
{
"language": "de",
"text": "Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag."
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
language | string | No | auto detects German or English; other languages are rejected. One of: auto, de, en. Default: "auto". |
max_ngram | integer | No | Maximum number of words per candidate. Default: 3. |
max_terms | integer | No | Maximum number of returned candidates. Default: 50. |
min_frequency | integer | No | Minimum number of occurrences. Default: 2. |
text | string | Yes | German or English text. |
Example response
The provider's example. We can't check it without paying.
Example response, 33 lines
{
"limitations": [
"Without a part-of-speech model, verb or adjective phrases can slip through and some valid terms with inner function words (Ende der Laufzeit) are missed."
],
"result": {
"language": "de",
"method": "n-grams without function words, C-value (log2(n+1))",
"sentences": 3,
"terms": [
{
"c_value": 3.17,
"example": "Die elektronische Rechnung ersetzt die Papierrechnung.",
"frequency": 2,
"nested_in": 0,
"term": "elektronische Rechnung",
"variants": [],
"words": 2
},
{
"c_value": 2,
"example": "Jede elektronische Rechnung braucht eine Leitweg-ID.",
"frequency": 2,
"nested_in": 0,
"term": "Leitweg-ID",
"variants": [],
"words": 1
}
],
"words": 19
},
"service": "term-extract",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.004.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://text.halowerk.com/v1/term-extract' \
-H 'content-type: application/json' \
--data-raw '{"language":"de","text":"Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag."}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://text.halowerk.com/v1/term-extract' \
-H 'content-type: application/json' \
--data-raw '{"language":"de","text":"Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag."}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftext.halowerk.com%2Fv1%2Fterm-extract&method=POST
const res = await pay("https://text.halowerk.com/v1/term-extract", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"language": "de",
"text": "Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag."
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://text.halowerk.com/v1/term-extract",
json={
"language": "de",
"text": "Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag.",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 6 h ago | Passed | 402 | 41 ms | $0.004 |
| 17 h ago | Passed | 402 | 46 ms | $0.004 |
| 27 h ago | Passed | 402 | 39 ms | $0.004 |
| 37 h ago | Passed | 402 | 41 ms | $0.004 |
| 47 h ago | Passed | 402 | 53 ms | $0.004 |
Show 10 older checks
| 3 days ago | Timed out | - | - | - |
| 5 days ago | Timed out | - | - | - |
| 6 days ago | Passed | 402 | 40 ms | $0.004 |
| 6 days ago | Passed | 402 | 42 ms | $0.004 |
| 7 days ago | Passed | 402 | 38 ms | $0.004 |
| 7 days ago | Passed | 402 | 48 ms | $0.004 |
| 7 days ago | Passed | 402 | 135 ms | $0.004 |
| 8 days ago | Passed | 402 | 183 ms | $0.004 |
| 8 days ago | Passed | 402 | 40 ms | $0.004 |
| 8 days ago | Passed | 402 | 121 ms | $0.004 |