# Image search tool

**URL:** <https://community.thunkable.com/t/image-search-tool/3298439>\
**Category:** Questions about Thunkable X\
**Created:** [October 24, 2024, 8:26pm UTC](https://community.thunkable.com/t/image-search-tool/3298439 "2024-10-24T20:26:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjasmin](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tjasmin](https://community.thunkable.com/u/tjasmin)\
**Post date:** [October 24, 2024, 8:26pm UTC](https://community.thunkable.com/t/image-search-tool/3298439/1 "2024-10-24T20:26:02Z")

</div>

Hi! I am building a student project that demonstrates visual search. I build simple function with two options to trigger the search (select image from gallery or take a picture) and matching search results are then showcased as a grid view.

I found a Google Lens API from rapidapi that I tried to implement as the image search feature. ([Real-Time Lens Data](https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-lens-data))

However after many tries I still can’t manage to get the workflow to work. Any ideas, insights or help how to get this work or would you build it some otherwise?

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [October 25, 2024, 2:12pm UTC](https://community.thunkable.com/t/image-search-tool/3298439/2 "2024-10-25T14:12:30Z")

</div>

Hi tjasmin, welcome to Thunkable! 🎉

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!

It will be virtually impossible to help without seeing the blocks or project itself. Could you either screenshot the problematic blocks or share the URL of the project? Where is the issue you are having: with the API call itself?

![](https://downloads.intercomcdn.com/i/o/759644115/d4a89684a0bda74ab75c59e6/Screenshot+2023-06-08+at+4.13.55+PM.png)

---

<div class="post-metadata">

**Author:** ![tjasmin](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tjasmin](https://community.thunkable.com/u/tjasmin)\
**Post date:** [November 11, 2024, 10:08am UTC](https://community.thunkable.com/t/image-search-tool/3298439/3 "2024-11-11T10:08:43Z")

</div>

![Näyttökuva 2024-11-11 kello 11.56.46](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/6/8631806cb5b8a97bc6412e90c0470fbee977b1a5.png)

Hi! This is what I have tried for now. I am not quite sure if I have set the blocks right since can’t manage to get end results to show up. I have looked into the API JSON tutorial and other similar projects/topics/tutorials here to study how to correctly build the blocks and connect the API so I think I have a decent understanding but am a bit overwhelmed about the information so any help to get back on track would be great!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 11, 2024, 6:09pm UTC](https://community.thunkable.com/t/image-search-tool/3298439/4 "2024-11-11T18:09:33Z")

</div>

If you’re having a problem with a particular API, here are my suggestions:

1. Provide a link to the documentation for the API. People here are not familiar with every possible API so we need that specific information.
2. See if you can get the request working in a browser or Postman _without Thunkable_ first. This should always be your first step when working with an API. If that works, provide the CURL command or brower url that worked for you. **It’s easier to translate a working API request to Thunkable blocks than it is to try and get it correct first in Thunkable.**
3. See my tutorial at [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575).

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 11, 2024, 10:49pm UTC](https://community.thunkable.com/t/image-search-tool/3298439/5 "2024-11-11T22:49:15Z")

</div>

Hi @tjasmin  
Based on the example URLs in the docs you shared, the header needs to be set to Content-Type: application/x-www-form-urlencoded.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/74e2d2ccbd3227c6779c9ed35d3c26742d590843.png)

Similar posts:  
[[Solved] Can you help me make a POST to Shelly using x-www-form-urlencoded calls? - Questions about Thunkable / Web API’s - Community](https://community.thunkable.com/t/solved-can-you-help-me-make-a-post-to-shelly-using-x-www-form-urlencoded-calls/1890678/9)

[Getting Error while Sending API request in Thunkable - Questions about Thunkable / Web API’s - Community](https://community.thunkable.com/t/getting-error-while-sending-api-request-in-thunkable/2631300)

---

<div class="post-metadata">

**Author:** ![tjasmin](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tjasmin](https://community.thunkable.com/u/tjasmin)\
**Post date:** [November 12, 2024, 2:18pm UTC](https://community.thunkable.com/t/image-search-tool/3298439/7 "2024-11-12T14:18:52Z")

</div>

Hi, Thanks. This is what I have modified for now.

I now get response with an error message as follows “error -1100 the requested URL was not found on this server”. So something of the url formatting is not right.

 ![Näyttökuva 2024-11-12 kello 16.15.17](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/1/e144cc6384c97dd40af89366975b4102cf4aa4a8.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 16, 2024, 1:58am UTC](https://community.thunkable.com/t/image-search-tool/3298439/8 "2024-11-16T01:58:05Z")

</div>

Hello @tjasmin  
The API body needs to be a JSON.  
You can connect the “url” field as text to the API’s URL block

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 14, 2025, 1:58am UTC](https://community.thunkable.com/t/image-search-tool/3298439/9 "2025-02-14T01:58:20Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
