Hi OpenAlex team,
First off, thank you for building such an incredible resource for the research community.
The Issue
I've encountered an issue when using the display_name filter to look up papers by title. Paper titles containing colons, commas, or pipes break the filter syntax since these characters have special meaning in OpenAlex queries:
Example
This query fails with "Invalid query parameter":
OpenAlex interprets "Present challenges, future directions" as a separate filter rather than part of the title.
Our Use Case
We batch-fetch papers by title:
Titles with colons are common in academic papers (e.g., "Method X: A Novel Approach to Y"), so this affects a meaningful portion of our queries.
Current Workaround
I'm sanitizing titles by replacing : , | with spaces before querying. This works for most cases but reduces match accuracy.
Feature Request
Would it be possible to add an escape mechanism for special characters in filter values? Some options:
Any of these would allow exact title matching regardless of punctuation.
Thanks for considering this! Happy to provide more details if helpful.
Best,
Purna