API Shopify

Shopify Поиск API

Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found.

POST/v1/run/shopify.search
Доступность
100,00%
30d · 1 вызов
Запросы
1
30d
Ответ
1,8s
медиана · 30d

Цены

Цена API Shopify Поиск

Вы платите
8,50 USD
0,85 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (117) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите Shopify Поиск одним запросом

Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.
{
  "data": {
    "items": [
      {
        "currency": "USD",
        "handle": "alex_rivera",
        "image": "https://example.com/image.jpg",
        "images": [
          "https://example.com/image.jpg"
        ],
        "inStock": true,
        "listPrice": 19.99,
        "onSale": true,
        "price": 19.99,
        "priceMax": 19.99,
        "productId": "a1b2c3d4",
        "productType": "general",
        "tags": [
          "example"
        ],
        "title": "Example title",
        "url": "https://example.com/page",
        "vendor": "example"
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-10-25 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

  • querystring

    wool

    Search keywords, e.g. "wool" or "hoodie".

  • storestring

    allbirds.com

    Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

each itemdata.items[]

The store's top matches for the query, in its own order; Shopify's store search returns at most 10. Populated whenever the provider has data for the entity.

  • currencystring

    Price currency code, e.g. "USD", or null when the store does not state it.

  • handlestring

    Product handle, the slug after /products/ in the product URL; pass it to the Shopify Product SKU for the full product. Populated whenever the provider has data for the entity.

  • imagestring

    Main product image URL, or null when the product has no image. Populated whenever the provider has data for the entity.

  • imagesstring[]

    All product image URLs, main image first; empty when the product has none. Populated whenever the provider has data for the entity.

  • inStockboolean

    True when at least one variant can be bought now. Populated whenever the provider has data for the entity.

  • listPricenumber

    Lowest regular (compare-at) price when the product is on sale, or null when it is not discounted.

  • onSaleboolean

    True when at least one variant is priced below its regular price. Populated whenever the provider has data for the entity.

  • pricenumber

    Lowest variant price in the store's currency. Populated whenever the provider has data for the entity.

  • priceMaxnumber

    Highest variant price in the store's currency; equals price when every variant costs the same. Populated whenever the provider has data for the entity.

  • productIdstring

    Shopify product id. Populated whenever the provider has data for the entity.

  • productTypestring

    Product type the store assigns, e.g. "Shoes", or null when it sets none.

  • tagsstring[]

    Tags the store attaches to the product, as the store writes them; empty when it has none. Populated whenever the provider has data for the entity.

  • titlestring

    Product title. Populated whenever the provider has data for the entity.

  • urlstring

    Product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.

  • vendorstring

    Vendor (brand) the store lists the product under, or null when it sets none. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    True when results were found.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Вопросы и ответы

Об API Shopify Поиск

AnyAPI Shopify Поиск API возвращает данные Shopify в виде нормализованного JSON одним вызовом POST к /v1/run/shopify.search. Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found. AnyAPI возвращает одну нормализованную схему, какой бы источник ни ответил. Это стоит от 0,85 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Shopify Поиск через AnyAPI завершились успешно, медианное время ответа 1,8 с, измерено вызовов: 1.

Это стоит от 0,85 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 100,0% вызовов Shopify Поиск через AnyAPI завершились успешно, медианное время ответа 1,8 с, измерено вызовов: 1. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 117 вызовов Shopify Поиск по 0,00085 USD за каждый.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/shopify.search с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.