OpenAlex
The OpenAlex collector provides access to a massive, open index of scholarly works, authors, venues, institutions, and concepts.
Capabilities
How Configuration Works
All collectors in Lens adhere to a unified configuration pattern. Instead of hardcoding values, you inject parameters at runtime using the lens.config.yaml file or directly via the ResearchAgent constructor.
Dynamic Configuration
When you initialize a collector, it inspects the configuration object passed to it. This allows for flexible behavior adjustments—such as changing target languages, result limits, or API-specific flags—without modifying the core collector logic. Refer to the central Configuration Reference for the full list of supported parameters available to this collector.
Note: While OpenAlex is a public API, providing an email in your configuration is recommended to enter the "polite pool" for prioritized API access.
Schema Mapping
| Source Field | Lens Field | Type |
|---|---|---|
| display_name | title | string |
| publication_year | year | int |
| cited_by_count | authority_score | int |
API Endpoint
https://api.openalex.org