Minimal scripts showing how to call the Elicit API from Python.
- Python 3.7+
requestslibrary- An Elicit API key (account settings)
pip install requests
export ELICIT_API_KEY="your-api-key"Search for academic papers with a research question.
python 1_search.pyNarrow results by study type, publication year, and journal quartile.
python 2_filtered_search.pyGenerate an AI-powered research report. Reports take 5-15 minutes — the script polls until completion.
python 3_create_report.pySearch ClinicalTrials.gov with filters for phase, recruitment status, and posted results.
python 4_search_trials.pyScreen papers against your criteria and extract data into columns, with exports for each stage.
python 5_systematic_review.pyList your reports and systematic reviews, newest first.
python 6_list_sessions.py- These examples use the
requestslibrary for readability. For a zero-dependency alternative, see the CLI tool, which uses onlyurllibfrom the standard library. - Error handling is intentionally minimal to keep the examples readable.
See the API documentation for all available parameters and filters.