Skip to main content
Semantic search across paper knowledge cards. Vectors are built from title + abstract + summary + tags. Returns card-level metadata (not full text) so you can decide which papers to read in full.
  • Cost: 1 credit per call
  • Query limit: 2,000 characters max

Endpoint

POST https://api.llmquantdata.com/api/paper/search

Authentication

Include a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request Body

query
string
required
Search query string (e.g. momentum crash, factor zoo, deep learning alpha). Max 2,000 characters.
topK
number
default:5
Maximum number of results to return. Default 5, max 10.

Response

The response follows the standard {data, meta} envelope.
data
array
Array of paper_search_result objects ranked by relevance.
meta
object

Code Examples

import requests

url = "https://api.llmquantdata.com/api/paper/search"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
}

response = requests.post(url, headers=headers, json={
    "query": "momentum crash",
    "topK": 5,
})

result = response.json()
for paper in result["data"]:
    print(paper["title"])
    print(f"  Authors: {', '.join(paper['authors'])}")
    print(f"  Sections: {paper['section_count']}, Chars: {paper['full_text_char_count']}")
    print(f"  Tags: {paper['tags']}")
    print()

print(f"Credits remaining: {result['meta']['remainingCredits']}")

Paper Read

Read specific sections (or the full text) of a paper by its paper_card_id. Use this after search to retrieve the actual content.
  • Cost: Free (0 credits)

Endpoint

POST https://api.llmquantdata.com/api/paper/read

Authentication

Include a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request Body

paperCardId
string
required
The paper_card_id from a Paper Search result.
sections
array[string]
List of section_key values to read. Omit or pass ["all"] to read the full paper.

Response

data
object
meta
object

Code Examples

import requests

url = "https://api.llmquantdata.com/api/paper/read"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
}

# Read only the introduction and methodology sections
response = requests.post(url, headers=headers, json={
    "paperCardId": "card_abc123",
    "sections": ["introduction", "methodology"],
})

result = response.json()
for section in result["data"]["sections"]:
    print(f"## {section['title']} ({section['char_count']} chars)")
    print(section["content"])
    print()