Search Papers
Search papers using PostgreSQL full-text search on cached papers.
Returns papers from cache that match the query. Uses PostgreSQL ts_rank for relevance scoring.
Example: GET /papers/search?query=face+detection&limit=20
Returns: { "query": "face detection", "count": 20, "papers": [ { "id": "2301.12345", "title": "...", "authors": ["..."], "summary": "...", "published_date": "2023-01-25T00:00:00", "categories": ["cs.CV", "cs.AI"], "url": "https://arxiv.org/abs/2301.12345", "similarity_score": 0.85, "has_repos": true, "repo_count": 3, "has_official_repo": true }, ... ], "source": "cache" }
Request
- Base URL: https://api.codeofpaper.com (the document declares no server; this is the origin it was published from)
- URL: https://api.codeofpaper.com/papers/search
- Auth: HTTP bearer
Query parameters
Search query (keywords or phrase). Use quotes for exact phrases: "face recognition"
Maximum number of results
Offset for pagination
Sort order: relevant, recent, has_code, trending
Restrict to a single publication year (inclusive).
Only papers published on/after this date (YYYY-MM-DD).
Only papers published on/before this date (YYYY-MM-DD).
Restrict to a conference. Accepts a series (e.g. 'neurips'), a specific conference id (e.g. 'neurips2024'), or a substring of the conference name. Case-insensitive.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.