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 | trending
  • GET /papers/{arxiv_id}Title, abstract, authors, categories
  • GET /papers/{arxiv_id}/reposLinked GitHub repositories with scores and tiers
  • GET /papers/{arxiv_id}/similarSimilar papers
  • GET /trending/?sort=hot&limit=20Trending papers with code; sort = hot | new | fresh | discussed
  • GET /feeds/new-code?days=14Papers whose code was just found; optional category

Categories

  • GET /categories/All 71 categories grouped by area, with paper counts
  • GET /categories/{category_id}One category: description, counts, recent code drops
  • GET /categories/{category_id}/papers?limit=20Its papers; filters year, has_code, official_only, conference_id
  • GET /categories/area/{area_id}/papersThe papers of a whole area

Trend collections

  • GET /collections/The collections: slug, title, description, paper_count
  • GET /collections/{slug}/papers?limit=20Papers of one collection, newest first; sort_by = recent | trending; filters year, has_code

Conferences

  • GET /conferencesAll conferences with stats
  • GET /conferences/{conference_id}One conference: stats and track breakdown
  • GET /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"