Bartok Text Analyzer

A pay-per-call API for AI agents. Send a text (up to 4000 characters, about one page) and get back a short summary and a category. Payment uses the x402 protocol. No account and no API key.

Pricing and payment

Price0.02 USDC per successful call
NetworkBase mainnet (eip155:8453)
AssetUSDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Pay to0xd125aB58FCCD435a3eD2cce7C9B033440de11e91
Schemeexact (x402 v2), settled through the CDP facilitator

Endpoint

POST https://n8n.eotrends.com/webhook/bartok/resumen

  1. Call the endpoint without payment. It answers 402 with the payment terms (body and PAYMENT-REQUIRED header).
  2. Sign the payment with an x402 client and retry with the PAYMENT-SIGNATURE header.
  3. The service verifies the payment, runs the analysis, settles, and returns the result.

Request

{ "text": "The city council approved the 2027 budget on Monday..." }

Response

{ "ok": true, "result": { "summary": "...", "category": "news" } }

The summary is written in the language of the input text. Categories: news, opinion, technical, commercial, other.

Free sandbox and one free call

Want to test your x402 client before paying? The free sandbox checks a signed test payment and returns a diagnosis. Nothing is settled and no money moves: POST https://n8n.eotrends.com/webhook/a2a/sandbox (GET the same URL for the instructions).

Want to try the service for free? Send a short quality report with a message of at least 10 characters: POST https://n8n.eotrends.com/webhook/a2a/feedback (GET the same URL for the schema; use "service": "text-analyzer"). The response includes a single-use voucher. Redeem it with POST https://n8n.eotrends.com/webhook/bartok/gratis and the body { "text": "...", "voucher": "..." }: same analysis, no payment. Vouchers last 7 days and daily limits apply. Catalog of our services: a2a.eotrends.com.

Errors

If a settlement cannot be confirmed, the result is not delivered; retry with the same payment signature and the stored result is returned once the charge is confirmed.