Tools · search
Academic paper search (OpenAlex, ~250M works)
Find academic papers in any field - title, authors, year, venue, DOI, citation count, open-access link and abstract - from OpenAlex (~250M works incl. arXiv and PubMed; Crossref answers if OpenAlex is down). Filter by year range and open access; sort by relevance, citations or date. Send {} to search the published example query. A search with no result is not charged. Pay-per-call via x402.
$0.009 per call, paid in USDC on Base or Solana with x402 — no account, no API key. POST https://fiatdock.com/v1/papers/search (or GET with the same fields as query parameters) · MCP tool paper_search. An answer the tool cannot produce is refused with 4xx/5xx and is not charged.
Inputs
| Field | Type | Description | Example |
|---|---|---|---|
query | string | What to search for (title and abstract; full text too when sorting by relevance) — an empty body searches the published example | "large language model agents" |
fromYear | integer | Earliest publication year | 2023 |
toYear | integer | Latest publication year | 2026 |
openAccessOnly | boolean | Only papers with a free full-text copy (default false) | false |
sort | one of relevance, cited, recent | Order: relevance (default with a query), cited (most cited first, default without one) or recent | "relevance" |
limit | integer | How many papers, 1-25, default 10 | 10 |
Example
Request body
{"query":"large language model agents","limit":5}
Answer (the published example)
{"query":"large language model agents","filters":{"fromYear":null,"toYear":null,"openAccessOnly":false,"sort":"relevance"},"totalMatched":1158374,"count":1,"papers":[{"title":"A survey on large language model based autonomous agents","authors":["Lei Wang","Chen Ma","Xueyang Feng"],"authorCount":11,"year":2024,"publicationDate":"2024-03-22","venue":"Frontiers of Computer Science","type":"article","doi":"10.1007/s11704-024-40231-1","url":"https://doi.org/10.1007/s11704-024-40231-1","openAccess":true,"openAccessUrl":"https://link.springer.com/article/10.1007/s11704-024-40231-1","citedBy":1688,"abstract":"Autonomous agents have long been a research focus in academic and industry communities…"}],"source":"OpenAlex (api.openalex.org, CC0 metadata)","asOf":"2026-10-05T00:00:00.000Z","note":"Titles, author names and abstracts are the authors' and publishers' text."}
Call it
curl
# 1) ask: an unpaid call answers 402 with the exact price (free)
curl -i -X POST https://fiatdock.com/v1/papers/search -H 'content-type: application/json' -d '{"query":"large language model agents","limit":5}'
# 2) pay: any x402 client signs that 402 and resends — see Node or Python below
Node
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:*", client: new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_PRIVATE_KEY)) }],
});
const r = await pay("https://fiatdock.com/v1/papers/search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query":"large language model agents","limit":5}),
});
console.log(r.status, await r.json());
Python
# pip install "x402[httpx,evm]"
import asyncio, json, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm.exact import register_exact_evm_client
async def main():
client = register_exact_evm_client(x402Client(), Account.from_key(os.environ["AGENT_PRIVATE_KEY"]))
async with x402HttpxClient(client) as http:
r = await http.post("https://fiatdock.com/v1/papers/search", json=json.loads("{\"query\":\"large language model agents\",\"limit\":5}"))
print(r.status_code, r.json())
asyncio.run(main())
MCP (Claude, Cursor, any MCP client)
{"mcpServers":{"fiatdock":{"command":"npx","args":["-y","fiatdock-mcp"],"env":{"AGENT_PRIVATE_KEY":"0x<your agent wallet key>"}}}}
// then call the tool "paper_search" — the package pays each call from that wallet
The wallet needs USDC on Base. Prefer no install? The remote server https://fiatdock.com/mcp answers the 402 as tool output for an agent that signs its own payments.
Related tools
- Wikipedia article summary (21 languages) — $0.0018
Machine-readable: OpenAPI · tools.json · llms.txt · /.well-known/x402