# Google Scholar Cite Formats

Returns the citation styles of one Google Scholar result (MLA, APA, Chicago, Harvard, Vancouver in the order Scholar lists them) plus the BibTeX, EndNote, RefMan and RefWorks export links. Export links are returned as-is and are short-lived, so fetch them again when they expire.

- **Documentation:** [https://scrappa.co/docs/google-scholar-api/google_scholar_cite](https://scrappa.co/docs/google-scholar-api/google_scholar_cite)
- **API group:** Google Scholar API
- **Endpoint:** `GET https://scrappa.co/api/google/scholar/cite`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | Bare Google Scholar result ID, e.g. the FDc6HiktlqEJ in /scholar?q=info:FDc6HiktlqEJ:scholar.google.com/. |
| `hl` | string | No | Two-letter interface language, optionally with a region. Defaults to en. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/google/scholar/cite?q=FDc6HiktlqEJ&hl=en"
```

## Example response

```json
{
    "success": true,
    "data": {
        "search_parameters": {
            "engine": "google_scholar_cite",
            "result_id": "FDc6HiktlqEJ",
            "hl": "en"
        },
        "citations": [
            {
                "style": "MLA",
                "citation": "Schwertmann, U. T. R. M., and Reginald M. Taylor. \"Iron oxides.\" Minerals in soil environments 1 (1989): 379-438."
            },
            {
                "style": "APA",
                "citation": "Schwertmann, U. T. R. M., & Taylor, R. M. (1989). Iron oxides. Minerals in soil environments, 1, 379-438."
            }
        ],
        "links": [
            {
                "name": "BibTeX",
                "link": "https://scholar.googleusercontent.com/scholar.bib?q=info:FDc6HiktlqEJ:scholar.google.com/&output=citation&ct=citation&cd=-1&hl=en"
            },
            {
                "name": "EndNote",
                "link": "https://scholar.googleusercontent.com/scholar.enw?q=info:FDc6HiktlqEJ:scholar.google.com/&output=citation&ct=citation&cd=-1&hl=en"
            },
            {
                "name": "RefMan",
                "link": "https://scholar.googleusercontent.com/scholar.ris?q=info:FDc6HiktlqEJ:scholar.google.com/&output=citation&ct=citation&cd=-1&hl=en"
            },
            {
                "name": "RefWorks",
                "link": "https://scholar.googleusercontent.com/scholar.rfw?q=info:FDc6HiktlqEJ:scholar.google.com/&output=citation&ct=citation&cd=-1&hl=en"
            }
        ]
    },
    "meta": {
        "duration_ms": 664
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | One or more cite parameters are invalid. This response is not billable. |
| 422 | Cite Not Found | Google Scholar does not know this result ID. This response is not billable. |
| 503 | Unexpected Source Response | Scholar markup could not be normalized safely. This response is not billable. |
| 503 | Scholar Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
