REST API Reference
Academic References provides a comprehensive REST API for programmatic access to references, citations, collections, and more.
Base URL
All endpoints are prefixed with:
/wp-json/abt/v1/
Authentication
WordPress supports cookie auth (logged-in users) and Application Passwords (Basic Auth).
References
GET /references - List references
GET /references/{id} - Get single reference
POST /references - Create reference
PUT /references/{id} - Update reference
DELETE /references/{id} - Delete reference
Auto-Cite
POST /autocite
Supported identifiers: doi, pmid, isbn, arxiv, url
Citations & Bibliography
POST /citations/render - Render inline citation
POST /bibliography/render - Render bibliography
Collections
GET /collections - List collections
GET /collections/{id} - Get collection
POST /collections - Create collection
PUT /collections/{id} - Update collection
DELETE /collections/{id} - Delete collection
GET /collections/{id}/references - List collection references
Styles
GET /styles - List available citation styles
GET /styles/{id} - Get style details
GET /styles/current - Get site default style
Import/Export
POST /import - Import references (BibTeX, RIS, CSL-JSON)
GET /export - Export references
User Data
GET/PUT /user/reading-status - Manage reading status
GET/POST/DELETE /user/favorites - Manage favorites
GET/PUT /user/notes/{id} - Manage notes
Rate Limiting
60 requests/minute, 1000 requests/hour. Check X-RateLimit headers.
Next Steps
- REST API Advanced – Analytics, Revisions, Webhooks
- Hooks & Filters – PHP customization
- Template Overrides – Customize output
