> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encrata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Scholar

> Search academic papers by author, topic, or title with citation counts.

## Authentication

Requires an API key in the `Authorization` header.

```bash theme={"dark"}
Authorization: Bearer YOUR_API_KEY
```

## Request

<ParamField body="query" type="string" required>
  The academic search query an author, topic, or paper title.
</ParamField>

## Response

Returns the standard Google lookup shape with the `scholar` array populated.

<ResponseField name="scholar" type="object[]">Papers with `title`, `link`, `publicationInfo`, `snippet`, `year`, and `citedBy`.</ResponseField>

<ResponseExample>
  ```json theme={"dark"}
  {
    "query": "attention is all you need",
    "type": "scholar",
    "credits": 1,
    "scholar": [
      {
        "title": "Attention Is All You Need",
        "link": "https://arxiv.org/abs/1706.03762",
        "publicationInfo": "A Vaswani, N Shazeer, N Parmar - 2017",
        "snippet": "The dominant sequence transduction models...",
        "year": 2017,
        "citedBy": 100000
      }
    ]
  }
  ```
</ResponseExample>

## Credits

1 credit per lookup.
