Skip to main content
AuthorAuthor: Adnan Ali
We’ve built a high-performance Rust module that retrieves results from over 96 billion public data points, including Web, Images, Shopping, Videos, News, and more. 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 the SearchEntity:
SearchEntity
interface SearchEntity {
  query: string;
  maxResults: number;
  countryCode?: string;
  languageCode?: string;
  fields?: SubEntityFields;
}
PropertyDescription
queryThe search query string used to perform the search.
maxResultsThe maximum number of search results to return.
countryCodeThe ISO 3166-1 alpha-2 country code to tailor search results to a specific country.
languageCodeThe ISO 639-1 language code to specify the language of the search results.
fieldsAn array specifying which fields to include in the search results.
The WebSearchEntity extends the SearchEntity to provide specific fields for web search results.

Definition

WebSearchEntity
interface WebSearchEntity extends SearchEntity {
  fields?: Array<
    | "title" 
    | "url" 
    | "description" 
    | "position"
  >;
}
Below are the key definitions related to the WebSearchEntity fields:
PropertyDescription
titleThe title of the web page.
urlThe URL of the web page.
descriptionA brief description of the web page.
positionThe position of the web page in the search results.

Example

Below is an example of a WebSearchEntity request and response:
{
  "query": "Evergreen Media AR GmbH",
  "maxResults": 5
}
The ImageSearchEntity extends the SearchEntity to provide specific fields for image search results.

Definition

ImageSearchEntityFields
interface ImageSearchEntity extends SearchEntity {
  fields?: Array<
    | "title"
    | "source_link"
    | "source_name"
    | "image_link"
    | "image_alt"
    | "position"
  >;
}
Below are the key definitions related to the ImageSearchEntity fields:
PropertyDescription
titleThe title of the search.
source_linkThe URL of the page where the image is found.
source_nameThe name of the source website.
image_linkThe direct URL to the image.
image_altThe alt text of the image.
positionThe position of the image in the search results.

Example

Below is an example of an ImageSearchEntity request and response:
{
  "query": "Evergreen Media AR GmbH",
  "maxResults": 5,
  "countryCode": "at",
  "languageCode": "de"
}
The VideoSearchEntity extends the SearchEntity to provide specific fields for video search results.

Definition

VideoSearchEntity
interface VideoSearchEntity extends SearchEntity {
  fields?: Array<
    | "title"
    | "description"
    | "link"
    | "image"
    | "duration"
    | "duration_seconds"
    | "position"
  >;
}
Below are the key definitions related to the VideoSearchEntity fields:
PropertyDescription
titleThe title of the video.
descriptionA brief description of the video.
linkThe URL link to the video.
imageThe thumbnail image URL of the video.
durationThe duration of the video in a human-readable format (e.g., “5:30”).
duration_secondsThe duration of the video in total seconds (e.g., 330).
positionThe position of the video in the search results.

Example

Below is an example of a VideoSearchEntity request and response:
{
  "query": "Evergreen Media AR GmbH",
  "maxResults": 5,
  "countryCode": "at",
  "languageCode": "de"
}
The ShoppingSearchEntity extends the SearchEntity to provide specific fields for shopping search results.

Definition

ShoppingSearchEntity
interface ShoppingSearchEntity extends SearchEntity {
  fields?: Array<
    | "title"
    | "link"
    | "price"
    | "oldPrice"
    | "shop"
    | "distance"
    | "totalReviews"
    | "position"
  >;
}
Below are the key definitions related to the ShoppingSearchEntity fields:
PropertyDescription
titleThe title of the product.
linkThe URL link to the product page.
priceThe current price of the product.
oldPriceThe old price of the product (if available).
shopThe name of the shop or seller.
distanceThe distance to the shop (if applicable).
totalReviewsThe total number of reviews for the product.
positionThe position of the product in the search results.

Example

Below is an example of a ShoppingSearchEntity request and response:
{
  "query": "iphone 17 kaufen in Innsbruck",
  "countryCode": "at",
  "languageCode": "de",
  "maxResults": 5
}
The NewsSearchEntity extends the SearchEntity to provide specific fields for news search results.

Definition

NewsSearchEntity

interface NewsSearchEntity extends SearchEntity {
  fields?: Array<
    | "title"
    | "description"
    | "link"
    | "date"
    | "image"
    | "position"
  >;
}
Below are the key definitions related to the NewsSearchEntity fields:
PropertyDescription
titleThe title of the news article.
descriptionA brief description of the news article.
linkThe URL link to the news article.
dateThe publication date of the news article.
imageThe thumbnail image URL of the news article.
positionThe position of the news article in the search results.

Example

Below is an example of a NewsSearchEntity request and response:
{
  "query": "Österreich",
  "countryCode": "at",
  "languageCode": "de",
  "maxResults": 10,
  "fields": [
    "title",
    "link",
    "date"
  ]
}

People also search for

The PeopleAlsoSearchForEntity extends the SearchEntity to provide specific fields for related search terms.

Definition

PeopleAlsoSearchForEntity

interface PeopleAlsoSearchForEntity extends SearchEntity {
  fields?: Array<
    | "text"
    | "link"
    | "position"
  >;
}
Below are the key definitions related to the PeopleAlsoSearchForEntity fields:
PropertyDescription
textThe related search term text.
linkThe URL link to the related search results (Google link).
positionThe position of the related search term in the results.

Example

Below is an example of a PeopleAlsoSearchForEntity request and response:
{
  "query": "Evergreen Media",
  "countryCode": "at",
  "languageCode": "de"
}

AI Mode

The AiModeEntity provides fields for AI-powered search results.

Definition

AiModeEntity

interface AiModeEntity {
  query: string;
  screenshots?: boolean;
  countryCode?: string;
  languageCode?: string;
  fields?: {
    citations?: string[];
    sources?: string[];
    paragraphs?: {
      text?: boolean;
      citations?: string[];
    };
  };
}
The table below describes the AiModeEntity fields:
PropertyDefaultDescription
query-The search query string.
screenshotstrueWhether to include screenshots from Tedi Browser in the search results.
countryCodeatThe ISO 3166-1 alpha-2 country code for the search location.
languageCodedeThe ISO 639-1 language code for the search results.
fields-Object to specify which response fields to include (citations, sources, paragraphs).
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.

Example

The following example shows an AiModeEntity request and response:
{
  "query": "What is machine learning?",
  "countryCode": "at",
  "languageCode": "de",
  "screenshots": true,
  "fields": {
    "citations": ["url", "text", "favicon"],
    "sources": ["url", "title", "description", "source", "icon"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "text"]
    }
  }
}
The table below provides a breakdown of the response fields and their mapping to the Google AI Mode interface:
KeyDescription
textThe main AI-generated response text displayed in the Google AI Mode interface. This is the synthesized answer based on multiple sources.
citationsAn array of inline citations embedded within the AI response text.
paragraphsAn array of paragraphs that compose the AI response, each containing its own text and associated citations.
sourcesA list of source websites displayed in the right sidebar of the Google AI Mode interface, including title, description, source domain, and favicon.
screenshotsURLs to debugging screenshots captured during the AI Mode process by Tedi Browser, showing the initial state, the state before submission, and the final rendered response.

Response Explanation

The image below illustrates how the AI Mode response maps to the actual Google AI Mode interface:
AI Mode Response Visualization
The yellow highlighted boxes in the image indicate the different response components returned by the API.
UI ElementAPI FieldDescription
🔴 Main AI Response (red bordered area)textThe AI-generated answer text that appears in the main content area. This contains the synthesized information from multiple sources.
🟡 Inline Citations (yellow boxes within text)citationsReferences embedded within the AI response (e.g., “Evergreen Media +4”, “wko.at +6”). Each citation links to a source URL with the specific text it references.
🔵 Source Panel (right sidebar)sourcesThe list of source websites shown on the right side, including title, description, source domain, and favicon icon.
The citations array provides granular source attribution for specific claims within the AI response, while sources offers a broader overview of all referenced websites with their metadata.

AI Overview

The AiOverviewEntity provides fields for Google AI Overview results (the AI-generated summary shown at the top of Google search results).

Definition

AiOverviewEntity

interface AiOverviewEntity {
  query: string;
  screenshots?: boolean;
  countryCode?: string;
  languageCode?: string;
  fields?: {
    citations?: string[];
    sources?: string[];
    paragraphs?: {
      text?: boolean;
      citations?: string[];
    };
  };
}
The table below describes the AiOverviewEntity fields:
PropertyDefaultDescription
query-The search query string.
screenshotstrueWhether to include screenshots from Tedi Browser in the search results.
countryCodeatThe ISO 3166-1 alpha-2 country code for the search location.
languageCodedeThe ISO 639-1 language code for the search results.
fields-Object to specify which response fields to include (citations, sources, paragraphs).
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.

Response Explanation

The image below illustrates how the AI Overview response maps to the actual Google AI Overview interface:
AI Overview Response Visualization
The highlighted boxes in the image indicate the different response components returned by the API.
UI ElementAPI FieldDescription
🔴 Main AI Overview (red bordered area)textThe AI-generated overview text that appears at the top of search results. This contains the synthesized information from multiple sources.
🟡 Inline Citations (yellow circles within text)citationsReferences embedded within the AI Overview (linked numbers). Each citation includes url, title, source, and favicon.
🔵 Source Panel (right sidebar)sourcesThe list of source websites shown on the right side, including url, title, source domain, and icon.
The citations array provides granular source attribution for specific claims within the AI Overview, while sources offers a broader list of all referenced websites with their metadata.

Example

The following example shows an AiOverviewEntity request and response:
{
  "query": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "screenshots": true,
  "fields": {
    "sources": ["url", "title", "source", "icon"],
    "citations": ["url", "title", "source", "favicon"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title"]
    }
  }
}
The table below provides a breakdown of the response fields and their mapping to the Google AI Overview interface:
KeyDescription
textThe main AI-generated overview text displayed at the top of Google search results. This is the synthesized answer based on multiple sources.
citationsAn array of inline citations embedded within the AI Overview text.
paragraphsAn array of paragraphs that compose the AI Overview, each containing its own text and associated citations.
relatedLinksA list of related source links displayed in the right sidebar of the Google AI Overview, including title, description, source domain, and favicon.
screenshotsURLs to debugging screenshots captured during the AI Overview process by Tedi Browser, showing the initial state, the state before submission, and the final rendered response.
The ChatgptSearchEntity provides fields for ChatGPT-powered search results.

Definition

ChatgptSearchEntity
interface ChatgptSearchEntity {
  query: string;
  webSearch?: boolean;
  screenshots?: boolean;
  countryCode?: string;
  languageCode?: string;
  fields?: {
    citations?: string[];
    paragraphs?: {
      text?: boolean;
      citations?: string[];
    };
  };
}
The table below describes the ChatgptSearchEntity fields:
PropertyDefaultDescription
query-The search query string.
webSearchtrueWhether to perform a web search (enables the ChatGPT search toggle) to retrieve real-time information.
screenshotstrueWhether to include screenshots from Tedi Browser in the search results.
countryCodeatThe ISO 3166-1 alpha-2 country code for the search location.
languageCodedeThe ISO 639-1 language code for the search results.
fields-Object to specify which response fields to include (citations, paragraphs).
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.
ChatGPT Search Response Visualization
  • 🔴 Main ChatGPT Response (red bordered area): The AI-generated answer text displayed in the main content area, synthesized from real-time web search results.
  • 🔘 Inline Citations (gray boxes within text): References embedded within the ChatGPT response, linking to source URLs with specific text.
  • 🟡 Web Search Toggle (yellow): When webSearch is enabled, ChatGPT performs a real-time search to retrieve up-to-date information.

Example

The following example shows a ChatgptSearchEntity request and response:
{
  "query": "What are the best CRM tools?",
  "webSearch": true,
  "screenshots": true,
  "countryCode": "us",
  "languageCode": "en",
  "fields": {
    "citations": ["url", "text", "favicon"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "text"]
    }
  }
}
The table below provides a breakdown of the response fields and their mapping to the ChatGPT interface:
KeyDescription
textThe main ChatGPT-generated response text displayed in the ChatGPT interface. This is the synthesized answer based on real-time web search results.
citationsAn array of inline citations embedded within the ChatGPT response text (e.g., “AdProfit +1”, “Aufgesang +1”). Each citation links to a source URL with the specific referenced text.
paragraphsAn array of paragraphs that compose the ChatGPT response, each containing its own text and associated citations.
screenshotsURLs to debugging screenshots captured during the ChatGPT Search process by Tedi Browser, showing the initial state, the state before submission, and the final rendered response.

Perplexity

The PerplexityEntity provides fields for Perplexity-powered search results.

Definition

PerplexityEntity

interface PerplexityEntity {
  query: string;
  screenshots?: boolean;
  fields?: {
    citations?: string[];
    sources?: string[];
    paragraphs?: {
      text?: boolean;
      citations?: string[];
    };
  };
}
The table below describes the PerplexityEntity fields:
PropertyDefaultDescription
query-The search query string.
screenshotstrueWhether to include screenshots from Tedi Browser in the search results.
fields-Object to specify which response fields to include (citations, sources, paragraphs).
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.
Perplexity Response Visualization
  • 🔴 Main Perplexity Response (red bordered area): The AI-generated answer text displayed in the main content area, synthesized from real-time web search results.
  • 🟡 Inline Citations (yellow boxes within text): References embedded within the Perplexity response (e.g., “forbes +1”, “techradar”), linking to source URLs.
  • 🔵 Sources (bottom panel): The list of source websites used to generate the response.

Example

The following example shows a PerplexityEntity request and response:
{
  "query": "How to integrate GEO/LLMO into B2B marketing?",
  "screenshots": true,
  "fields": {
    "citations": ["url", "text", "favicon"],
    "sources": ["url", "title", "description", "domain", "favicon"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "text"]
    }
  }
}
The table below provides a breakdown of the response fields and their mapping to the Perplexity interface:
KeyDescription
textThe main Perplexity-generated response text displayed in the interface. This is the synthesized answer based on real-time web search results.
citationsAn array of inline citations embedded within the Perplexity response text. Can be empty if Perplexity does not include inline citations.
paragraphsAn array of paragraphs that compose the Perplexity response, each containing its own text and associated citations.
sourcesAn array of source websites used to generate the response, including URL, title, description, domain, and favicon.
screenshotsURLs to debugging screenshots captured during the Perplexity process by Tedi Browser, showing the initial state, the state before submission, and the final rendered response.
The GeminiSearchEntity provides fields for Google Gemini-powered search results.

Definition

GeminiSearchEntity

interface GeminiSearchEntity {
  query: string;
  screenshots?: boolean;
  countryCode?: string;
  languageCode?: string;
  fields?: {
    citations?: string[];
    paragraphs?: {
      text?: boolean;
      citations?: string[];
    };
  };
}
The table below describes the GeminiSearchEntity fields:
PropertyDefaultDescription
query-The search query string.
screenshotstrueWhether to include screenshots from Tedi Browser in the search results.
countryCodeusThe ISO 3166-1 alpha-2 country code for the search location.
languageCodeenThe ISO 639-1 language code for the search results.
fields-Object to specify which response fields to include (citations, paragraphs).
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.
Gemini Search Response Visualization
  • 🔴 Main Gemini Response (red bordered area): The AI-generated answer text displayed in the main content area, synthesized by Google Gemini.
  • 🟡 Inline Citations (yellow circles within text): References embedded within the Gemini response, linking to source URLs.
  • 🔵 Sources Button (bottom panel): The expandable sources list with all referenced websites.

Example

The following example shows a GeminiSearchEntity request and response:
{
  "query": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "screenshots": true,
  "fields": {
    "citations": ["url", "title", "source", "favicon", "description"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title", "source", "favicon", "description"]
    }
  }
}
The table below provides a breakdown of the response fields and their mapping to the Gemini interface:
KeyDescription
modelThe model name used to generate the response (e.g., “Gemini”).
textThe main Gemini-generated response text displayed in the interface. This is the AI-synthesized answer.
citationsAn array of citations used in the Gemini response, including URL, title, source, favicon, and description.
paragraphsAn array of paragraphs that compose the Gemini response, each containing its own text and associated citations.
screenshotsURLs to debugging screenshots captured during the Gemini Search process by Tedi Browser, showing the initial state, the state before submission, and the final rendered response.

Conclusion

The SearchEntity 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!