---
title: "Retrieve a styled citation"
method: GET
path: "/preprints/{preprint_id}/citation/{style_id}/"
tags: ["Preprints"]
---

# Retrieve a styled citation

`GET /preprints/{preprint_id}/citation/{style_id}/`

## Request

- Base URL: `https://api.test.osf.io/v2`
- URL: `https://api.test.osf.io/v2/preprints/{preprint_id}/citation/{style_id}/`
- Auth: none declared

The citation for a preprint in a specific style.
#### Returns
Returns a JSON object with a `data` key that contains the representation of the preprint citation, in the requested style.

## Path parameters

- `style_id` string, required
- `preprint_id` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/osf/apis/osf-apiv2-documentation.md) - [All operations](https://skmtc.dev/osf/apis/osf-apiv2-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/osf/apis/osf-apiv2-documentation/revisions/3c5164c707eb?raw)
