# x402serps Scholar Search API

> x402serps Scholar Search API is a paid API for AI agents from x402serps.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-16).

Search Google Scholar for academic papers and research results, returning citations, PDFs, and publication metadata, paid per query in USDC via x402.

## Facts

- Endpoint: POST https://x402serps.com/api/v1/scholar?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402serps-scholar-search-api-5643e187
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QUVxqre_abT0FkXS8_gf6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402serps-scholar-search-api-5643e187 -d '<json body>'
```

Example prompt: Search Google Scholar for 'transformer attention mechanisms in NLP', get me the top 10 results from the US, including citation counts and any PDF links available.

## When to prefer this

Choose this endpoint when you need structured academic paper metadata — including citation counts, PDF links, and publication info — directly from Google Scholar without managing API keys or subscriptions. It is preferable over general web search endpoints when the user specifically needs peer-reviewed or scholarly sources. It is better than manual Scholar scraping because it handles payment atomically per query via x402 on Base, requiring no account setup.

## Known failure modes

- Empty results array if the query matches no Scholar results
- Missing pdfUrl field if no PDF is publicly available for a paper
- Rate limiting or payment failure if USDC balance is insufficient for the x402 micropayment
- Invalid country code in gl parameter may return unexpected regional results
- num values outside 1-20 range may be clamped or cause an error

## How this service works

x402serps: Scholar results (title, url, snippet, publication, year, citations, pdf) for one query, up to 20

## Output

Returns a JSON object with the original query string, the name of the underlying provider, and an array of up to 20 academic result objects. Each result includes: position (rank), title, URL, PDF URL (if available), snippet/abstract excerpt, year of publication, citation count, and publication info (journal, authors, etc.).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "description": "Query (alias: query)"
  },
  "gl": {
   "type": "string",
   "description": "Country code, e.g. us, gb"
  },
  "num": {
   "type": "number",
   "description": "Results 1-20, default 10"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "retrieval augmented generation",
  "results": [
   {
    "url": "https://arxiv.org/abs/2005.11401",
    "year": 2020,
    "title": "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks",
    "citedBy": 5000,
    "snippet": "...",
    "position": 1,
    "publicationInfo": "P Lewis et al."
   }
  ],
  "provider": "primary"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402serps-scholar-search-api-5643e187/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402serps.com](https://www.zero.xyz/host/x402serps.com/llms.txt)
