Minimal shell scripts showing how to call the Elicit API with curl.
- curl
- jq for JSON formatting
- An Elicit API key (account settings)
export ELICIT_API_KEY="your-api-key"Search for academic papers with a research question.
./1_search.shNarrow results by study type, publication year, and journal quartile.
./2_filtered_search.shGenerate an AI-powered research report. Reports take 5-15 minutes — the script polls until completion.
./3_create_report.shThese scripts hardcode their queries for simplicity. To use your own:
curl -s "https://elicit.com/api/v1/search" \
-H "Authorization: Bearer ${ELICIT_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"query": "your research question here",
"maxResults": 5
}' | jq .See the API documentation for all available parameters and filters.