Public API
JSON over HTTPS at https://api.codeofpaper.com. No key and no login; requests are rate-limited per client IP (60 a minute, 120 for paper details), and a 429 means wait and retry. The full reference is the interactive docs (OpenAPI spec).
Papers
GET /papers/search?query=diffusion&limit=20Keyword search; sort_by = relevant | recent | has_code | trendingGET /papers/{arxiv_id}Title, abstract, authors, categoriesGET /papers/{arxiv_id}/reposLinked GitHub repositories with scores and tiersGET /papers/{arxiv_id}/similarSimilar papersGET /trending/?sort=hot&limit=20Trending papers with code; sort = hot | new | fresh | discussedGET /feeds/new-code?days=14Papers whose code was just found; optional category
Categories
GET /categories/All 71 categories grouped by area, with paper countsGET /categories/{category_id}One category: description, counts, recent code dropsGET /categories/{category_id}/papers?limit=20Its papers; filters year, has_code, official_only, conference_idGET /categories/area/{area_id}/papersThe papers of a whole area
Trend collections
GET /collections/The collections: slug, title, description, paper_countGET /collections/{slug}/papers?limit=20Papers of one collection, newest first; sort_by = recent | trending; filters year, has_code
Conferences
GET /conferencesAll conferences with statsGET /conferences/{conference_id}One conference: stats and track breakdownGET /papers/conference/{conference_id}Its papers; filters track, category_id
Example
curl -s "https://api.codeofpaper.com/collections/world-models/papers?limit=5&has_code=true"