Fixes api search link
Fixes iteration over json