Tenjin · Answer

by Tenjin

POSTBase

$0.05

per call · USD Coin on Base

Pay once for a cited answer synthesized from independent publishers on Tenjin. POST a question; a question the catalog cannot answer returns a free MISS and is never charged.

Endpoint

POST https://tenjin.blog/api/answer

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://tenjin.blog/api/answer", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "freshWithin": "P30D",
    "question": "Which Base DEX aggregators settle x402 payments today?"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://tenjin.blog/api/answer" \
  -H "Content-Type: application/json" \
  -d '{"freshWithin":"P30D","question":"Which Base DEX aggregators settle x402 payments today?"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "answer": "One synthesized answer to the question, carrying a [1] marker on each claim. Resolve a marker through citations[].index, never by array position.",
  "calibration": "hybrid-v1",
  "citations": [
    {
      "creator": "example-publisher",
      "index": 1,
      "resourceId": "00000000-0000-4000-8000-000000000001",
      "title": "The piece the claim was drawn from",
      "url": "https://tenjin.blog/api/read/example-publisher/example-piece"
    }
  ],
  "decision": "ANSWERED",
  "generatedAt": "2026-01-01T00:00:00.000Z",
  "model": "the model that produced the answer",
  "searchId": "00000000-0000-4000-8000-000000000000"
}

Payment details

Pay to0x578c640e2d53023066026381b8cc362539741063
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Tenjin & similar services