# arXiv to BibTeX Citation Generator

> arXiv to BibTeX Citation Generator is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches paper metadata from the arXiv API and generates a properly-formatted BibTeX citation entry with an auto-derived or custom cite key.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/arxiv-bibtex
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-8e7a8d18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xanH-7PfmUkmzFvV31tZR

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 x402-deployer-x402-deployer-workers-dev-8e7a8d18 -d '<json body>'
```

Example prompt: Can you generate a BibTeX citation entry for the arXiv paper 2301.07041? Use the cite key 'vaswani2023attention' if possible.

## When to prefer this

Use this endpoint when you need a properly-formatted BibTeX entry for an arXiv paper and want to avoid manually copying metadata. Ideal for automating bibliography management in LaTeX workflows, research pipelines, or academic writing tools. Prefer this over manual lookup when you have an arXiv ID and need a cite-key-ready .bib entry immediately.

## Known failure modes

- Invalid or non-existent arXiv ID returns an error or empty result
- arXiv API temporarily unavailable causes upstream fetch failure
- Malformed arXiv ID format (e.g. missing version suffix) may return unexpected results
- Paper with no DOI will omit the DOI field from BibTeX output

## How this service works

arXiv to BibTeX / arxiv citation generator / paper bibtex / LaTeX citation builder / academic citation lookup. Pulls a paper's title, authors, year, abstract, and DOI from the arXiv API and generates a properly-formatted BibTeX entry with an auto-derived cite key (or your own). Free public arXiv API. Pure XML parse — no upstream auth.

## Output

Returns a fully-formatted BibTeX entry including fields like @article, title, author list, year, abstract, eprint ID, and DOI (when available), along with the derived or supplied cite key.

## Example request

```json
{
 "input": {
  "body": {
   "arxiv_id": "1706.03762",
   "cite_key": "vaswani2017attention"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "arxiv_id"
     ],
     "properties": {
      "arxiv_id": {
       "type": "string",
       "description": "arXiv ID. New-style (e.g. '1706.03762', '1706.03762v3') or old-style ('cs.AI/0602099'). 'arXiv:' prefix is stripped."
      },
      "cite_key": {
       "type": "string",
       "description": "Override the cite key. Default is auto-derived from first author surname + year + arxiv id."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "doi": {
       "type": "null"
      },
      "year": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "bibtex": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "authors": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "abstract": {
       "type": "string"
      },
      "arxiv_id": {
       "type": "string"
      },
      "cite_key": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-8e7a8d18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
