I discovered a bug:
https://archive.softwareheritage.org/api/1/origin/https://pypi.org/project/wrld//intrinsic-metadata (note the double '/') fetches the intrinsic metadata but https://archive.softwareheritage.org/api/1/origin/https://pypi.org/project/wrld/intrinsic-metadata returns NotFoundExc error because the origin URL is "https://pypi.org/project/wrld/" (note the / at the end).
I see that there are similar bugs reported (example: T1852)
I hope these errors are taken care of under T1805