80trust / 100

Scholar Paper

by scholar-paper in News & content

x402 APIPassing, checked 2 h ago

Resolve one research paper and fuse its metadata across OpenAlex, Crossref, Unpaywall and Semantic Scholar into a single cited JSON. Give a doi, arxiv, pmid, pmcid, openalex_id or title and get canonical metadata, authors with ORCID and affiliations, venue, citation counts, an open-access PDF link and a full id crosswalk.

GET https://api.agentstools.dev/scholar/paper

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/scholar/paper?doi=10.1038%2Fnature14539"
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%2Fapi.agentstools.dev%2Fscholar%2Fpaper
const res = await pay("https://api.agentstools.dev/scholar/paper?doi=10.1038%2Fnature14539");
console.log(await res.json());

Example input

{
  "doi": "10.1038/nature14539"
}

Example output

{
  "attribution": [
    "OpenAlex (openalex.org), CC0"
  ],
  "authors": [
    {
      "affiliations": [],
      "name": "Yann LeCun",
      "orcid": "0000-0002-1825-0097"
    }
  ],
  "counts": {
    "cited_by": {
      "crossref": 58000,
      "openalex": 60000
    },
    "influential_citations": 4200
  },
  "found": true,
  "ids": {
    "doi": "10.1038/nature14539",
    "openalex": "W2743563197",
    "pmid": "26017442"
  },
  "open_access": {
    "is_oa": true,
    "license": "cc-by",
    "pdf_url": "https://example.org/paper.pdf",
    "version": "publishedVersion"
  },
  "provenance": {
    "id.doi": "openalex",
    "open_access": "unpaywall",
    "title": "openalex"
  },
  "query": {
    "type": "doi",
    "value": "10.1038/nature14539"
  },
  "sources": {
    "partial": false,
    "used": [
      "openalex",
      "crossref",
      "unpaywall"
    ]
  },
  "title": "Deep learning",
  "type": "article",
  "venue": {
    "issn": "0028-0836",
    "name": "Nature"
  },
  "year": 2015
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40291 ms$0.02
6 h agoPassed40232 ms$0.02
9 h agoPassed40272 ms$0.02
13 h agoPassed40225 ms$0.02
17 h agoPassed40273 ms$0.02
20 h agoPassed40285 ms$0.02
25 h agoPassed40221 ms$0.02