Shop API icon

Shop API

Call Shop API

Agents → Search

AI-generated

Summary

Searches Shop API agents using an optional JSON filter. Returns each matching agent as an n8n item, with optional pagination across all result pages.

Inputs

  • Request filter — Optional JSON object sent in the POST body to /v1/agents/search. Invalid JSON or a JSON value that is not an object is ignored.
  • Get All Pages — When enabled, requests pages of up to 100 results and continues according to the response’s hasMorePages or totalPages fields. Defaults to false.
  • Limit — Maximum page size when Get All Pages is off. Defaults to 20; values at or below 0 use 20.
  • Max Pages — When Get All Pages is on, caps the number of pages fetched. No cap is applied unless this value is greater than 0.

Output shape

A list of n8n items, one per returned agent.

Each item’s JSON is an agent object. The response may be an array, an object with an items array, or a single object; a single object is returned as one item. With Get All Pages enabled, results from fetched pages are combined.

Links

Discussion