Skip to content

Latest commit

 

History

History
142 lines (111 loc) · 10 KB

api-inventory.md

File metadata and controls

142 lines (111 loc) · 10 KB

API Inventory

Last verified: July 2, 2026

This is a confirmed inventory of alphaXiv endpoints observed from live traffic and direct probing. It is not an official contract, and alphaXiv does not appear to publish public API docs or an OpenAPI schema.

Docs Discovery

These common documentation paths were probed on https://api.alphaxiv.org and returned 404:

  • /openapi.json
  • /swagger
  • /swagger.json
  • /api-json
  • /docs
  • /redoc
  • /v3/api-docs
  • /swagger-ui
  • /reference

https://api.alphaxiv.org itself returns HTML, not an API index.

Base Hosts

  • https://api.alphaxiv.org: primary JSON and SSE API
  • https://pdfs.assets.alphaxiv.org: PDF asset URLs used by the current paper UI
  • https://paper-podcasts.alphaxiv.org: podcast audio and transcript assets
  • https://www.alphaxiv.org: web app and browser-login origin. Current web auth uses Better Auth session cookies, which the CLI can save from the persistent Playwright profile.

Authenticated api.alphaxiv.org requests can use either API-key bearer auth or the browser-backed alphaXiv session cookie saved by alphaxiv auth login-web.

Confirmed Endpoints

Used by alphaxiv-py refers to the current implementation in this repository.

Search and Discovery

Method Path Access Description Used by alphaxiv-py
GET /search/v2/paper/fast?q=...&includePrivate=false public Fast paper search used by homepage search. yes
GET /v1/search/closest-topic?input=... public Topic suggestion endpoint used by homepage search. yes
GET /organizations/v2/search?q=... public Organization search for labs, universities, and companies. yes
GET /organizations/v2/top public Top organizations list used by homepage filtering UI. yes
GET /papers/v3/feed?... public Homepage feed cards with sort and filter parameters. yes
GET /v1/search/paper?q=... public Rich paper search payload with summaries, metrics, organizations, author info, canonical ids, topics, and repository metadata. yes

Events

Method Path Access Description Used by alphaxiv-py
GET /events/v1 public Public alphaXiv events list with title, speaker, organization, link, date, and optional recording. yes

Papers

Method Path Access Description Used by alphaxiv-py
GET /papers/v3/legacy/{canonical_or_versioned_id} public Main paper metadata payload for canonical or versioned arXiv IDs. yes
GET /papers/v3/legacy/{bare_id} public Direct legacy lookup by bare arXiv ID. yes
GET /papers/v3/legacy/{paperGroupId}/comments public Public paper comments thread. yes
GET /papers/v3/{identifier} public Direct paper-version payload for public arXiv IDs and paper-version UUIDs; used as the fallback route for alphaXiv direct identifiers. yes
GET /papers/v3/{identifier}/preview public Compact public paper preview metadata. yes
GET /papers/v3/{paperGroupId}/figures public Figure asset paths for a paper group. yes
POST /papers/v2/{paperVersionId}/comment auth write Creates a top-level paper comment or a reply when parentCommentId is set. Current web payload includes nullable annotation fields such as anchorPosition, focusPosition, highlightRects, selectedText, and highlightColor. yes
POST /v2/papers/{arxivId}/versions/{n}/request-ai?preferredLanguage=... auth write Requests generation of the AI overview/blog for the specified arXiv version. yes
GET /papers/v3/{paperVersionId}/full-text public Page-level extracted paper text. yes
GET /papers/v3/{paperVersionId}/overview/{lang} public AI overview or blog payload for a paper version. yes
GET /papers/v3/{paperVersionId}/overview/status public Overview generation and translation status. yes
GET /papers/v3/{paperVersionId}/ai-detection public AI-detection sidecar for a paper version; returns 404 when no detection data exists. yes
GET /papers/v3/{paperVersionId}/model-links public Model-link sidecar for model-name matches in a paper version; returns 404 when no sidecar exists. yes
GET /papers/v3/x-mentions-db/{paperGroupId} public Social mentions and related resource metadata. yes
POST /papers/v3/{paperGroupId}/view public write Records a paper view. yes
GET /papers/v3/{paperId}/similar-papers public Similar-papers list shown in the paper UI. yes

Assistant

Method Path Access Description Used by alphaxiv-py
GET /assistant/v2?variant=homepage auth Lists homepage assistant sessions. yes
GET /assistant/v2?variant=paper&paperVersion={paperVersionId} auth Lists paper-scoped assistant sessions. yes
GET /assistant/v2/{sessionId}/messages auth Returns structured assistant message history. yes
POST /assistant/v2/chat auth Starts or continues an assistant chat and returns SSE output. yes
GET /assistant/v2/url-metadata?url=... auth Fetches link metadata used in assistant or comment rendering. yes

User and Preferences

Method Path Access Description Used by alphaxiv-py
GET /users/v3 auth Current user profile and preferences. yes
PATCH /users/v3/preferences auth write Updates user preferences such as preferred assistant model. yes
GET /folders/v3 auth Returns user folders or bookmark containers. yes
POST /folders/v3/{folderId}/add-papers auth write Adds one or more paper group ids to a folder. yes
POST /folders/v3/{folderId}/remove-papers auth write Removes one or more paper group ids from a folder. yes

Voting and Social Actions

Method Path Access Description Used by alphaxiv-py
POST `/papers/v3/{paperGroupId}/like?liked={true false}` auth write Sets the authenticated paper like state. SDK toggle support reads /users/v3 votedPaperGroups first, then sends the inverted state.
POST /comments/v2/{commentId}/upvote auth write Toggles a comment upvote. yes
DELETE /comments/v2/{commentId} auth write Deletes a comment by id. yes

Related Non-API Asset Endpoints

These are not under api.alphaxiv.org, but they are part of the product surface and are useful for clients.

Method URL Pattern Description Used by alphaxiv-py
GET https://pdfs.assets.alphaxiv.org/{canonical_id}.pdf PDF download URL used by the current paper UI. yes
GET https://paper-podcasts.alphaxiv.org/{paperGroupId}/podcast.mp3 Podcast audio for a paper. yes
GET https://paper-podcasts.alphaxiv.org/{paperGroupId}/transcript.json Podcast transcript JSON. yes

Routes Currently Used By This Repository

These are the endpoint groups currently wired into the SDK and CLI:

  • Search: /search/v2/paper/fast, /v1/search/paper, /v1/search/closest-topic, /organizations/v2/search
  • Feed support: /organizations/v2/top, /papers/v3/feed
  • Events: /events/v1
  • Papers: /papers/v3/legacy/{id}, /papers/v3/{identifier}, /papers/v3/{identifier}/preview, /papers/v3/{paperGroupId}/figures, /papers/v3/legacy/{paperGroupId}/comments, /papers/v2/{paperVersionId}/comment, /papers/v3/{paperVersionId}/full-text, /papers/v3/{paperVersionId}/overview/{lang}, /papers/v3/{paperVersionId}/overview/status, /papers/v3/{paperVersionId}/ai-detection, /papers/v3/{paperVersionId}/model-links, /papers/v3/x-mentions-db/{paperGroupId}, /papers/v3/{paperGroupId}/view, /papers/v3/{paperId}/similar-papers, /papers/v3/{paperGroupId}/like?liked={true|false}
  • Assistant: /assistant/v2?variant=homepage, /assistant/v2?variant=paper&paperVersion=..., /assistant/v2/{sessionId}/messages, /assistant/v2/chat, /assistant/v2/url-metadata
  • Auth and preferences: /users/v3, /users/v3/preferences, /folders/v3, /folders/v3/{folderId}/add-papers, /folders/v3/{folderId}/remove-papers, /comments/v2/{commentId}/upvote, /comments/v2/{commentId}
  • Related hosts: pdfs.assets.alphaxiv.org PDF URLs and paper-podcasts.alphaxiv.org transcript or podcast assets

Notes

  • The homepage feed is available through /papers/v3/feed, while /organizations/v2/top supplies filter UI defaults such as top organizations.
  • PATCH /users/v3/preferences appears broader than model selection alone; the web UI uses it for other assistant-pane preferences too.
  • /papers/v3/{paperId}/similar-papers returns noisy variants for some papers, including malformed or duplicate IDs. Any client support should canonicalize those results before surfacing them.
  • /papers/v3/{identifier} is not wired into this repository yet. PET-13 accepts it as the direct paper fallback route for alphaXiv direct identifiers after live probes returned public paper-version payloads for arXiv ID and paper-version UUID inputs.
  • /papers/v3/{identifier}/preview returns compact paper metadata with group, version, canonical ID, authors, topics, metrics, and optional GitHub fields.
  • /papers/v3/{paperGroupId}/figures returns {"figures": [...]} and may return an empty list for papers without extracted figures.
  • /papers/v3/{paperVersionId}/ai-detection and /papers/v3/{paperVersionId}/model-links require alphaXiv UUIDv7 paper-version IDs directly; SDK and CLI support should resolve arXiv IDs before calling these sidecar routes.
  • POST /papers/v2/{paperVersionId}/comment supports both top-level comments and replies. The SDK/CLI expose only text fields, but still send the nullable annotation fields required by the current web schema.
  • Multiple plausible comment edit routes were probed live and returned 404; comment editing is not currently confirmed.
  • This inventory is based on live observation, not on official vendor documentation.