For Agents
Programmatically get product search of who saw also saw (deprecated), get product search of who saw also bought (deprecated). Covers 15 operations with apiKey authentication.
Use for: I need to product search of who saw also saw (deprecated), I want to product search of who saw also bought (deprecated), Search for product search of who bought also bought (deprecated), Find all product search of show together
Not supported: Does not handle payments, communications, or crm - use for e-commerce only.
> Check the new [Search onboarding guide](https://developers.vtex.com/docs/guides/search-overview). We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Search and is organized by focusing on the developer's journey. This API lets you search and sort products in the Catalog using Fulltext, Category and Brand. The API exposes 15 endpoints secured with apiKey authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Legacy Search API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fvtex.local%2Flegacy-search-api" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fvtex.local%2Flegacy-search-api" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Legacy Search API.
Get product search of who saw also saw (deprecated)
Manage e commerce data programmatically
Integrate Legacy Search API into automated workflows
Query and filter Legacy Search API records by parameters
Monitor Legacy Search API operational status and events
GET STARTED
Patterns agents use Legacy Search API for, with concrete tasks.
★ E-Commerce Operations
Use the Legacy Search API to perform e commerce operations programmatically. The API provides 15 endpoints covering core functionality including get product search of who saw also saw (deprecated), get product search of who saw also bought (deprecated), get product search of who bought also bought (deprecated).
Call GET /api/catalog_system/pub/products/crossselling/whosawalsosaw/{productId} to get product search of who saw also saw (deprecated)
Automated CrossSelling Management
Automate crossselling operations by combining multiple Legacy Search API endpoints. Agents can get product search of who saw also bought (deprecated) and then get product search of who bought also bought (deprecated) in a single workflow.
Call GET /api/catalog_system/pub/products/crossselling/whosawalsobought/{productId} to get product search of who saw also bought (deprecated), then verify the result
AI Agent Integration via Jentic
AI agents discover and call Legacy Search API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.
Search Jentic for 'get product search of who saw also saw (deprecated)', load the operation schema, and execute with Jentic-managed credentials
15 endpoints — > check the new [search onboarding guide](https://developers.
METHOD
PATH
DESCRIPTION
/api/catalog_system/pub/products/crossselling/whosawalsosaw/{productId}
Get product search of who saw also saw (deprecated)
/api/catalog_system/pub/products/crossselling/whosawalsobought/{productId}
Get product search of who saw also bought (deprecated)
/api/catalog_system/pub/products/crossselling/whoboughtalsobought/{productId}
Get product search of who bought also bought (deprecated)
/api/catalog_system/pub/products/crossselling/showtogether/{productId}
Get product search of show together
/api/catalog_system/pub/products/crossselling/accessories/{productId}
Get product search of accessories
/api/catalog_system/pub/products/crossselling/similars/{productId}
Get product search of similars
/api/catalog_system/pub/products/crossselling/suggestions/{productId}
Get product search of suggestions
/api/catalog_system/pub/products/search/{search}
Search for products
/api/catalog_system/pub/products/crossselling/whosawalsosaw/{productId}
Get product search of who saw also saw (deprecated)
/api/catalog_system/pub/products/crossselling/whosawalsobought/{productId}
Get product search of who saw also bought (deprecated)
/api/catalog_system/pub/products/crossselling/whoboughtalsobought/{productId}
Get product search of who bought also bought (deprecated)
/api/catalog_system/pub/products/crossselling/showtogether/{productId}
Get product search of show together
/api/catalog_system/pub/products/crossselling/accessories/{productId}
Get product search of accessories
/api/catalog_system/pub/products/crossselling/similars/{productId}
Get product search of similars
/api/catalog_system/pub/products/crossselling/suggestions/{productId}
Get product search of suggestions
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the VTEX Legacy Search API by hand means pairing an App Key with an App Token in the X-VTEX-API-AppKey and X-VTEX-API-AppToken headers, and templating the {accountName} and {environment} host into every call. Through Jentic you install once, import the Legacy Search API from the API Directory, store the App Key and App Token once, and your agent calls it.
Permission scoping
The Legacy Search API puts the product id in the URL path (/api/catalog_system/pub/products/crossselling/similars/{productId}), so a rule can pin your agent to cross-selling lookups for one product. Every operation here reads catalog data, so you can limit the agent to search and cross-sell reads and nothing more.
Credential isolation
Your VTEX App Key and App Token are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'find products bought together with a product' or 'search the catalog by term', and Jentic returns the matching Legacy Search API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Stripe
Alternative e commerce API
Choose Stripe when you need a different approach to e commerce operations
Specific to using Legacy Search API through Jentic.
What authentication does the Legacy Search API use?
The Legacy Search API uses an API key passed in the `X-VTEX-API-AppKey` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I get product search of who saw also saw (deprecated) with the Legacy Search API?
Yes. Use the GET /api/catalog_system/pub/products/crossselling/whosawalsosaw/{productId} endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Legacy Search API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I get product search of who saw also saw (deprecated) through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get product search of who saw also saw (deprecated)'. Jentic returns the matching Legacy Search API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the Legacy Search API have?
The Legacy Search API exposes 15 endpoints covering crossselling, search, offers operations.
Can I limit what my agent is allowed to do with the Legacy Search API?
Yes. Because you run Jentic One yourself, your own rules decide which Legacy Search API operations and credentials the agent may use. Every operation here reads catalog data, so you can restrict the agent to search and cross-sell reads such as GET /api/catalog_system/pub/products/crossselling/similars/{productId} and nothing more. Since the product id sits in the URL path, a rule can even pin the agent to cross-selling lookups for a single product.
/api/catalog_system/pub/products/search/{search}
Search for products