Single-year biomedical publication count from PubMed, paid per query via USDC on Base.
What it does
The /api/v1/snapshot endpoint on pubmed.sekgen.xyz returns a single-year publication count for any PubMed search query. It is the lowest-cost endpoint ($0.01 USDC per call) in a broader suite of biomedical research trend analytics built on top of 36M+ PubMed articles. Payment is handled via the x402 protocol using USDC on Base L2 — no API keys or subscriptions required. The endpoint accepts a search query and an optional year parameter (defaults to the current year) and returns the matching publication count, total PubMed publications for that year, and the proportion.
The snapshot endpoint is part of a larger API surface that includes year-by-year trend analysis, multi-term comparison, emerging topic detection, weekly hottest topics, key paper scoring, author profiles (via OpenAlex), and more. All endpoints return structured JSON designed for LLM consumption and data pipelines. The service also supports MPP (USDC on Tempo) as an alternative payment rail.
This endpoint is ideal for quick bibliometric lookups — checking how many papers were published on a topic in a given year, feeding counts into automated research monitoring pipelines, or providing a low-cost data point for grant writing assistants and science due diligence workflows.
Capabilities
Use cases
- —Quick bibliometric lookup: how many papers on a topic in a given year
- —Feeding publication counts into automated research monitoring pipelines
- —Science due diligence: checking publication volume for a biotech's therapeutic area
- —Grant writing: quantifying research activity in a Significance section
- —Agent-driven data collection for biomedical trend dashboards
Fit
Best for
- —AI agents needing a quick, low-cost PubMed publication count
- —Automated research surveillance pipelines
- —Biotech analysts doing scientific due diligence
- —Grant writers quantifying research landscape activity
Not for
- —Retrieving full-text articles or abstracts (returns counts only)
- —Complex multi-year trend analysis (use /trends or /compare instead)
- —Free/unpaid access — every call costs $0.01 USDC
Quick start
# Using an x402-compatible client (e.g. Coinbase awal)
awal x402 pay 'https://pubmed.sekgen.xyz/api/v1/snapshot?query=mRNA+vaccine&year=2025'Example
Response
{
"year": 2025,
"count": 4521,
"query": "mRNA vaccine",
"proportion": 0.002403,
"total_pubmed": 1880997
}Endpoint
Quality
The endpoint is live (402 challenge captured), documentation is thorough with parameter tables and example responses, pricing is clear ($0.01 USDC), and the response schema is well-documented. No formal OpenAPI spec was found, but the docs page provides equivalent detail. Minor deductions for lack of machine-readable schema and no dedicated pricing page.
Warnings
- —No OpenAPI/JSON schema file found — documentation is HTML-based only
- —The /api and /pricing paths return 404; docs are at /docs
Citations
- —Snapshot endpoint costs $0.01 USDC per queryhttps://pubmed.sekgen.xyz/docs
- —Endpoint accepts query (required) and year (optional, defaults to current year) parametershttps://pubmed.sekgen.xyz/docs
- —Response includes query, year, count, total_pubmed, and proportion fieldshttps://pubmed.sekgen.xyz/docs
- —Payment via x402 protocol using USDC on Base L2https://pubmed.sekgen.xyz
- —Data sourced from 36M+ PubMed articles via NCBI PubMedhttps://pubmed.sekgen.xyz
- —Also supports MPP protocol (USDC on Tempo) as alternative payment railhttps://pubmed.sekgen.xyz
- —402 challenge returned with detail: Single-year biomedical publication count from PubMedhttps://pubmed.sekgen.xyz/api/v1/snapshot