Tedi is now more powerful than any AI agent or chat system when it comes to accessing real-time public data.
Definition
Below are the key definitions related to theSearchEntity:
SearchEntity
| Property | Description |
|---|---|
| query | The search query string used to perform the search. |
| maxResults | The maximum number of search results to return. |
| countryCode | The ISO 3166-1 alpha-2 country code to tailor search results to a specific country. |
| languageCode | The ISO 639-1 language code to specify the language of the search results. |
| fields | An array specifying which fields to include in the search results. |
Web Search
TheWebSearchEntity extends the SearchEntity to provide specific fields for web search results.
Definition
WebSearchEntity
WebSearchEntity fields:
| Property | Description |
|---|---|
title | The title of the web page. |
url | The URL of the web page. |
description | A brief description of the web page. |
position | The position of the web page in the search results. |
Example
Below is an example of aWebSearchEntity request and response:
Image Search
TheImageSearchEntity extends the SearchEntity to provide specific fields for image search results.
Definition
ImageSearchEntityFields
ImageSearchEntity fields:
| Property | Description |
|---|---|
title | The title of the search. |
source_link | The URL of the page where the image is found. |
source_name | The name of the source website. |
image_link | The direct URL to the image. |
image_alt | The alt text of the image. |
position | The position of the image in the search results. |
Example
Below is an example of anImageSearchEntity request and response:
Video Search
TheVideoSearchEntity extends the SearchEntity to provide specific fields for video search results.
Definition
VideoSearchEntity
VideoSearchEntity fields:
| Property | Description |
|---|---|
title | The title of the video. |
description | A brief description of the video. |
link | The URL link to the video. |
image | The thumbnail image URL of the video. |
duration | The duration of the video in a human-readable format (e.g., “5:30”). |
duration_seconds | The duration of the video in total seconds (e.g., 330). |
position | The position of the video in the search results. |
Example
Below is an example of aVideoSearchEntity request and response:
Shopping Search
TheShoppingSearchEntity extends the SearchEntity to provide specific fields for shopping search results.
Definition
ShoppingSearchEntity
ShoppingSearchEntity fields:
| Property | Description |
|---|---|
title | The title of the product. |
link | The URL link to the product page. |
price | The current price of the product. |
oldPrice | The old price of the product (if available). |
shop | The name of the shop or seller. |
distance | The distance to the shop (if applicable). |
totalReviews | The total number of reviews for the product. |
position | The position of the product in the search results. |
Example
Below is an example of aShoppingSearchEntity request and response:
News Search
TheNewsSearchEntity extends the SearchEntity to provide specific fields for news search results.
Definition
NewsSearchEntity
NewsSearchEntity fields:
| Property | Description |
|---|---|
title | The title of the news article. |
description | A brief description of the news article. |
link | The URL link to the news article. |
date | The publication date of the news article. |
image | The thumbnail image URL of the news article. |
position | The position of the news article in the search results. |
Example
Below is an example of aNewsSearchEntity request and response:
People also search for
ThePeopleAlsoSearchForEntity extends the SearchEntity to provide specific fields for related search terms.
Definition
PeopleAlsoSearchForEntity
PeopleAlsoSearchForEntity fields:
| Property | Description |
|---|---|
text | The related search term text. |
link | The URL link to the related search results (Google link). |
position | The position of the related search term in the results. |
Example
Below is an example of aPeopleAlsoSearchForEntity request and response:
Conclusion
TheSearchEntity module represents a significant advancement in automated search capabilities, allowing users to access a vast array of public data points quickly and efficiently. With its ability to bypass anti-bot protections and deliver structured data across various search types, it sets a new standard for real-time information retrieval. As we continue to expand its capabilities to include social media and e-commerce platforms, the potential applications for businesses and developers are immense. Stay tuned for more updates as we push the boundaries of what’s possible with Tedi and our SearchEntity module!
