77trust / 100

Citation

by factstamp.agentrails.workers.dev in News & content

x402 APIPassing, checked 1 h ago

Check a citation before repeating it. Give a DOI, an arXiv ID or a paper title; the answer says whether the work exists, what it is (title, authors, year, container) and whether it has been retracted. A title that is absent from both Crossref and arXiv returns not_found, and a near title match is never reported as verified. Cited to the source record with its retrieval time. Verdicts: verified, ambiguous, retracted, not_found, unknown.

POST https://factstamp.agentrails.workers.dev/citation

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
320 ms typical, 516 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://factstamp.agentrails.workers.dev/citation" \
  -H "content-type: application/json" \
  -d '{"query":"10.1038/nature12373"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactstamp.agentrails.workers.dev%2Fcitation
const res = await pay("https://factstamp.agentrails.workers.dev/citation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query":"10.1038/nature12373"}),
});
console.log(await res.json());

Example input

{
  "query": "10.1038/nature12373"
}

Example output

{
  "kind": "doi",
  "query": "10.1038/nature12373",
  "record": {
    "authors": [
      "G. Kucsko",
      "P. C. Maurer",
      "N. Y. Yao"
    ],
    "container": "Nature",
    "doi": "10.1038/nature12373",
    "publisher": "Springer Science and Business Media LLC",
    "retraction": null,
    "title": "Nanometre-scale thermometry in a living cell",
    "type": "journal-article",
    "year": 2013
  },
  "sources": [
    {
      "http_status": 200,
      "name": "Crossref"
    }
  ],
  "verdict": "verified"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402128 ms$0.02
4 h agoPassed402250 ms$0.02
8 h agoPassed402320 ms$0.02
12 h agoPassed402405 ms$0.02
15 h agoPassed402376 ms$0.02
19 h agoPassed402516 ms$0.02
22 h agoPassed402318 ms$0.02
26 h agoPassed402128 ms$0.02
30 h agoPassed402259 ms$0.02
33 h agoPassed402435 ms$0.02
39 h agoPassed402615 ms$0.02