
すべての API キーで Reddit を検索できるようになりました
新しい検索エンドポイントで Reddit 全体か1つのサブレディットから投稿を探し、top、new、hot の並び替えと、直近1時間から1年までの期間で絞り込めます。1回の検索は1クレジットです。

Commerce の15ストアそれぞれに検索と商品のエンドポイントが加わり、ストアの並び替え、価格帯、フィルターをそのまま指定できます。うち12ストアは、完了したリクエスト1件が3クレジットから0.5クレジットになりました。
POST /v1/commerce/{site}/search を15ストアで使えます。Amazon、Walmart、Target、eBay、AliExpress、Google Shopping、Sephora、Ulta、Coupang、Olive Young、Musinsa、楽天、Yahoo!ショッピング、Qoo10、Flipkart です。POST /v1/commerce/{site}/product も同じ15ストアで使えます。検索が返した productId かページの url を渡し、Google Shopping は url を受け付けます。sort、minPrice、maxPrice、page と、Walmart の brand、soldByWalmart、Target の storeId、楽天の freeShipping などのフィルターです。ボディはフラットな JSON です。ストアのフィールドを idempotencyKey、priority、webhook と並べて送り、taskType と payload は使いません。エンドポイントは POST /v1/sync/task と同じく、タスクを最大290秒、または Prefer: wait で指定した時間まで待って応答し、まだ実行中なら Location 付きの 202 を返します。
並び替えの名前は全ストア共通で、relevance(既定値、ストア自身の順)、price_asc、price_desc、rating、reviews、newest、best_selling、discount です。各ストアは結果が実際に変わる値を受け付け、ストアごとのドキュメントに一覧があります。minPrice と maxPrice はストアの通貨の整数単位です。page は後ろの結果ページを読み、rank はそのページ内で1から数えます。Google Shopping と Coupang は query と limit を受け付けます。
ストアの一覧にないフィールドは 400 VALIDATION_ERROR、欠けている値や型、範囲の合わない値は 422 VALIDATION_ERROR で返り、details[].field に送ったフィールド名が入ります。POST /v1/async/task も COMMERCE_SERP の payload で同じオプションを受け付け、レスポンスには受け取ったオプションが同じ名前で入ります。
sort price_asc、minPrice、maxPrice を使い、$20〜$50 のワイヤレスイヤホンの最安商品を毎朝まとめる。rank を page 2 で追跡する。API キーを Authorization ヘッダーに入れてリクエストを送ります。
curl -X POST https://api.querying.ai/v1/commerce/walmart/search \
-H "Authorization: Bearer $QUERYING_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "wireless earbuds", "limit": 3 }'querystring必須sortstringrelevance(既定値、ストア自身の順)、price_asc、price_desc、rating、reviews、newest、best_selling、discount のうち、ストアのドキュメントに載っている値を受け付けます。minPricenumbermaxPricenumberpageintegerrank はそのページ内で1から数えます。既定値は1。limitintegereBay、Sephora、Ulta、Musinsa は60です。既定値は20。webhook.urlstringレスポンスです。長さを抑えて抜粋しています。
{
"success": true,
"task": {
"id": "…",
"taskType": "COMMERCE_SERP",
"status": "COMPLETED",
"createdAt": "…"
},
"credits": { "creditsToCharge": 0.5, "creditsCharged": 0.5 },
"response": {
"site": "walmart",
"query": "wireless earbuds",
"country": "US",
"returnedCount": 3,
"products": [
{
"rank": 1,
"productId": "19988265343",
"title": "Wireless Earbuds, 40Hour Battery Life, IPX6 Water Resistance, Touch Controls, for Cycling, Running and Working Out",
"url": "https://www.walmart.com/ip/Wireless-Earbuds-40-Hour-Battery-Life-IPX6-Water-Resistance-Touch-Controls-for-Cycling-Running-and-Working-Out/19988265343",
"price": 23.28,
"currency": "USD",
"rating": 4.6,
"reviewCount": 60
},
{
"rank": 2,
"productId": "20857668382",
"title": "Bloydek Wireless Earbuds In-Ear Earbuds,Bluetooth 5.4,Strong Noise Cancellation,IPX5 Waterproof,Touch Control,Type-C Fast Charge,Gaming Low Latency",
"url": "https://www.walmart.com/ip/Bloydek-Wireless-Bluetooth-In-Ear-Earbuds-Bluetooth-5-4-Strong-Noise-Cancellation-IPX5-Waterproof-Touch-Control-Type-C-Fast-Charge-Gaming-Low-Latency/20857668382",
"price": 16.99,
"currency": "USD",
"rating": 5,
"reviewCount": 81
},
"…"
]
}
}task.statusstringQUEUED、PROCESSING を経て、回答付きの COMPLETED か error 付きの FAILED で終わります。credits.creditsChargedintegerresponse.returnedCountintegerproducts に入っている商品の数。response.productsarrayrank、productId、title、url と、検索結果ページに表示されていれば price、currency、rating、reviewCount、imageUrl、brand が入ります。完了した検索または商品ページ1件ごとに、ストア別の料金がタスク完了時に差し引かれます。プランとクレジット: https://querying.ai/pricing
eBay、AliExpress、Sephora、Ulta(米国)、Olive Young、Musinsa(韓国)、楽天、Yahoo!ショッピング、Qoo10(日本)、Flipkart(インド)。
新しい検索エンドポイントで Reddit 全体か1つのサブレディットから投稿を探し、top、new、hot の並び替えと、直近1時間から1年までの期間で絞り込めます。1回の検索は1クレジットです。

Commerce Product が eBay、AliExpress、Coupang も読み、これらの商品ページを同じ価格、在庫、ギャラリー、出品者のフィールドで返します。
製品の更新をメールでお届けします。