BibTeX RIS Citation Converter API
Free tier included · EducationBibTeX/RIS Citation Converter is a stateless micro-API that converts academic citations between BibTeX, RIS and JSON, formats them in seven standard styles (APA, MLA, Chicago, IEEE, Vancouver, Nature, ACM), and processes batches of up to 100 items in a single call. It handles multi-entry input, nested and quoted BibTeX values, @string macros, month macros, RIS multi-value tags and continuation lines — all parsed by pybtex and verified against BibTeX's own example databases.
This API covers conversion, formatting and batch processing. It is completely offline: no external registries are queried, no databases are used, and no request logs are stored. That makes it privacy-friendly for reference-manager workflows and fast — parsing and formatting are pure CPU work over short strings, and a 100-item batch completes in milliseconds. Responses are compact JSON, so CPU and bandwidth stay low even under load.
Honest limits: input text is capped at 5 MB per request, and the JSON-to-BibTeX / JSON-to-RIS endpoints accept at most 5000 entries per call. The batch/convert endpoint supports up to 100 items per request. The citation/format endpoint is a GET with query parameters, so very long titles or author lists may hit URL length limits — prefer the POST conversion endpoints for large records. This API does not resolve DOIs, fetch metadata from Crossref, or guarantee citation accuracy beyond correct formatting of the fields you provide.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | API metadata: name, version, and paths to the interactive docs and health endpoint. |
GET | /health | Liveness probe; returns status "ok" while the process is up. |
POST | /bibtex-to-json | Convert one or more BibTeX @entry blocks into structured JSON. Body: {"bibtex": "<source text>"}. Handles @string macros, month macros, nested braces and quoted values. |
POST | /json-to-bibtex | Render structured citation entries as BibTeX source text. Body: {"entries": [{"key": "...", "type": "...", ...}]}. Up to 5000 entries per call. |
POST | /ris-to-json | Convert RIS source text into structured JSON entries. Body: {"ris": "<source text>"}. Each record must start with a TY - line. |
POST | /json-to-ris | Render structured citation entries as RIS source text. Body: {"entries": [{"key": "...", "type": "...", ...}]}. Up to 5000 entries per call. |
GET | /citation/format | Format citation fields into one of seven academic styles. All parameters are optional query strings; style defaults to apa. |
POST | /batch/convert | Convert a list of citation texts or raw records in a single batch call. Supports high-throughput processing up to 100 items. |
Quick start
curl -X POST "https://bibtex.p.rapidapi.com/bibtex-to-json" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: bibtex.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"bibtex":"@article{smith2020,\n author = {John Smith},\n title = {A Study of Widgets},\n year = {2020},\n journal = {Journal of Tests}\n}"}'
FAQ
Does the API resolve DOIs or fetch metadata from Crossref?
No. It only converts and formats the citation fields you provide. It does not query any external registry.
What is the maximum input size per request?
Text-based inputs (BibTeX, RIS) are capped at 5 MB. The JSON-to-BibTeX and JSON-to-RIS endpoints accept up to 5000 entries per call.
How many items can I process in one batch call?
Up to 100 items per `POST /batch/convert` request.
Is the citation/format endpoint suitable for long titles?
It is a GET endpoint, so very long titles or author lists may hit URL length limits. For large records, prefer the POST conversion endpoints.
Try BibTeX RIS Citation Converter free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI