D

DopamineDesk AI Marketplace · Summarize

by DopamineDesk AI Marketplace

POSTBase

$0.005

per call · USD Coin on Base

Create a deterministic extractive summary by ranking and selecting sentences from the supplied text.

Endpoint

POST https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/summarize

1

Calls / 30d

1

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/summarize", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "format": "bullets",
    "length": "short",
    "text": "Quarterly revenue rose to 4.2 million dollars, up 18 percent year over year. Operating costs fell 6 percent after the migration to managed infrastructure. The board approved a further hiring round for the platform team. Churn held steady at 2.1 percent for the third consecutive quarter."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/summarize" \
  -H "Content-Type: application/json" \
  -d '{"format":"bullets","length":"short","text":"Quarterly revenue rose to 4.2 million dollars, up 18 percent year over year. Operating costs fell 6 percent after the migration to managed infrastructure. The board approved a further hiring round for the platform team. Churn held steady at 2.1 percent for the third consecutive quarter."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "engine": "extractive_frequency_v1",
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "computed_service",
    "source": "deterministic extractive summarizer"
  },
  "original_length": 287,
  "sentence_count": 6,
  "success": true,
  "summary": "Quarterly revenue rose to 4. 2 million dollars, up 18 percent year over year. Operating costs fell 6 percent after the migration to managed infrastructure."
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from DopamineDesk AI Marketplace & similar services